All of lore.kernel.org
 help / color / mirror / Atom feed
* VM Corruption on 0.54 when 'client cache = false'
@ 2012-12-03  2:18 Matthew Anderson
  2012-12-03  5:01 ` Yehuda Sadeh
  2012-12-03 10:00 ` Josh Durgin
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew Anderson @ 2012-12-03  2:18 UTC (permalink / raw)
  To: 'ceph-devel@vger.kernel.org'

Hi All,

I've run into a corruption bug when the RBD client cache is set to false under QEMU-KVM. With the cache on everything is fine but write speeds drop considerably, 4KB sequential goes from 5.1MB/s to 1.8MB/s no matter what size the cache is or if writethrough is used. With the cache off I am usually able to boot the virtual machine once after copying a template to RBD using qemu-img. If I shut the VM down completely and boot it up again the virtual machine no longer sees it's partitions correctly and boots into restore mode where it can't fix itself. The test VM I was using was Windows Server 2012 Standard and Ceph is setup as a single node.

Ceph version is 0.54 (commit:60b84b095b1009a305d4d6a5b16f88571cbd3150)

Host setup is -
Dual Intel 5620, 48GB 
4x 480GB SSD attached via the onboard SATA.
Each OSD was setup with a 1GB journal partition and the rest of the space as BTRFS
40GB Infiniband + 2x 1GBe
Scientific Linux 6.3 running mainline Kernel 3.6.7 from Elrepo
QEMU-KVM userspace 1.2.0 compiled from source

I was able to find a reference to a previous bug which was resolved by setting "filestore fiemap threshold = 0" and "filestore fiemap = false" but this didn't have any effect on the issue. I have also tried the latest GIT version (as of 3 days a go) and the issue appeared to be there still but I didn't test enough to say conclusively that the bug is the exact same. 

Is anyone able to suggest anything that may help? If you need more information just let me know.

Thanks
-Matt


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-05 21:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03  2:18 VM Corruption on 0.54 when 'client cache = false' Matthew Anderson
2012-12-03  5:01 ` Yehuda Sadeh
2012-12-03 10:00 ` Josh Durgin
2012-12-05 13:51   ` Matthew Anderson
2012-12-05 21:25     ` Josh Durgin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.