Re: fio mmap writes much slower than default writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-07-18 at 16:39 +0200, Jens Axboe wrote:
> On Sat, Jul 18 2009, Richard Kennedy wrote:
> > Disk stats (read/write):
> >   dm-0: ios=3571/9894, merge=0/0, ticks=25884/31650, in_queue=511733, util=96.46%, aggrios=0/0, aggrmerge=0/0, aggrticks=0/0, aggrin_queue=0, aggrutil=0.00%
> 
> If you look at the disk stats, it also shows a considerable amount of
> reads. So I'm guessing that you need pre_read=1 to get the same sort of
> results.
> 
thanks for that. Yes, pre_read is much better.

fio --name=f1 --rw=write --size=300m --pre_read=1
  write: io=300MiB, bw=274MiB/s, iops=70,265, runt=  1093msec

fio --name=f1 --rw=write --size=300m --pre_read=1 --ioengine=mmap
 write: io=300MiB, bw=391MiB/s, iops=100K, runt=   767msec

fio --name=f1 --rw=write --size=300m --ioengine=mmap
  write: io=300MiB, bw=30,837KiB/s, iops=7,709, runt=  9962msec

regards
Richard


--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux