Re: [RFC PATCH V3 0/6] vhost: accelerate metadata access

From: Jason Wang
Date: Sun May 05 2019 - 05:21:20 EST

On 2019/4/23 äå1:54, Jason Wang wrote:
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. 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.

Ping. Comments are more than welcomed.