2003-07-03 17:23:02

by John Covici

[permalink] [raw]
Subject: local nntp connections much slower in 2.5.73 than in 2.4.x

Hi. I have been noticing an nntp problem in my 2.5.73 kernel. I
have inn 2.3 set up on my machine and I use gnus to read mail and
news. Now what happens is that when gnus starts up it connects to
the server (same box) and gets all the active newsgroups. What I
have noticed is a drastic slowdown in 2.5.73 (or other 7x) than in my
2.4.20 kernel and I was wondering if anyone else has seen this or can
tell me either a workaround or what is going on with this.

Thanks.

--
John Covici
[email protected]


2003-07-03 17:31:08

by Ring Fan

[permalink] [raw]
Subject: Re: local nntp connections much slower in 2.5.73 than in 2.4.x

John Covici wrote:

>Hi. I have been noticing an nntp problem in my 2.5.73 kernel. I
>have inn 2.3 set up on my machine and I use gnus to read mail and
>news. Now what happens is that when gnus starts up it connects to
>the server (same box) and gets all the active newsgroups. What I
>have noticed is a drastic slowdown in 2.5.73 (or other 7x) than in my
>2.4.20 kernel and I was wondering if anyone else has seen this or can
>tell me either a workaround or what is going on with this.
>
Loopback interface has debugging code in current 2.5.x -

Does this patch speed things up?

diff -urN linux-2.5.66/drivers/net/loopback.c
linux-2.5.66-faster/drivers/net/lo
opback.c
--- linux-2.5.66/drivers/net/loopback.c 2003-03-24 14:00:04.000000000 -0800
+++ linux-2.5.66-faster/drivers/net/loopback.c 2003-04-05
10:15:00.000000000 -0
800
@@ -193,8 +193,8 @@

/* Current netfilter will die with oom linearizing large skbs,
* however this will be cured before 2.5.x is done.
- */
dev->features |= NETIF_F_TSO;
+ */

dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL);
if (dev->priv == NULL)