From: Jar <jar@pcuf.fi>
To: linux-ppp@vger.kernel.org
Subject: Re: ppp0 and it's txqueuelen with HSDPA gsm modems
Date: Sun, 16 Nov 2008 16:20:31 +0000 [thread overview]
Message-ID: <4920484F.4060100@pcuf.fi> (raw)
In-Reply-To: <48FE2309.3060907@pcuf.fi>
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
prev parent reply other threads:[~2008-11-16 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4920484F.4060100@pcuf.fi \
--to=jar@pcuf.fi \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.