From: "Pádraig Brady" <P@draigBrady.com>
To: danial_thom@yahoo.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Dropping Packets in 2.6.17
Date: Thu, 22 Jun 2006 16:26:20 +0100 [thread overview]
Message-ID: <449AB69C.6090207@draigBrady.com> (raw)
In-Reply-To: <20060622150357.37194.qmail@web33302.mail.mud.yahoo.com>
Danial Thom wrote:
>
> --- Pádraig Brady <P@draigBrady.com> wrote:
>
>>For reference with 2.4.20 on a dual 3.4GHz xeon
>>and 2 x e1000 cards, I was able to capture,
>>classify and do statistical calculations
>>on 625Kpps per interface (1.3 million pps).
>
> Unfortunately I can do that much with FreeBSD 4.x
> with 1 2.0Ghz opteron, so its not a very
> compelling case to have to spend twice as much on
> hardware to use LINUX. However 2.4 seemed much
> better than 2.6 in this regard. 2.6 wants to drop
> a lot more packets. The goal of using 2.6 is to
> utilize DP better, but it obviously has to
> perform better than a UP Freebsd box.
NC.
> What ITR setting are using for the e1000 driver?
I didn't use ITR, I used NAPI.
>># Lots of kernel memory needed for e1000
>>vm.min_free_kbytes = 65535
>
>
> I'm curious as to why a vm setting is useful, as
> it doesn't seem that the e1000 driver uses
> virtual memory? Since rings are replenished with
> sk_buffs, and sk_buffs have to be contiguous, how
> does vm come into play?
Contiguous? The [tr]x descriptors contain
pointers to the skbufs.
Anyway I bypassed the large allocation overhead
by using skb recycling.
Pádraig.
next prev parent reply other threads:[~2006-06-22 15:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-22 11:31 Dropping Packets in 2.6.17 Danial Thom
2006-06-22 11:55 ` Arjan van de Ven
2006-06-22 12:47 ` Danial Thom
2006-06-22 13:27 ` Pádraig Brady
2006-06-22 14:01 ` Miquel van Smoorenburg
2006-06-22 14:15 ` Pádraig Brady
2006-06-22 15:03 ` Danial Thom
2006-06-22 15:26 ` Pádraig Brady [this message]
2006-06-22 17:10 ` Danial Thom
[not found] <fa.zPWsMAz4l0d9j5Voaw6Pdkcf//M@ifi.uio.no>
[not found] ` <fa.Ze3oSnDYEMz3/ITqeLQ2m0GF5wk@ifi.uio.no>
2006-06-23 1:13 ` Robert Hancock
2006-06-23 7:31 ` Brian F. G. Bidulock
2006-06-23 19:48 ` Danial Thom
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=449AB69C.6090207@draigBrady.com \
--to=p@draigbrady.com \
--cc=danial_thom@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/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