Latency packets

Networking, Wireless Routers (802.11 a/b/g/n/ac/ax WiFi), NAT, LAN configuration, equipment, cabling, hubs, switches, and general network discussion
Post Reply
Medder
New Member
Posts: 5
Joined: Wed Jul 20, 2022 9:29 am

Latency packets

Post by Medder »

Hi. Is it possible to somehow configure the delay of tcp packets?
User avatar
Philip
SG VIP
Posts: 11524
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

No, delay for each "hop" between routers is increased by a minimum of 1 (one millisecond), and there is always some transmission delay you can't avoid. Just going thousand miles over fiber optic cables would typically add 20ms of delay.
Linux is user friendly, it's just picky about its friends...
Disclaimer: Please use caution when opening messages, my grasp on reality may have shaken loose during transmission (going on rusty memory circuits). I also eat whatever crayons are put in front of me.
๑۩۞۩๑
Medder
New Member
Posts: 5
Joined: Wed Jul 20, 2022 9:29 am

Post by Medder »

I mean, is it possible to manage this delay. It is not necessary to lower it, is it possible to raise it somehow? Increase packet latency and not ping, that is, without ping changes?
Medder
New Member
Posts: 5
Joined: Wed Jul 20, 2022 9:29 am

Post by Medder »

This seems to be done by the tcpackfrequency registry key, something similar
User avatar
Philip
SG VIP
Posts: 11524
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

ping is the same as latency, same as rtt. It is a measurement of round-trip time of packets.

You can set certain parameters on your end, but generally TCP/IP parameters are negotiated during the initial connection between client and server, during the "TCP Handshake". Some games also use UDP protocol for certain streams, rather than TCP, so that's important to know as well.

Other than that, larger packets (up to 1500 bytes) can have slightly higher latency than small 500-byte packets for example, but the difference is only a couple of ms, if any, so it is negligible.

Once packets leave your end, they are like mailed letters with origin/destination IP address and you don't have much control of the path they take to reach their destination. Some packets may actually travel on a slightly different path depending on current conditions. Depending on how congested the routers are in that path at that moment, packets may be delayed differently.
Linux is user friendly, it's just picky about its friends...
Disclaimer: Please use caution when opening messages, my grasp on reality may have shaken loose during transmission (going on rusty memory circuits). I also eat whatever crayons are put in front of me.
๑۩۞۩๑
Post Reply