netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dst cache overflow errors
@ 2004-07-03 11:32 Christopher Chan
  2004-07-17 10:08 ` Robert Olsson
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Chan @ 2004-07-03 11:32 UTC (permalink / raw)
  To: netdev

Hello,

Recently, the Intel chaps wanted to have NAPI permanently enabled for 
their e100 driver. However, i still get network connectivity problems if 
I enable NAPI in e100 for 2.6.7. Severe cases result in the kernel not 
logging clear messages about its bug traps...due to the messages being 
obfuscated beyond understanding.

I wonder then whether the cause/problem, that makes the kernel log dst 
cache overflows and its BUG_TRAPs in the logs, has been identified?

Thanks,

Christopher

^ permalink raw reply	[flat|nested] 2+ messages in thread

* dst cache overflow errors
  2004-07-03 11:32 dst cache overflow errors Christopher Chan
@ 2004-07-17 10:08 ` Robert Olsson
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Olsson @ 2004-07-17 10:08 UTC (permalink / raw)
  To: Christopher Chan; +Cc: netdev, Robert.Olsson


Christopher Chan writes:

 > Recently, the Intel chaps wanted to have NAPI permanently enabled for 
 > their e100 driver. However, i still get network connectivity problems if 
 > I enable NAPI in e100 for 2.6.7. Severe cases result in the kernel not 
 > logging clear messages about its bug traps...due to the messages being 
 > obfuscated beyond understanding.
 > 
 > I wonder then whether the cause/problem, that makes the kernel log dst 
 > cache overflows and its BUG_TRAPs in the logs, has been identified?

 Hello!

 dst cache overflow most like indicates you have higher throughput and
 you should tune your hash tunings accordingly. So it might not be a bug.

 Verify this by monitoring the routing stats. rtstat is a utility for this. 
 You probably most interested in three first columns.

 size   IN: hit     tot
 8060     34009     271

 This means we have 34 kpps of hits to existent hash entries. While 271 new
 were created per sec. The ratio will be different for you as you reach dst 
 overflow but compare your two cases. There is now an option to set 
 rhash_entries= at boot which is probably how you how to tune it.

 rtstat is in iproute2 package but also in:
 ftp://robur.slu.se/pub/Linux/net-development/rt_cache_stat/rtstat.c

 Cheers.
						--ro

 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-17 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-03 11:32 dst cache overflow errors Christopher Chan
2004-07-17 10:08 ` Robert Olsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).