Overclock.net › Forums › Software, Programming and Coding › Networking & Security › What exactly is lag ?
New Posts  All Forums:Forum Nav:

What exactly is lag ?

post #1 of 13
Thread Starter 
I've heard a lot of complaints about lag here and there but hell , people will offer advice such as your upload or download is insufficient but however , what exactly is the exact definition of "lag" in networking ? why does it happen ? is there anyway to prevent it ? will a person lagging cause other people in a game to lag as well ( very important please ! ) ?

AFAIK the reasons for lag are :

Terribly noob or stock configuration of the network

Terrible upload ( usually its not the download ( I mean you don't have like 100mB/s of data being streamed in all the time right ? ) ) I'd so trade download for upload

Firewall

But if you didn't read all that...I'm basically wondering how lag occurs ( as in the process and not the reasons )
    
CPUMotherboardGraphicsRAM
E6550 @ 3.52 ghz Asus Blitz Formula 2128 FSB QDR XV-7900GSS 695/1840 KVR 2X1GB 1100 MHz 5-4-5-5 2.1V 
Hard DriveOptical DriveOSMonitor
ST3250 8MB and WD5000AAKS X4 16MB LG DVD-RW 18X18 Windows XP modded Dell FP1905 Ultrasharp 
KeyboardPowerCaseMouse
Logitech G15 Antec Truepower II 550W SLi Coolermaster Stacker 832 Mod Black Logitech MX 518 @1600 DPI 
Mouse Pad
Razer eXactmat 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E6550 @ 3.52 ghz Asus Blitz Formula 2128 FSB QDR XV-7900GSS 695/1840 KVR 2X1GB 1100 MHz 5-4-5-5 2.1V 
Hard DriveOptical DriveOSMonitor
ST3250 8MB and WD5000AAKS X4 16MB LG DVD-RW 18X18 Windows XP modded Dell FP1905 Ultrasharp 
KeyboardPowerCaseMouse
Logitech G15 Antec Truepower II 550W SLi Coolermaster Stacker 832 Mod Black Logitech MX 518 @1600 DPI 
Mouse Pad
Razer eXactmat 
  hide details  
Reply
post #2 of 13
From wiki:
Quote:
In computing and especially computer networks, a lag is a symptom where result of an action appears later than expected. While different kinds of latency are well defined technical terms, lag is the symptom, not the cause.

Communications latency is the time taken for a packet of data to be sent from one application, travel to, and be received by another application. This includes transit time over the network, and processing time at the source and the destination computers. Specifically, this is the time for encoding the packet for transmission and transmitting it, the time for that serial data to traverse the network equipment between the nodes, and the time to get the data off the circuit. 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). Actual latency is much higher, due to packet processing in networking equipment, and other traffic.

While strictly every packet experiences lag, the term lag is used to refer to delays noticeable to the user. Latency is directly related to the physical distance that data travels. Thus the time taken for a packet to travel from a computer server in Europe to a client in the same region is likely to be shorter than a the time to travel from Europe to the Americas or Asia. But protocols and well written code that avoid unnecessary data transmissions are less affected by the latency inherent in a network. Modern corporate networks have devices to cache frequently requested data and accelerate protocols, thus reducing application response time, the cumulative effect of latency.
For example, if you are playing a game online, you won't lag if someone else is lagging. You are causing the lagg yourself. You get lag(high ping) when your downlaods is on. If you uplaod too much. Stop all downlaods while playing. It could also be that you have a slow internet. then there is nothing to do about it.
Asus Laptop
(10 items)
 
  
CPUGraphicsRAMHard Drive
I7 - 2670QM 2.4 - 3.2 Ghz GeForce GT 630M 8 GB @ 1333 Mhz OCZ Vertex 3 SSD 230 GB 
Hard DriveOSMonitorKeyboard
750 GB second drive @ 7200 RPM Windows 7 Ultimate Asus Full HD 1920x1080 Asus Chicklet Backlight 
Audio
Bang & Olufsen ICEpower 
  hide details  
Reply
Asus Laptop
(10 items)
 
  
CPUGraphicsRAMHard Drive
I7 - 2670QM 2.4 - 3.2 Ghz GeForce GT 630M 8 GB @ 1333 Mhz OCZ Vertex 3 SSD 230 GB 
Hard DriveOSMonitorKeyboard
750 GB second drive @ 7200 RPM Windows 7 Ultimate Asus Full HD 1920x1080 Asus Chicklet Backlight 
Audio
Bang & Olufsen ICEpower 
  hide details  
Reply
post #3 of 13
Latency is the time it takes for the packet of data to get from your PC to the server(Or vise versa)

Lag is when the latency is noticeable.

Say, for example when your typing, the letters you hit appear on the screen near instantly, we could say that it has a 1ms latency.

But, if the letters appear 3 seconds after you hit the keyboard, that would be 3 seconds of lag.

Latency/Lag is mainly effected by your internet bandwidth. (link)

Quote:
We observe empirically that the lower speed an ADSL service happens to be, the higher the time recorded for a 'ping' test (or other measures of round trip latency) on the service.
And then there is also the physical distance between you, and the thing you are connecting to. (link - Fact no3, although all apply to why latency can be bad fact 3 is important)
A Bridge too far
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500k 4.9ghz @ 1.34v Asus P8Z68-V Pro Asus GTX 480 8gb G.Skill 8-8-8-24-2t @ 1600mhz 
Hard DriveOSMonitorPower
Crucial M4 256GB W7 64 Dell U2711 CM Silent Pro 700w 
CaseMouse
CM Storm Logitech MX1100 
  hide details  
Reply
A Bridge too far
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500k 4.9ghz @ 1.34v Asus P8Z68-V Pro Asus GTX 480 8gb G.Skill 8-8-8-24-2t @ 1600mhz 
Hard DriveOSMonitorPower
Crucial M4 256GB W7 64 Dell U2711 CM Silent Pro 700w 
CaseMouse
CM Storm Logitech MX1100 
  hide details  
Reply
post #4 of 13
Quote:
Originally Posted by Kai- View Post
Latency is the time it takes for the packet of data to get from your PC to the server(Or vise versa)

Lag is when the latency is noticeable.

Say, for example when your typing, the letters you hit appear on the screen near instantly, we could say that it has a 1ms latency.

But, if the letters appear 3 seconds after you hit the keyboard, that would be 3 seconds of lag.

Latency/Lag is mainly effected by your internet bandwidth. (link)



And then there is also the physical distance between you, and the thing you are connecting to. (link - Fact no3, although all apply to why latency can be bad fact 3 is important)
Thats pretty much it nice summary
Gaming Comp
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7 6700K MSI Z170A-Gaming M7 Motherboard  MSI GeForce GTX 980 Ti Gaming 6GB  16GB G.Skill Ripjaws V 3200 (2 x 8GB) 
Hard DriveOptical DriveCoolingOS
750GB +1TB + 2TB Samsung 850 EVO Series M.2 500GB SSD  Corsair Hydro Series H110i GT 280mm Liquid CPU ... Win 10 Pro 64bit 
MonitorKeyboardPowerCase
Dell U2410 24" Logitech G19 Seasonic XP-1050 Platinum 1050W Power Supply  Corsair Obsidian 750D Airflow Edition Case with... 
MouseMouse Pad
Razer Deathadder Razer Mantis aka Massive Pad 
  hide details  
Reply
Gaming Comp
(14 items)
 
  
CPUMotherboardGraphicsRAM
i7 6700K MSI Z170A-Gaming M7 Motherboard  MSI GeForce GTX 980 Ti Gaming 6GB  16GB G.Skill Ripjaws V 3200 (2 x 8GB) 
Hard DriveOptical DriveCoolingOS
750GB +1TB + 2TB Samsung 850 EVO Series M.2 500GB SSD  Corsair Hydro Series H110i GT 280mm Liquid CPU ... Win 10 Pro 64bit 
MonitorKeyboardPowerCase
Dell U2410 24" Logitech G19 Seasonic XP-1050 Platinum 1050W Power Supply  Corsair Obsidian 750D Airflow Edition Case with... 
MouseMouse Pad
Razer Deathadder Razer Mantis aka Massive Pad 
  hide details  
Reply
post #5 of 13
Thread Starter 
does that read also apply for cable ?
    
CPUMotherboardGraphicsRAM
E6550 @ 3.52 ghz Asus Blitz Formula 2128 FSB QDR XV-7900GSS 695/1840 KVR 2X1GB 1100 MHz 5-4-5-5 2.1V 
Hard DriveOptical DriveOSMonitor
ST3250 8MB and WD5000AAKS X4 16MB LG DVD-RW 18X18 Windows XP modded Dell FP1905 Ultrasharp 
KeyboardPowerCaseMouse
Logitech G15 Antec Truepower II 550W SLi Coolermaster Stacker 832 Mod Black Logitech MX 518 @1600 DPI 
Mouse Pad
Razer eXactmat 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E6550 @ 3.52 ghz Asus Blitz Formula 2128 FSB QDR XV-7900GSS 695/1840 KVR 2X1GB 1100 MHz 5-4-5-5 2.1V 
Hard DriveOptical DriveOSMonitor
ST3250 8MB and WD5000AAKS X4 16MB LG DVD-RW 18X18 Windows XP modded Dell FP1905 Ultrasharp 
KeyboardPowerCaseMouse
Logitech G15 Antec Truepower II 550W SLi Coolermaster Stacker 832 Mod Black Logitech MX 518 @1600 DPI 
Mouse Pad
Razer eXactmat 
  hide details  
Reply
post #6 of 13
yes. it applies for most internet connections
    
CPUMotherboardGraphicsRAM
E6400 @ 3.6 GHz (450X8) GA P965 S3 7600GT 2GB OCZ Gold @ DDR 2 900 5-5-5-15 
Hard DriveOptical DriveMonitorPower
320GB Maxtor SATA2, 160 for XP, 160 for Slackware DVD+-RW EIDE 21" CRT by Sun Microsystems 680W Echostar 22A on 12V rail 
CaseMouse
Rosewill Black small Mid-T G5 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E6400 @ 3.6 GHz (450X8) GA P965 S3 7600GT 2GB OCZ Gold @ DDR 2 900 5-5-5-15 
Hard DriveOptical DriveMonitorPower
320GB Maxtor SATA2, 160 for XP, 160 for Slackware DVD+-RW EIDE 21" CRT by Sun Microsystems 680W Echostar 22A on 12V rail 
CaseMouse
Rosewill Black small Mid-T G5 
  hide details  
Reply
post #7 of 13
Thread Starter 
then its time to get the 100mb/s line !
    
CPUMotherboardGraphicsRAM
E6550 @ 3.52 ghz Asus Blitz Formula 2128 FSB QDR XV-7900GSS 695/1840 KVR 2X1GB 1100 MHz 5-4-5-5 2.1V 
Hard DriveOptical DriveOSMonitor
ST3250 8MB and WD5000AAKS X4 16MB LG DVD-RW 18X18 Windows XP modded Dell FP1905 Ultrasharp 
KeyboardPowerCaseMouse
Logitech G15 Antec Truepower II 550W SLi Coolermaster Stacker 832 Mod Black Logitech MX 518 @1600 DPI 
Mouse Pad
Razer eXactmat 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E6550 @ 3.52 ghz Asus Blitz Formula 2128 FSB QDR XV-7900GSS 695/1840 KVR 2X1GB 1100 MHz 5-4-5-5 2.1V 
Hard DriveOptical DriveOSMonitor
ST3250 8MB and WD5000AAKS X4 16MB LG DVD-RW 18X18 Windows XP modded Dell FP1905 Ultrasharp 
KeyboardPowerCaseMouse
Logitech G15 Antec Truepower II 550W SLi Coolermaster Stacker 832 Mod Black Logitech MX 518 @1600 DPI 
Mouse Pad
Razer eXactmat 
  hide details  
Reply
post #8 of 13
you can get up to 1 gigabyte a second if you have the right lan card nad good internet service
    
CPUMotherboardGraphicsRAM
Q6600 @ 3Ghz GA-P35-DS3L Rev. 2.0 Powercooler 4870 8Gb GSkill 
Hard DriveOptical DriveOSMonitor
500Gb WD+640Gb WD Lite-on 20x Vista Home Premium 64x 1920x1200 24" +1400x1050 20" 
PowerCase
650 watt OP650 CM Stacker 830 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q6600 @ 3Ghz GA-P35-DS3L Rev. 2.0 Powercooler 4870 8Gb GSkill 
Hard DriveOptical DriveOSMonitor
500Gb WD+640Gb WD Lite-on 20x Vista Home Premium 64x 1920x1200 24" +1400x1050 20" 
PowerCase
650 watt OP650 CM Stacker 830 
  hide details  
Reply
post #9 of 13
The internet at my work is 100mb/s..... sooo fast omg.
My Rigasaurus-reX
(13 items)
 
  
CPUMotherboardGraphicsRAM
Toledo 3800 X2 E6 (CCBWE) DFI nF4 LanParty Ultra-D XFX 6800GS 500/1200 2x512MB OCZ Enhanced Latency 
Hard DriveOptical DriveOSMonitor
250GB WD-Caviar 16M 3GB/s NEC ND-3550A Windows XP Pro SP2 17in. ŁĊĐ 
KeyboardPowerCaseMouse
Logitech G11 Åntec TRUEPOWERII 550W ThermalTake Tsunami Logitech G7 Wireless 
Mouse Pad
SteelPad S&S 
  hide details  
Reply
My Rigasaurus-reX
(13 items)
 
  
CPUMotherboardGraphicsRAM
Toledo 3800 X2 E6 (CCBWE) DFI nF4 LanParty Ultra-D XFX 6800GS 500/1200 2x512MB OCZ Enhanced Latency 
Hard DriveOptical DriveOSMonitor
250GB WD-Caviar 16M 3GB/s NEC ND-3550A Windows XP Pro SP2 17in. ŁĊĐ 
KeyboardPowerCaseMouse
Logitech G11 Åntec TRUEPOWERII 550W ThermalTake Tsunami Logitech G7 Wireless 
Mouse Pad
SteelPad S&S 
  hide details  
Reply
post #10 of 13
lag is the term used to describe a "glitch" or temporary slow-down in transfer or display speed.

the measure of lag is latency, which essentially is the rate at which packets are transfered between two locations, and usually is directly related to the speed or smoothness with which frames cycle on screens.

e.g.
im in world of warcraft. i look down and my latency meter reads "35ms". this means that the transfer rate of packets of info between my computer and the World of Warcraft servers is 35ms. this means that it takes 35ms for the actual progression of frames sent by the Blizzard server to reach my computer....

that clear things up a bit?
BALEATED
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Dual Core Pentium D 2.8 GHz Dell Stock :( Radeon X300 SE 1022 MB Ram 
Hard DriveOSMonitorKeyboard
Dell Stock Windows XP Media Center Home Edition Dell Stock Dell Stock Wireless 
CaseMouse
Dell Stock Dell Stock Wireless 
  hide details  
Reply
BALEATED
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Dual Core Pentium D 2.8 GHz Dell Stock :( Radeon X300 SE 1022 MB Ram 
Hard DriveOSMonitorKeyboard
Dell Stock Windows XP Media Center Home Edition Dell Stock Dell Stock Wireless 
CaseMouse
Dell Stock Dell Stock Wireless 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › What exactly is lag ?