Re: 2.5.41-mm2

From: David S. Miller (davem@redhat.com)
Date: Thu Oct 10 2002 - 00:59:41 EST


   From: Andrew Morton <akpm@digeo.com>
   Date: Wed, 09 Oct 2002 22:40:01 -0700

     but we're seeing a consistent few-percent regression in tests which perform
     networking to localhost.

There's debugging code in loopback that is helping us stress test
the TCP segmentation offload, you might want to disable that to
get more reliable numbers in 2.5.x.

Try this:

--- drivers/net/loopback.c.~1~ Wed Oct 9 23:01:16 2002
+++ drivers/net/loopback.c Wed Oct 9 23:01:35 2002
@@ -190,12 +190,12 @@
         dev->rebuild_header = eth_rebuild_header;
         dev->flags = IFF_LOOPBACK;
         dev->features = NETIF_F_SG|NETIF_F_FRAGLIST|NETIF_F_NO_CSUM|NETIF_F_HIGHDMA;
-
+#if 0
         /* 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;
-
+#endif
         dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL);
         if (dev->priv == NULL)
                         return -ENOMEM;
-
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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:36 EST