Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Lower latency going through FreeBSD than directly to router
New Posts  All Forums:Forum Nav:

Lower latency going through FreeBSD than directly to router

post #1 of 2
Thread Starter 
I have a very weird situation going on that I would like to clear up. I have three computers at the moment, a FreeBSD 9 64-bit server, a MacBook Pro, and a Windows 8 machine. I have the FreeBSD server set up so that it shares the internet connection with the rest of the Ethernet ports on the server, and while using FreeBSD as my gateway I find it that I usually get 24-25ms in latency pinging to google servers (google.com), but when I connect my MacBook or the Windows machine directly to the DSL router, I average 29-30ms. Both the router and the FreeBSD machine have DNS servers pointing to Google's if that matters.

Can anyone guess whats going on? I thought it would have higher latency going through FreeBSD since the packets have to travel through more hardware.
Have_No_Idea
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Pentium G4560 ASRock H270M-ITX/ac EVGA GTX 1060 6GB Corsair DDR4 2400MHz 2x8GB 
Hard DriveCoolingOSMonitor
M.2 Intel 250GB Phanteks PH-TC14PE Linux / Windows Yamakasi Catleap 1440p 
KeyboardPowerCaseMouse
Apple Keyboard with Numeric Keypad / Leopold FC... Seasonic Platinum Fanless 400W Fractal Design Core 500 Logitch G500s 
Audio
Focusrite Scarlett 2i2 + KRK Rokit 6 G2 Powered... 
  hide details  
Reply
Have_No_Idea
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Pentium G4560 ASRock H270M-ITX/ac EVGA GTX 1060 6GB Corsair DDR4 2400MHz 2x8GB 
Hard DriveCoolingOSMonitor
M.2 Intel 250GB Phanteks PH-TC14PE Linux / Windows Yamakasi Catleap 1440p 
KeyboardPowerCaseMouse
Apple Keyboard with Numeric Keypad / Leopold FC... Seasonic Platinum Fanless 400W Fractal Design Core 500 Logitch G500s 
Audio
Focusrite Scarlett 2i2 + KRK Rokit 6 G2 Powered... 
  hide details  
Reply
post #2 of 2
Which specific address? Something like 'google.com' usually gives you a different server each time you query the record (you'll get the same record if the association is still in cache).

Also, not sure why 4-5 ms over the course of what is likely around 15 hops is of any concern.

If you want more specific testing, just test your first WAN hop. Run a traceroute to something like 8.8.8.8 and ping against the first IP that isn't your router. Then you can modify a configuration and see exactly if it is that specific hardware or not.
Edited by beers - 7/26/13 at 7:36pm
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  hide details  
Reply
Waiting on X399
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II B57 @ X4 3.9 Gigabyte 790FXTA-UD5 Sapphire Radeon 290 8 GB G.Skill 2133 
Hard DriveCoolingOSKeyboard
250 GB 840 EVO Noctua NH-D14 Windows 10 Logitech K350 
PowerCaseMouseMouse Pad
Seasonic x750 Corsair 600T Logitech G100s Razer Goliathus Speed 
Audio
Plantronics Gamecom 788 
  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 › Lower latency going through FreeBSD than directly to router