* [LARTC] formula for minimum latency of connections on a loaded link
@ 2002-02-16 16:15 bert hubert
2002-02-16 19:33 ` [LARTC] formula for minimum latency of connections on a loaded Martin Devera
2002-02-16 19:45 ` [LARTC] formula for minimum latency of connections on a loaded link bert hubert
0 siblings, 2 replies; 3+ messages in thread
From: bert hubert @ 2002-02-16 16:15 UTC (permalink / raw)
To: lartc
I saw some discussions regarding QoS settings not influencing latency on a
loaded link, or not influencing it enough.
The following formula may help clarify things:
avgpacketbytes*5000
msavglatencyadded= -------------------
bpsoflink
So for a 56k6 modem, this boils down to 132ms on average *added* to the
existing latency. Why is this so? There is a baseline latency, which is a
given. Then there is a queue of packets that are destined to go out before
yours.
In the absence of QoS control, that queue may be huge. Perfect QoS would
lead to a zero sized queue ahead of your packet. However, as packets can't
be subdivided or interrupted (generally), your modem will already be busy
sending one packet when yours gets queued for transmission.
On average, this packet will be halfway when your packet arrives. So, the
additional latency in msec is the amount of time it takes your link to
transmit half a typical packet.
The peak additional latency is twice that calculated above, so you could
also see 264ms additional delay.
This is an artifact of having packets which take a long time to transmit.
You can ameliorate the problem by setting a lower MTU to make sure your
packets go out quickly.
Regards.
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] formula for minimum latency of connections on a loaded
2002-02-16 16:15 [LARTC] formula for minimum latency of connections on a loaded link bert hubert
@ 2002-02-16 19:33 ` Martin Devera
2002-02-16 19:45 ` [LARTC] formula for minimum latency of connections on a loaded link bert hubert
1 sibling, 0 replies; 3+ messages in thread
From: Martin Devera @ 2002-02-16 19:33 UTC (permalink / raw)
To: lartc
> avgpacketbytes*5000
> msavglatencyadded= -------------------
> bpsoflink
Hi Bert,
where came the 5000 from ? I'd expect 1000 here ... :-o
devik
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] formula for minimum latency of connections on a loaded link
2002-02-16 16:15 [LARTC] formula for minimum latency of connections on a loaded link bert hubert
2002-02-16 19:33 ` [LARTC] formula for minimum latency of connections on a loaded Martin Devera
@ 2002-02-16 19:45 ` bert hubert
1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2002-02-16 19:45 UTC (permalink / raw)
To: lartc
On Sat, Feb 16, 2002 at 08:33:54PM +0100, Martin Devera wrote:
> > avgpacketbytes*5000
> > msavglatencyadded= -------------------
> > bpsoflink
>
> Hi Bert,
>
> where came the 5000 from ? I'd expect 1000 here ... :-o
'bps' should be read as 'bits per second'. So:
avgpacketbytes*10*1000
msavglatencyadded = ---------------------- * 0.5
bitspersecondoflink
And this becomes '*5000'.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-16 19:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-16 16:15 [LARTC] formula for minimum latency of connections on a loaded link bert hubert
2002-02-16 19:33 ` [LARTC] formula for minimum latency of connections on a loaded Martin Devera
2002-02-16 19:45 ` [LARTC] formula for minimum latency of connections on a loaded link bert hubert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.