login
Header Space

 
 

Re: kernel 2.6.25-rc7 highly unstable on high load

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Denys Fedoryshchenko <denys@...>
Cc: David Miller <davem@...>, <kaber@...>, <netdev@...>, <netfilter-devel@...>
Date: Friday, March 28, 2008 - 1:49 am

Denys Fedoryshchenko a écrit :
Maybe you are a litle bit too fast for "ip route flush cache" :)

It used to work like that : schedule a timer to start a flush in about 2 
seconds. A flush meaning : scan the whole table and delete all entries.

On machines with 4 millions dst entries, this was using too much time 
and eventually crashing.

On recent kernels, each rtable entry has a special field named rt_genid, 
so that "ip route flush cache" doesnt have to scan the whole table, but 
only change the global genid. rtables entries will be deleted later, 
when their rt_genid is found to be different than the global genid.

Please try the patch that was suggested yesterday, as it is probably the 
cure your router needs.

http://git2.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commitdiff;h=7c0ecc4c4f...

Thank you





--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: kernel 2.6.25-rc7 highly unstable on high load, Eric Dumazet, (Thu Mar 27, 12:07 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Thu Mar 27, 2:37 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Eric Dumazet, (Thu Mar 27, 2:56 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, David Miller, (Thu Mar 27, 6:03 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Fri Mar 28, 1:25 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Eric Dumazet, (Fri Mar 28, 1:49 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Fri Mar 28, 3:38 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Eric Dumazet, (Fri Mar 28, 3:46 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Eric Dumazet, (Fri Mar 28, 11:57 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Stephen Hemminger, (Fri Mar 28, 4:23 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Fri Mar 28, 4:45 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Eric Dumazet, (Fri Mar 28, 5:17 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, David Miller, (Fri Mar 28, 7:21 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Sat Mar 29, 5:35 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Fri Mar 28, 5:50 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Fri Mar 28, 12:50 am)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denys Fedoryshchenko, (Thu Mar 27, 8:47 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Denis V. Lunev, (Thu Mar 27, 3:05 pm)
Re: kernel 2.6.25-rc7 highly unstable on high load, Eric Dumazet, (Thu Mar 27, 12:29 pm)
speck-geostationary