| To: | Jason Lunz <lunz@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Luca Deri's paper: Improving Passive Packet Capture: Beyond Device Polling |
| From: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
| Date: | Tue, 06 Apr 2004 11:40:44 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <c4uk8g$38l$1@xxxxxxxxxxxxx> |
| Organization: | Candela Technologies |
| References: | <20040330142354.GA17671@xxxxxxxxxxxx> <1081033332.2037.61.camel@xxxxxxxxxxxxxxxx> <c4rvvv$dbf$1@xxxxxxxxxxxxx> <407286BB.8080107@xxxxxxxxxxxxxx> <4072A1CD.8070905@xxxxxxxx> <c4uk8g$38l$1@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
Jason Lunz wrote: deri@xxxxxxxx said:In addition if you do care about performance, I believe you're willingto 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@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [BK PATCH] 2.6 SCTP updates., Sridhar Samudrala |
|---|---|
| Next by Date: | [BK PATCH] 2.4 SCTP updates, Sridhar Samudrala |
| Previous by Thread: | Re: Luca Deri's paper: Improving Passive Packet Capture: Beyond Device Polling, Jason Lunz |
| Next by Thread: | Re: Luca Deri's paper: Improving Passive Packet Capture: Beyond Device Polling, Luca Deri |
| Indexes: | [Date] [Thread] [Top] [All Lists] |