Re: Bypass at packet-page level (Was: Optimizing instruction-cache, more packets at each stage)
From: Eric Dumazet <hidden>
Date: 2016-01-28 16:43:40
From: Eric Dumazet <hidden>
Date: 2016-01-28 16:43:40
On Thu, 2016-01-28 at 08:37 -0800, Tom Herbert wrote:
skbs are enqueued on a CPU queue one at at time through enqueue_to_backlog. It would be nice to do that as a batch of skbs.
Adding yet another layer and cache misses. This might be a win for stress situations, not for nominal traffic, when very few packets are delivered per NAPI poll. For stress situations, we do not rely on RPS/RFS at all, but prefer RSS and appropriate number of RX queues, to have true silos. For the router case, where Jesper wants 15 Mpps on a single core, RPS/RFS is not used.