On Fri, 2005-08-19 at 19:02 +0200, Andi Kleen wrote: > > I guess we need to approach the memory manager guys and ask them why the > > current kernels are having so much trouble getting contiguous memory. > > Because memory fragments. > > The only long term reliable way is to not allocate buffers > PAGE_SIZE. > The stack supports paged skbs for that.
And the e1000 supports receiving/transmitting packets containing several buffers according to the SDM, it just uses more descriptors in the rx/tx rings. Maybe it should allocate PAGE_SIZE large buffers, a 9kB packet would then use 3 such buffers. And it of course means more and smaller DMA transfers than when using larger buffers. -- /Martin
signature.asc
Description: This is a digitally signed message part