[Bug 437473] [NEW] Stock Ubuntu KVM ignores guest synchronous fileIO requests

tippettm tippettm at gmail.com
Sun Sep 27 03:42:38 BST 2009


Public bug reported:

Binary package hint: qemu-kvm

Reference the SQLite results in
http://www.phoronix.com/scan.php?page=article&item=linux_2631_kvm&num=3.

Under KVM, SQLite performs at least an order of magnitude faster than
outside the VM.  This is counter-intuitive since - in almost all cases,
performance should be at host speed or slower.

It is believed that SQLite opens files with O_SYNC set.  Hence the
SQLite library will be expecting that the operations will be written to
disk.  Judging by the numbers, the physical disk is not having the data
written.  It may be synchronous from the guest's perspective, but the
physical disk on the host backing the guest

This implies that for _any_ application that is expecting to have
synchronous writes for data integrity, that running under Ubuntu's
current KVM/qemu configration should be highly discouraged.

The current Indication is that qemu is configured with write-back
enabled.

** Affects: qemu-kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Stock Ubuntu KVM ignores guest synchronous fileIO requests 
https://bugs.launchpad.net/bugs/437473
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.



More information about the Ubuntu-server-bugs mailing list