Re: [ceph-users] Question about RADOS object consistency

2014-06-18 Thread Ke-fei Lin
2014-06-18 22:44 GMT+08:00 Gregory Farnum : > On Tue, Jun 17, 2014 at 9:46 PM, Ke-fei Lin wrote: >> 2014-06-18 1:28 GMT+08:00 Gregory Farnum : >>> On Tue, Jun 17, 2014 at 3:22 AM, Ke-fei Lin wrote: >>>> Hi list, >>>> >>>> How does RADOS ch

Re: [ceph-users] Question about RADOS object consistency

2014-06-17 Thread Ke-fei Lin
2014-06-18 1:28 GMT+08:00 Gregory Farnum : > On Tue, Jun 17, 2014 at 3:22 AM, Ke-fei Lin wrote: >> Hi list, >> >> How does RADOS check an object and its replica are consistent? Is there >> a checksum in object's metadata or some other mechanisms? Does the >>

[ceph-users] Question about RADOS object consistency

2014-06-17 Thread Ke-fei Lin
Hi list, How does RADOS check an object and its replica are consistent? Is there a checksum in object's metadata or some other mechanisms? Does the mechanism depend on OSD's underlying file system? And what would happen if a corrupted object being readed (like a corrupted block in traditional fil

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 interesti

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 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 > > hd

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

[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