From: Ben Greear <greearb@candelatech.com>
To: Jason Lunz <lunz@falooley.org>
Cc: netdev@oss.sgi.com
Subject: Re: Luca Deri's paper: Improving Passive Packet Capture: Beyond Device Polling
Date: Tue, 06 Apr 2004 11:40:44 -0700 [thread overview]
Message-ID: <4072F9AC.7010307@candelatech.com> (raw)
In-Reply-To: <c4uk8g$38l$1@sea.gmane.org>
Jason Lunz wrote:
> deri@ntop.org said:
>
>>In addition if you do care about performance, I believe you're willing
>>to turn off packet transmission and only do packet receive.
>
>
> I don't understand what you mean by this. packet-mmap works perfectly
> well on an UP|PROMISC interface with no addresses bound to it. As long
> as no packets are injected through a packet socket, the tx path never
> gets involved.
>
>
>>IRQ: Linux has far too much latency, in particular at high speeds. I'm
>>not the right person who can say "this is the way to go", however I
>>believe that we need some sort of interrupt prioritization like RTIRQ
>>does.
>
>
> I don't think this is the problem, since small-packet performance is bad
> even with a fully-polling e1000 in NAPI mode. As Robert Olsson has
> demonstrated, a highly-loaded napi e1000 only generates a few hundred
> interrupts per second. So the vast majority of packets recieved are
> coming in without a hardware interrupt occurring at all.
If the polling is delayed, then you get plenty of latency.
With something like e1000, you can have up to 4096 rx buffers too,
which can also increase latency, but you do drop fewer packets.
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2004-04-06 18:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 14:23 Luca Deri's paper: Improving Passive Packet Capture: Beyond Device Polling Yusuf Goolamabbas
2004-04-03 23:02 ` jamal
2004-04-05 16:03 ` Jason Lunz
2004-04-06 10:30 ` P
2004-04-06 12:25 ` Luca Deri
2004-04-06 16:01 ` Jason Lunz
2004-04-06 18:40 ` Ben Greear [this message]
[not found] ` <1081262228.1046.25.camel@jzny.localdomain>
2004-04-07 6:59 ` Luca Deri
2004-04-07 12:20 ` jamal
[not found] ` <E1BAt0s-0003V8-00@crown.reflexsecurity.com>
2004-04-07 7:11 ` Luca Deri
2004-04-06 14:18 ` jamal
2004-04-06 15:31 ` Robert Olsson
2004-04-07 7:03 ` Luca Deri
2004-04-07 15:11 ` [Ntop-misc] " Robert Olsson
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=4072F9AC.7010307@candelatech.com \
--to=greearb@candelatech.com \
--cc=lunz@falooley.org \
--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).