On Mon, Aug 05, 2019 at 10:52:21AM +0800, piaojun wrote: > # fio -direct=1 -time_based -iodepth=1 -rw=randwrite -ioengine=libaio -bs=1M > -size=1G -numjob=1 -runtime=30 -group_reporting -name=file > -filename=/mnt/9pshare/file
This benchmark configuration (--iodepth=1 --numjobs=1) cannot benefit from virtiofsd multithreading. Have you measured a regression when this patch series is applied? If your benchmark is unrelated to this patch series, let's discuss it in a separate email thread. fuse_buf_copy() can be optimized to use pwritev(). Thanks, Stefan