RE: Optimizing instruction-cache, more packets at each stage
From: David Laight <hidden>
Date: 2016-01-15 13:39:16
From: David Laight <hidden>
Date: 2016-01-15 13:39:16
From: Jesper Dangaard Brouer
Sent: 15 January 2016 13:22
...
I want to do some instruction-cache level optimizations. What do I mean by that... The kernel network stack code path (a packet travels) is obviously larger than the instruction-cache (icache). Today, every packet travel individually through the network stack, experiencing the exact same icache misses (as the previous packet).
... Is that actually true for modern server processors that have large i-cache. While the total size of the networking code may well be larger, that part used for transmitting data packets will be much be smaller and could easily fit in the icache. David