You are not logged in.

#1 2024-11-17 22:19:57

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 49

Reducing network latency

When I run "ping archlinux.org" on my Arch machine, this are the (approximate) stats I get

rtt min/avg/max/mdev = 140/200/270/30 ms

When I run the same command on another (non-Arch) machine, I get these stats (approximate)

rtt min/avg/max/mdev = 140/145/160/5 ms

I want to reduce this latency on my Arch machine. Where do I start?

Offline

#2 2024-11-17 22:50:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,230

Re: Reducing network latency

Don't use ping to measure latency beyond looking for gross problems?

Does the comparison of traceroute provide any additional information as to why the machines behave differently?  You might find that the first hop is (or is not) the problem.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2024-11-17 23:03:14

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: Reducing network latency

Otherwise, if both systems are in the same LAN segment, compare "ping 8.8.8.8" and "ping -4n google.com" next to "ping -4 google.com"

Offline

#4 2024-11-23 19:27:15

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 49

Re: Reducing network latency

ewaller wrote:

Don't use ping to measure latency beyond looking for gross problems?

Does the comparison of traceroute provide any additional information as to why the machines behave differently?  You might find that the first hop is (or is not) the problem.

You're right. The first hop is not the problem. It seems to lie on a hop between two countries, I think. I wonder why that is the case.

seth wrote:

Otherwise, if both systems are in the same LAN segment, compare "ping 8.8.8.8" and "ping -4n google.com" next to "ping -4 google.com"

The difference is negligible, though Arch always seems to have slightly more latency

Last edited by ThoughtBubble (2024-11-23 19:29:06)

Offline

#5 2024-11-24 19:07:00

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: Reducing network latency

The first hop is not the problem. It seems to lie on a hop between two countries, I think. I wonder why that is the case.

Can you post the tracepath output?

The difference is negligible, though Arch always seems to have slightly more latency

negligible between the three ping variants or negligible compared between two LAN hosts (for all three ping variants)?

Wrt the previous:
Does the latency significantly differ between "ping archlinux.org" and "ping google.com"?
What about "ping heise.de"?

Offline

#6 2024-11-25 19:39:56

ThoughtBubble
Member
Registered: 2024-07-09
Posts: 49

Re: Reducing network latency

seth wrote:

Can you post the tracepath output?

Before I post the tracepath outputs, should I try to anonymize the information? If so, how do I go about doing this?

Offline

#7 2024-11-25 20:11:22

seth
Member
Registered: 2012-09-03
Posts: 58,974

Re: Reducing network latency

No.
This will be LOCALHOST, _gateway, maybe some IPv4 - then your ISP and then the public nodes where the packages are routed.
The only thing you'll reveal is your ISP (they all suck) and roughly where you're located (country, maybe state - unless it's a very local ISP)

You can obfuscate that if you mind but if it's in the vicinity of the lag, you'll have to share that detail anyway.

Also please address the other questions.

Offline

Board footer

Powered by FluxBB