Re: [UPDATE] zerocopy.. While working on ip.h stuff

From: Benjamin C.R. LaHaise (
Date: Mon Feb 26 2001 - 19:11:20 EST

On Mon, 26 Feb 2001, David S. Miller wrote:

> At gigapacket rates, it becomes an issue. This guy is talking about
> tinkering with new IP _options_, not just the header. So even if the
> IP header itself fits totally in a cache line, the options afterwardsd
> likely will not and thus require another cache miss.

Hmmm, one way around this is to have the packet queue store things in
in a linear array of pointers to data areas, then process things in
bursts, ie:

        - find packet data areas for queued packets
        - walk list doing prefetches of ip header and options
        - then actually do the packet processing (save output for later)

That will require a number of new hooks for pipelining operations, though.
Just a thought.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 28 2001 - 21:00:12 EST