Re: kernel 2.6.25-rc7 highly unstable on high load

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Dumazet <dada1@...>
Cc: Denys Fedoryshchenko <denys@...>, David Miller <davem@...>, <netdev@...>, <kaber@...>, <netfilter-devel@...>
Date: Thursday, March 27, 2008 - 12:29 pm

Eric Dumazet a écrit :
One more idea before leaving :)

If rt_cache_entries still increasing, we might have a dst leak somewhere :
gc tries to evict entries that have a non null refcount -> they are put 
in dst_garbage.list

Following patch will show us how dst_garbage behaves.
 ( printk(KERN_DEBUG "dst_total: %d delayed: %d work_perf: %d" ...)


diff --git a/net/core/dst.c b/net/core/dst.c
index 7deef48..e634e5f 100644
--- a/net/core/dst.c
+++ b/net/core/dst.c
@@ -31,6 +31,8 @@
  * 3) This list is guarded by a mutex,
  *    so that the gc_task and dst_dev_event() can be synchronized.
  */
+#undef RT_CACHE_DEBUG
+#define RT_CACHE_DEBUG 2
 #if RT_CACHE_DEBUG >= 2
 static atomic_t                         dst_total = ATOMIC_INIT(0);
 #endif





--
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)