Lag

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Lag is a failure of an application to respond in a timely fashion to inputs.[1][2]

In reference to video games, lag is the delay (or latency) between an action by a player and the reaction of the game.[3]

In distributed applications (such as MMORPGs), lag is often caused by communication latency, which is the time taken for a sent packet of data to be received at the other end. It includes the time to encode the packet for transmission and transmit it, the time for that data to traverse the network equipment between the nodes, and the time to receive and decode the data. This is also known as "one-way latency". A minimum bound on latency is determined by the distance between communicating devices and the speed at which the signal propagates in the circuits (typically 70–95% of the speed of light in vacuum). Actual latency is often much higher because of packet processing in networking equipment, and other traffic.

The term lag is often also used as a synonym for communication latency.[4] This can be misleading because there can be other causes for the symptom.

Lag in local video gaming[edit]

All video games incur some lag, since once an input from the player is received, the game must compute the next frame of video and that video frame must be scanned out to a display device. But in general parlance, video game lag refers to delays that are noticeable to a player. The tolerance for lag depends heavily on the type of game. For instance, a strategy game or a turn-based game with a low pace may have a high threshold or even be mostly unaffected by high delays, whereas a twitch gameplay game such as a first-person shooter with a considerably higher pace may require significantly lower delay to be able to provide satisfying gameplay. But, the specific characteristic of the game matter. For example, fast chess is a turn-based game that is fast action and may not tolerate high lag. And, some twitch games can be designed such that only events that impact the outcome of the game introduce lag, allowing for fast local response most of the time.

Lag in online multiplayer gaming[edit]

All online video games, especially fast paced worldwide games such as Counter-Strike, incur online lag due to a combination of local and remote processing lag and communications latency, and user tolerance for lag depends highly upon the type of game, similarly as it does for local gaming.[5] In general parlance, the round-trip network latency between a client game and the host server is referred to as the client's ping time.[3]

Reducing lag in online gaming[edit]

Lag can simply occur due to the distance between the game server and the player. Low quality or high congested connection can lead to a higher ping. However there are some factors that we can change easily to reduce the ping. Those information can be found in the game forums and web sites all around internet. Simple cases like heating can result in high ping.[6] Above reference talk about few main ways to reduce lag as listed below Disable all automatic updates Stop applications that need continues internet connection Exit your browser, even you don’t browse that can eat up you bandwidth Use the “Resource monitor” to identify the processes that use the network.

Lag in cloud gaming[edit]

Cloud gaming is a type of online gaming where the entire game is hosted on a game server in a data center, and the user is only running a thin client locally that forwards game controller actions upstream to the game server. The game server then renders the next frame of the game video which is compressed using low-lag video compression and is sent downstream and decompressed by the thin client. For the cloud gaming experience to be acceptable, the round-trip lag of all elements of the cloud gaming system (the thin client, the Internet and/or LAN connection to the game server, the game execution on the game server, the video and audio compression and decompression, and the display of the video on a display device) must be low enough that the user perception is that the game is running locally.[7][8] Because of such tight lag requirements, distance considerations of the speed of light through optical fiber come into play, currently limiting the distance between a user and a cloud gaming game server to approximately 1000 miles, according to OnLive.[9]

Cloud gaming is a very new technology, but early tests have shown that in practice, cloud gaming lag is only slightly higher than local console lag. For example, Unreal Tournament 3 incurs up to 133ms of lag on a console[10] and was tested in July 2010 as incurring between 150ms and 200ms+ in lag on OnLive,[11] resulting in the assessment in July 2010 that "Out of controlled conditions, OnLive has managed to get within spitting distance of console response times".[11] In September 2010, reviewers reported a steady reduction in lag due to constant improvements in the technology, to the point where "the actions on screen were one-to-one with my input controls. In fact, I forgot that it wasn't running natively on my PC."[12]

See also[edit]

References[edit]

  1. ^ "lag" at wiktionary
  2. ^ Mitigating the Effects of Time Lags on Driving Performance (robotics)
  3. ^ a b "Noob Glossary: Ping, Lag and Servers". Bright Hub!. 2009-12-13. Retrieved 2010-08-27. 
  4. ^ What is Lag? at gamedev.net
  5. ^ "Latency Can Kill: Precision and Deadline in Online Games". ACM. 2010-02-23. Retrieved 2010-08-27. [dead link]
  6. ^ "Reduce your ping, Tips for windows users.". 2013-11-23. Retrieved 2014-01-12. 
  7. ^ "D8 Video:OnLive demoed on iPad, PC, Mac, Console, iPhone". Wall Street Journal. 2010-08-09. Retrieved 2010-08-19. 
  8. ^ "The Process of Invention: OnLive Video Game Service". The FU Foundation School of Engineering & Applied Science (Columbia University). Retrieved 2010-01-23. 
  9. ^ "Beta Testing at the Speed of Light". OnLive. 2010-01-21. Retrieved 2010-01-23. 
  10. ^ "Console Gaming: The Lag Factor". Eurogamer Digital Foundry. 2009-09-05. Retrieved 2010-08-27. 
  11. ^ a b "Digital Foundry vs. OnLive". Eurogamer Digital Foundry. 2010-07-09. Retrieved 2010-08-27. 
  12. ^ "OnLive Does What Consoles Can’t: The promise of constant performance upgrades may pull it ahead of today’s consoles.". Gamezone. 2010-09-06. Retrieved 2010-08-27. 

External links[edit]