lkml.org 
[lkml]   [2003]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.043 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site