Re: [Virtio-fs] virtio-fs performance

2020-08-06 Thread Vivek Goyal
On Tue, Aug 04, 2020 at 03:51:50PM +0800, Derek Su wrote: > Vivek Goyal 於 2020年7月28日 週二 下午11:27寫道: > > > > On Tue, Jul 28, 2020 at 02:49:36PM +0100, Stefan Hajnoczi wrote: > > > > I'm trying and testing the virtio-fs feature in QEMU v5.0.0. > > > > My host and guest OS are both ubuntu 18.04 with

Re: virtio-fs performance

2020-08-05 Thread Stefan Hajnoczi
On Tue, Aug 04, 2020 at 03:37:26PM +0800, Derek Su wrote: > Set the cache=none in virtiofsd and direct=1 in fio, > here are the results and kvm-exit count in 5 seconds. > > --thread-pool-size=64 (default) > seq read: 307 MB/s (kvm-exit count=1076463) > seq write: 430 MB/s (kvm-exit

Re: [Virtio-fs] virtio-fs performance

2020-08-04 Thread Derek Su
Vivek Goyal 於 2020年7月28日 週二 下午11:27寫道: > > On Tue, Jul 28, 2020 at 02:49:36PM +0100, Stefan Hajnoczi wrote: > > > I'm trying and testing the virtio-fs feature in QEMU v5.0.0. > > > My host and guest OS are both ubuntu 18.04 with kernel 5.4, and the > > > underlying storage is one single SSD. > >

Re: virtio-fs performance

2020-08-04 Thread Derek Su
Hello, Set the cache=none in virtiofsd and direct=1 in fio, here are the results and kvm-exit count in 5 seconds. --thread-pool-size=64 (default) seq read: 307 MB/s (kvm-exit count=1076463) seq write: 430 MB/s (kvm-exit count=1302493) rand 4KB read: 65.2k IOPS (kvm-exit

Re: [Virtio-fs] virtio-fs performance

2020-07-28 Thread Vivek Goyal
On Tue, Jul 28, 2020 at 02:49:36PM +0100, Stefan Hajnoczi wrote: > > I'm trying and testing the virtio-fs feature in QEMU v5.0.0. > > My host and guest OS are both ubuntu 18.04 with kernel 5.4, and the > > underlying storage is one single SSD. > > > > The configuations are: > > (1) virtiofsd > >

Re: virtio-fs performance

2020-07-28 Thread Stefan Hajnoczi
> I'm trying and testing the virtio-fs feature in QEMU v5.0.0. > My host and guest OS are both ubuntu 18.04 with kernel 5.4, and the > underlying storage is one single SSD. > > The configuations are: > (1) virtiofsd > ./virtiofsd -o >