Re: skb data uncacheable ??

From: Henrik Nordstrom
Date: Tue Apr 13 2004 - 02:09:20 EST


On Tue, 13 Apr 2004, Nagendra Singh Tomar wrote:

> even for devices that do Rx checksum verification (and hence allow us to
> leave the data payload untouched). If we can have a strategy in which we
> keep first 128 bytes say (precisely max possible header size) in a
> cacheable region and the rest, that is pure data, in uncacheable region,
> we can see some gain.

This should not be difficult if using non-linear sk_buff.

> The most important question: Is it worth all this ? DO we gain much if we
> prevent pollution of the data cache, by doing these tricks.

I am doubtful, but I am possibly biased from working a lot with iptables
and often accessing the payload while the packet is forwarded for NAT
etc.. but maybe.

Regards
Henrik

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html