On Mon, Feb 13, 2017 at 3:29 PM, Eric Dumazet [off-list ref] wrote:
On Mon, Feb 13, 2017 at 3:26 PM, Alexander Duyck
[off-list ref] wrote:
quoted
Odds are for a single TCP flow you won't notice. This tends to be
more of a small packets type performance issue. If you hammer on he
Rx using pktgen you would be more likely to see it.
Anyway patch looks fine from a functional perspective so I am okay
with it. The page count bulking is something that can be addressed
later.
Well, if we hammer enough, pages are not recycled because we cycle
through RX ring buffer too fast.
This might be different for PowerPC though, because of its huge PAGE_SIZE.
Actually it depends on the use case. In the case of pktgen packets
they are usually dropped pretty early in the receive path. Think
something more along the lines of a TCP syn flood versus something
that would be loading up a socket.
- Alex