Re: [PATCH net-next 0/3] tcp: add rx/tx cache to reduce lock contention

2019-03-21 Thread Soheil Hassas Yeganeh
On Thu, Mar 21, 2019 at 6:17 PM Eric Dumazet wrote: > > On hosts with many cpus we can observe a very verious contention > on spinlocks used in mm slab layer. > > The following can happen quite often : > > 1) TX path > sendmsg() allocates one (fclone) skb on CPU A, sends a clone. > ACK is rece

[PATCH net-next 0/3] tcp: add rx/tx cache to reduce lock contention

2019-03-21 Thread Eric Dumazet
On hosts with many cpus we can observe a very verious contention on spinlocks used in mm slab layer. The following can happen quite often : 1) TX path sendmsg() allocates one (fclone) skb on CPU A, sends a clone. ACK is received on CPU B, and consumes the skb that was in the retransmit queu