Hi,
Please cc me on any reply because I'm not subscribed to linux-kernel
or linux-net
I've noticed a slowdown in 2.6.35-rc3. It shows up in a few places:
1. When my desktop (KDE 3.5.10) is starting up, the "Initialising
system services" phase takes about 45 seconds as opposed to the normal
4 or 5 seconds., Similarly, whilst the basic KDE panel draws as
normal, the icons and other gadgets that it normally contains take
about 15 seconds to appear.
2. In firefox (3.6.3), there is a short (a second or two), but
noticeable, delay when a menu or sub-menu label is clicked on before
the {sub-,}menu appears. Normally the response id almost instant.
There are some similarities with Gene Heskett's report at
http://marc.info/?l=linux-kernel&m=127635846208957
I've bisected it and arrived at:
597a264b1a9c7e36d1728f677c66c5c1f7e3b837 is the first bad commit
commit 597a264b1a9c7e36d1728f677c66c5c1f7e3b837
Author: John Fastabend <john.r.fastabend@intel.com>
Date: Thu Jun 3 09:30:11 2010 +0000
net: deliver skbs on inactive slaves to exact matches
Currently, the accelerated receive path for VLAN's will
drop packets if the real device is an inactive slave and
is not one of the special pkts tested for in
skb_bond_should_drop(). This behavior is different then
the non-accelerated path and for pkts over a bonded vlan.
For example,
vlanx -> bond0 -> ethx
will be dropped in the vlan path and not delivered to any
packet handlers at all. However,
bond0 -> vlanx -> ethx
and
bond0 -> ethx
will be delivered to handlers that match the exact dev,
because the VLAN path checks the real_dev which is not a
slave and netif_recv_skb() doesn't drop frames but only
delivers them to exact matches.
This patch adds a sk_buff flag which is used for tagging
skbs that would previously been dropped and allows the
skb to continue to skb_netif_recv(). Here we add
logic to check for the ...This commit also makes nfsd hangs at startup on my computer (see https://bugzilla.kernel.org/show_bug.cgi?id=16195). This problem doesn't occur if it's reverted. François Valenduc --
I've just found John Fastabend's easy and fast fix (http://marc.info/?l=linux-kernel&m=127646140827821) and am about to apply it -- The more I see, the more I know. The more I know, the less I understand. Changing Man - Paul Weller --
Yes, that's fixed the problem I reported. Thanks. -- The more I see, the more I know. The more I know, the less I understand. Changing Man - Paul Weller --
Unfortunately, this patch will not apply to my src tree for 2.6.35-rc3,
even after I fixed the unwanted line wrap in the first active line.
I get:
[root@coyote linux-2.6.35-rc3]# patch -p1 <../2.6.35-rc3-test.patch
patching file net/core/skbuff.c
Hunk #1 FAILED at 532.
1 out of 1 hunk FAILED -- saving rejects to file net/core/skbuff.c.rej
Did my grabbing it with swiftfox damage it even further?
------------------------------------------------------------------
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 9f07e74..bcf2fa3 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -532,6 +532,7 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old)
new-&gt;ip_summed = old-&gt;ip_summed;
skb_copy_queue_mapping(new, old);
new-&gt;priority = old-&gt;priority;
+ new-&gt;deliver_no_wcard = old-&gt;deliver_no_wcard;
#if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE)
new-&gt;ipvs_property = old-&gt;ipvs_property;
#endif
---------------------------------------------------------------
That line 532 is not at line 532 in my src tree, its at line 516 here.
I have seen this sort of thing before when using bz2 src files, but this is
all from gzipped stuffs. ???
Thanks for any hints.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Depends on how you define "always". :-)
-- Larry Wall in <199710211647.JAA17957@wall.org>
--
I don't know what caused the corruption, but it's a systematic error. Throughout the patch, the dereference symbol -> has been changed to -& so it's not surprising that the patch won't apply. I've never seen that particular problem before. I don't think the line numbers (e.g.532) are responsible. --
Neither have I, but that looks to be fixable, so I will give it a shot later Neither did I. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) This fortune was brought to you by the people at Hewlett-Packard. --
It also seems that the whole string "&gt;ip_" has been traded for the leading c in the var names. So that patch was totally trashed by a broken html converter by the time it actually got to my machine. Where can I get a pristine copy? I am also wondering if this has anything to do with my missing USB devices when booted to 2.6.35-rc3. In my case the symptoms are as it it did not recurse far enough up the various branches of my usb tree from hell to find everything. Thanks. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) FROM THE DESK OF Rapunzel Dear Prince: Use ladder tonight -- you're splitting my ends. --
