Re: [PATCH net-next 0/6] vhost: accelerate metadata access

From: Jason Wang
Date: Sun Jun 09 2019 - 23:55:20 EST



On 2019/6/6 äå4:27, Michael S. Tsirkin wrote:
On Fri, May 24, 2019 at 04:12:12AM -0400, Jason Wang wrote:
Hi:

This series tries to access virtqueue metadata through kernel virtual
address instead of copy_user() friends since they had too much
overheads like checks, spec barriers or even hardware feature
toggling like SMAP. This is done through setup kernel address through
direct mapping and co-opreate VM management with MMU notifiers.

Test shows about 23% improvement on TX PPS. TCP_STREAM doesn't see
obvious improvement.

Thanks
Thanks this is queued for next.

Did you want to rebase and repost packed ring support on top?
IIUC it's on par with split ring with these patches.



Yes, it's on the way.

Thanks