Re: [ceph-users] How to enable the writeback qemu rbd cache

2014-07-09 Thread lijian
Christian, Excellent performance improvements base on your guide, I set so small rbd cache size before, so do not get any improvements using RBD cache. Thanks a lot! Jian Li At 2014-07-08 10:14:27, "Christian Balzer" wrote: > >Hello, > >how did you come up with those bizarre cache sizes?

Re: [ceph-users] How to enable the writeback qemu rbd cache

2014-07-08 Thread Christian Balzer
Hello, how did you come up with those bizarre cache sizes? Either way, if you test with FIO anything that will significantly exceed the size of the cache will have very little to no effect. To verify things, set the cache values to be based around 2GB and test with a FIO that is just 1GB in siz

Re: [ceph-users] How to enable the writeback qemu rbd cache

2014-07-08 Thread lijian
Haomai Wang, I use the FIO to test 4K and 1M read/write under iodepth=1 and iodepth=32 in VM Do you know the improvements percentage using cache base on yourself test. Thanks! JIan Li At 2014-07-08 08:47:39, "Haomai Wang" wrote: >With info you provided, I think you have enabled rbd cache. As fo

Re: [ceph-users] How to enable the writeback qemu rbd cache

2014-07-08 Thread lijian
Hi David, I set the writeback in vm qemu definition Thanks! JIan Li 在 2014-07-08 08:47:24,"David" 写道: Do you set cache=writeback in your vm’s qemu conf for that disk? // david 8 jul 2014 kl. 14:34 skrev lijian : Hello, I want to enable the qemu rbd writeback cache, the following

Re: [ceph-users] How to enable the writeback qemu rbd cache

2014-07-08 Thread Haomai Wang
With info you provided, I think you have enabled rbd cache. As for performance improvement, it's related to your performance tests On Tue, Jul 8, 2014 at 8:34 PM, lijian wrote: > Hello, > > I want to enable the qemu rbd writeback cache, the following is the settings > in /etc/ceph/ceph.conf > [cl

Re: [ceph-users] How to enable the writeback qemu rbd cache

2014-07-08 Thread David
Do you set cache=writeback in your vm’s qemu conf for that disk? // david 8 jul 2014 kl. 14:34 skrev lijian : > Hello, > > I want to enable the qemu rbd writeback cache, the following is the settings > in /etc/ceph/ceph.conf > [client] > rbd_cache = true > rbd_cache_writethrough_until_flush =