How to use fio to test performance of a large amount of small files?

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

 



Hi,

I am using fio to test performance of a large amount of small files. I use rbd of ceph and map the image to a device, mount the device and write a lot of small files.

I want to know whether fio can test performance of small files well.

I use the engine libaio, my config is:

[global]
ioengine=libaio
buffered=0
rw=randwrite
bs=4k
size=1G
io_size=1G
iodepth=256
filesize=4k
nrfiles=256000
[job1]
directory=rbdmap/rbdmap0

I don't know whether my config is correct. Because I increase the filesize from 4k to 256k, and modify size and io_size. The result of bandwidth and iops is as following:

I don't know whether the performance is correct, or fio is not suitable for a lot of small files.

Thanks.

--
Shaonan Ma
Tsinghua University




[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