netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Olsson <Robert.Olsson@data.slu.se>
To: Christopher Chan <cchan@outblaze.com>
Cc: netdev@oss.sgi.com, Robert.Olsson@data.slu.se
Subject: dst cache overflow errors
Date: Sat, 17 Jul 2004 12:08:07 +0200	[thread overview]
Message-ID: <16632.64135.856238.115334@robur.slu.se> (raw)
In-Reply-To: <40E69930.1080402@outblaze.com>


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

 

      reply	other threads:[~2004-07-17 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-03 11:32 dst cache overflow errors Christopher Chan
2004-07-17 10:08 ` Robert Olsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16632.64135.856238.115334@robur.slu.se \
    --to=robert.olsson@data.slu.se \
    --cc=cchan@outblaze.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).