Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-15 Thread Ke-fei Lin
2014-06-13 11:09 GMT+08:00 Ke-fei Lin : > Hi list, > > I deployed a Windows 7 VM with qemu-rbd disk, and got an unexpected booting > phase performance. > > I discovered that when booting the Windows VM up, there are consecutive ~2 > minutes that `ceph -w` gives me an interesting log like: "... 567

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Sage Weil
On Sat, 14 Jun 2014, Ke-fei Lin wrote: > 2014-06-14 0:11 GMT+08:00 Sage Weil : > > Right now, no. > > > > We could add a minimum read size to librbd when caching is enabled... > > that would not be particularly difficult. > > > > sage > > Thanks, so is it possible to set some options like *readahe

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Ke-fei Lin
2014-06-14 0:25 GMT+08:00 Andrey Korolyov : > In my belief, lot of sequential small reads will be aggregated after > all when targeting filestore contents (of course if the moment of issuing > next one is not dependent on status of previous read, otherwise > they`ll be separated in time in such way

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Ke-fei Lin
2014-06-14 0:11 GMT+08:00 Sage Weil : > Right now, no. > > We could add a minimum read size to librbd when caching is enabled... > that would not be particularly difficult. > > sage Thanks, so is it possible to set some options like *readahead* in librbd or QEMU? Seems no docs mentioned this... B

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Andrey Korolyov
In my belief, lot of sequential small reads will be aggregated after all when targeting filestore contents (of course if the moment of issuing next one is not dependent on status of previous read, otherwise they`ll be separated in time in such way that the rotating media scheduler will not be able

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Sage Weil
Right now, no. We could add a minimum read size to librbd when caching is enabled... that would not be particularly difficult. sage On Fri, 13 Jun 2014, Ke-fei Lin wrote: > 2014-06-13 22:04 GMT+08:00 Andrey Korolyov : > > > > On Fri, Jun 13, 2014 at 5:50 PM, Ke-fei Lin wrote: > > > Thanks,

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Ke-fei Lin
2014-06-13 22:04 GMT+08:00 Andrey Korolyov : > > On Fri, Jun 13, 2014 at 5:50 PM, Ke-fei Lin wrote: > > Thanks, Andrey. > > > > I tried `virsh domblkstat hda` (only this VM in whole cluster) and got > > these values: > > > > hda rd_req 70682 > > hda rd_bytes 229894656 > > hda wr_req 1067 > > hda

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Andrey Korolyov
On Fri, Jun 13, 2014 at 5:50 PM, Ke-fei Lin wrote: > 2014-06-13 21:23 GMT+08:00 Andrey Korolyov : > >> On Fri, Jun 13, 2014 at 7:09 AM, Ke-fei Lin wrote: >> > Hi list, >> > >> > I deployed a Windows 7 VM with qemu-rbd disk, and got an unexpected >> > booting >> > phase performance. >> > >> > I di

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Ke-fei Lin
2014-06-13 21:23 GMT+08:00 Andrey Korolyov : > On Fri, Jun 13, 2014 at 7:09 AM, Ke-fei Lin wrote: > > Hi list, > > > > I deployed a Windows 7 VM with qemu-rbd disk, and got an unexpected > booting > > phase performance. > > > > I discovered that when booting the Windows VM up, there are consecuti

Re: [ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-13 Thread Andrey Korolyov
On Fri, Jun 13, 2014 at 7:09 AM, Ke-fei Lin wrote: > Hi list, > > I deployed a Windows 7 VM with qemu-rbd disk, and got an unexpected booting > phase performance. > > I discovered that when booting the Windows VM up, there are consecutive ~2 > minutes that `ceph -w` gives me an interesting log lik

[ceph-users] Strange qemu-rbd I/O behavior when booting Windows VM

2014-06-12 Thread Ke-fei Lin
Hi list, I deployed a Windows 7 VM with qemu-rbd disk, and got an unexpected booting phase performance. I discovered that when booting the Windows VM up, there are consecutive ~2 minutes that `ceph -w` gives me an interesting log like: "... 567 KB/s rd, 567 op/s", "... 789 KB/s rd, 789 op/s" and