Benjamin LaHaise writes:
> Right. Btw, looking over your changes for skb reuse and how the e1000
> lays out its data structures, I think there is still some room for
> improvement: currently you still touch the skb that the e1000 used to
> allocate the receive buffers in. That cacheline is likely to be L1 cold
> because of the large number of outstanding buffers the e1000 uses. If you
> instead only touch the buffer_info structure to populate a freshly
> allocated skb, you can eliminate a couple of cache misses and increase
> the chances that the skb you're reusing stays in the L1 cache. That will
> require a lot more surgery to the e1000 code, though, but it could be
> worth it.
Getting rid of some cache misses would big win definitely. We go from
tutorial to real world. Are you brave to outline some code?
Cheers.
--ro
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html