]> git.baikalelectronics.ru Git - kernel.git/commit
ipwireless: Increase PPP outgoing queue size
authorDavid Sterba <dsterba@suse.cz>
Mon, 28 Jul 2008 14:53:21 +0000 (16:53 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Jul 2008 15:28:03 +0000 (08:28 -0700)
commitf5af1c6f0aafa6dbd56bb8e8da03401bf69393fc
tree6c9d6943ac485d47bb14cfbd18aacf7d3464d224
parentddc6d4f319c5f0eb86ba0a98621161bfad1b7cf9
ipwireless: Increase PPP outgoing queue size

ipwireless: Increase PPP outgoing queue size

Increase default size of PPP outgoing queue. Currently set to 1, which
means that a packet quickly following another pushed by PPP must wait
until hardware actually sends the previous and PPP has to be waken up
by ppp_wakeup(). This slows down upstream.

Now PPP can push more packets at once which get buffered inside driver
and pushed immediatelly to hardware when previous packet is out.

Experiments show that size = 10 is quite good for all connection types
(GPRS/EDGE/UMTS) and gains 4 KB/sec of upload for UMTS for batch uploads.
Need for higher queue size than 10 occures in only < 0.1 % of cases.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/pcmcia/ipwireless/main.c
drivers/char/pcmcia/ipwireless/network.c