Andrew Gallatin wrote:
Miles Xu wrote:
Paul Durrant wrote:
Andrew Gallatin wrote:

Isn't the overhead to map/unmap the buffer fairly high?  Why don't
you keep the buffer mapped?


That was what I was getting at. If the pool is shared amongst drivers then the buffer has to be unmapped before being recycled (in case it's allocated by a different driver) thus blowing away most of the advantage of loanup.
It was also my concern. The original design is not as the current one. The partial experiments I conducted on e1000g showed no measurable impacts in terms of throughput. The current design is also temporary. I may change the design as the experiments continue.

You really need to test on a 10GbE NIC/driver, as I can't imagine that
1GbE NIC will put substantial load on any modern hardware.
I agree. It's what I have planned to do if I would get the hardware resources. That's why I say it's all the temporary design. And experiments speak.

Miles Xu

Drew

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to