* ppp0 and it's txqueuelen with HSDPA gsm modems
@ 2008-10-21 18:44 Jar
2008-10-22 7:11 ` Lie Arne
2008-11-16 16:20 ` Jar
0 siblings, 2 replies; 3+ messages in thread
From: Jar @ 2008-10-21 18:44 UTC (permalink / raw)
To: linux-ppp
Hello
What would be "optimal" value for ppp0 device's txqueuelen, when it is
used with HSDPA gsm modem for link which downlink speed is 1Mbit/s and
uplink speed is 384kbit/s and ping ~80..100 ms? Is the default value 3
just OK?
--
Best Regards, Jar
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: ppp0 and it's txqueuelen with HSDPA gsm modems
2008-10-21 18:44 ppp0 and it's txqueuelen with HSDPA gsm modems Jar
@ 2008-10-22 7:11 ` Lie Arne
2008-11-16 16:20 ` Jar
1 sibling, 0 replies; 3+ messages in thread
From: Lie Arne @ 2008-10-22 7:11 UTC (permalink / raw)
To: linux-ppp
> -----Original Message-----
> From: linux-ppp-owner@vger.kernel.org
> [mailto:linux-ppp-owner@vger.kernel.org] On Behalf Of Jar
> Sent: 21. oktober 2008 20:44
> To: linux-ppp@vger.kernel.org
> Subject: ppp0 and it's txqueuelen with HSDPA gsm modems
>
> Hello
>
> What would be "optimal" value for ppp0 device's txqueuelen,
> when it is used with HSDPA gsm modem for link which downlink
> speed is 1Mbit/s and uplink speed is 384kbit/s and ping
> ~80..100 ms? Is the default value 3 just OK?
>
> --
> Best Regards, Jar
Jar,
I would suggest using normal TCP calculation, i.e. that you dimension
the txqueue size after the "BDP rule": bandwidth x delay product. Using
your outbound numbers this is:
1,000,000 x 0.1 = 100,000 bits = 12,500 bytes. Assuming 1500 byte
packets, this is txqueue = 12,500 / 1500 = 8.3 packets. So you could try
txqueue size in the region 8-10, this should prevent queue starvation at
packet drop events caused by traffic overload, even if you only have one
single TCP flow.
Best regards,
Arne Lie
SINTEF ICT, Dept. of Communication Systems
e-mail: arne.lie@sintef.no
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ppp0 and it's txqueuelen with HSDPA gsm modems
2008-10-21 18:44 ppp0 and it's txqueuelen with HSDPA gsm modems Jar
2008-10-22 7:11 ` Lie Arne
@ 2008-11-16 16:20 ` Jar
1 sibling, 0 replies; 3+ messages in thread
From: Jar @ 2008-11-16 16:20 UTC (permalink / raw)
To: linux-ppp
Lie Arne wrote:
>> What would be "optimal" value for ppp0 device's txqueuelen,
>> when it is used with HSDPA gsm modem for link which downlink
>> speed is 1Mbit/s and uplink speed is 384kbit/s and ping
>> ~80..100 ms? Is the default value 3 just OK?
>>
>> --
>> Best Regards, Jar
>
> I would suggest using normal TCP calculation, i.e. that you dimension
> the txqueue size after the "BDP rule": bandwidth x delay product. Using
> your outbound numbers this is:
> 1,000,000 x 0.1 = 100,000 bits = 12,500 bytes. Assuming 1500 byte
> packets, this is txqueue = 12,500 / 1500 = 8.3 packets. So you could try
> txqueue size in the region 8-10, this should prevent queue starvation at
> packet drop events caused by traffic overload, even if you only have one
> single TCP flow.
OK, thanks. But is txqueuelen for transmit data only and then the
downlink value (384kbit/s) should be used in the calculation? With
384kbit/s the txqueuelen would be 3.2 which is quite same as ppp0 default 3.
--
Best Regards, Jar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-16 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 18:44 ppp0 and it's txqueuelen with HSDPA gsm modems Jar
2008-10-22 7:11 ` Lie Arne
2008-11-16 16:20 ` Jar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).