* Poor performance with qemu and bcache FUA
@ 2015-03-28 16:49 Peter Kieser
0 siblings, 0 replies; only message in thread
From: Peter Kieser @ 2015-03-28 16:49 UTC (permalink / raw)
To: linux-bcache
[-- Attachment #1: Type: text/plain, Size: 984 bytes --]
Hello,
I finally was able to track down the commit that was causing poor
performance with qemu and LVM or qcow2 backed storage on virtual
machines since 2013 that use barriers on their guest FS (the default.)
This was most obvious with tools like apt-get and installing
linux-headers (it would take ~8 minutes on my system with 2 Intel 530
SSDs in RAID1):
http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.10.y&id=3fcbc17636c83da9d85e2604de4af56c215e6e3c
Looks like FUA implemented in bcache does not play nicely with qemu. I
reverted this commit, and now a single virtual machine is no longer able
to DoS all other virtual machines on the system. The symptoms would be
that the cache devices would be fully utilized with a small number of
writes.
Are there any plans to revisit this? I don't like the idea of leaving
FUA unadvertised as data loss could occur if there is a power failure.
Thank you,
-Peter
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4291 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-28 16:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-28 16:49 Poor performance with qemu and bcache FUA Peter Kieser
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.