[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1305671956.6741.25.camel@edumazet-laptop>
Date: Wed, 18 May 2011 00:39:16 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, kaber@...sh.net,
netdev@...r.kernel.org, remi.denis-courmont@...ia.com
Subject: Re: [PATCH net-next-2.6] net: add rcu protection to netdev->ifalias
Le mardi 17 mai 2011 à 15:25 -0700, Stephen Hemminger a écrit :
> I am beginning to think the idea of optimizing case of "ip link show"
> running in background with adding/removing network devices is silly.
> And switching to RCU leads to all sorts of corner cases where only
> partial data will be read. Is it really worth it?
>
Just try "modprobe dummy numdummies=1000", and watch load average
raising, because so many processes want to hold RTNL, and the
rtnl_trylock() crazy thing make them spin (restart syscall, and find
RTNL locked again... wooo...)
Some workloads hit RTNL quite hard, and monitoring tools were sometime
frozen for unexpected long times. (before the patch, when we used to
hold RTNL in dump())
I dont know, if it happens to be too hard, we'll just stick again rtnl
for "ip link show" ;)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists