On Mon, 2016-12-05 at 01:31 +0200, Saeed Mahameed wrote: > Alexei, we should start considering PPC archs for XDP use cases, > demanding page per packet on those archs is a little bit heavy > requirement
Well, 'little' is an understatement ;) Note that PPC had serious problems before commit bd68a2a854ad5a85f0 ("net: set SK_MEM_QUANTUM to 4096") So I suspect one page per frame will likely be a huge problem for hosts dealing with 10^5 or more TCP sockets. Either skb->truesize is set to 64KB and TCP window must be really tiny, or skb->truesize is set to ~2KB and OOM is waiting to happen.