Re: [PATCH net-next 3/3] tcp: add one skb cache for rx

2019-03-21 Thread Eric Dumazet
On 03/21/2019 03:17 PM, Eric Dumazet wrote: > Often times, recvmsg() system calls and BH handling for a particular > TCP socket are done on different cpus. ... > Note that if rps/rfs is used, we do not enable this feature, because > there is high chance that the same cpu is handling both the r

[PATCH net-next 3/3] tcp: add one skb cache for rx

2019-03-21 Thread Eric Dumazet
Often times, recvmsg() system calls and BH handling for a particular TCP socket are done on different cpus. This means the incoming skb had to be allocated on a cpu, but freed on another. This incurs a high spinlock contention in slab layer for small rpc, but also a high number of cache line ping