[dm-devel] bcache performance test problem

Qinling mail.qinling at huawei.com
Thu May 24 01:14:01 UTC 2012


Hi Kent,

I have tested bcache on my platform, but the result is not good. I think maybe the wrong config caused it. Would you pls help me to check the config, or give me some advice for bcache performance testing?

My SSD card is  a PCIe SSD card (about 120,000 IOPS), and I used 10GB.

I have download the code from git://evilpiepirate.org/~kent/linux-bcache.git.
The commands creating bcache is below:
make-bcache -B /dev/sdb8
make-bcache -C -w4k -b1M -writeback /dev/hioa5

I use FIO to test the seq./random IO performance, and the result is below:
write             read                    randwrite    randread
bcache               10809 KB/s    164502.5 KB/s     2713 KB/s    29640 KB/s
cache_hit_rate  80                  79                         94                92


And the basic test result is:
Write                   read                  randwrite             randread
HDD      81211.6 KB/s       172242 KB/s     2606 KB/s             1855 KB/s
SSD       250948.2 KB/s     813855 KB/s     238892.7 KB/s      657319.5 KB/s

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20120524/c198b2da/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-write.sh
Type: application/octet-stream
Size: 1197 bytes
Desc: test-write.sh
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20120524/c198b2da/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-read.sh
Type: application/octet-stream
Size: 1180 bytes
Desc: test-read.sh
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20120524/c198b2da/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-randwrite-1.2g.sh
Type: application/octet-stream
Size: 1244 bytes
Desc: test-randwrite-1.2g.sh
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20120524/c198b2da/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-randread-1.2g.sh
Type: application/octet-stream
Size: 1228 bytes
Desc: test-randread-1.2g.sh
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20120524/c198b2da/attachment-0003.obj>


More information about the dm-devel mailing list