LWN.net Logo

Speeding up qemu-kvm

Speeding up qemu-kvm

Posted Jun 17, 2011 22:04 UTC (Fri) by jrn (subscriber, #64214)
In reply to: Native Linux KVM tool v2 by Darkmere
Parent article: Native Linux KVM tool v2

Based on

> Some block drivers perform badly with cache=writethrough, most notably, qcow2. If performance is more important than correctness, cache=writeback should be used with qcow2.

I switched to cache=unsafe, and life became way better. The kind of tests I do in VMs let me recreate the image if there's a sudden crash, so safety is not such a worry. Not sure if virt-install does something like that.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds