Disable RBD caching by default
Results in a massive (~2x) performance boost for random block I/O inside VMs, and thus a worthwhile default change.
This commit is contained in:
parent
8135426973
commit
6d7730ab52
|
@ -100,7 +100,7 @@ devices_scsi_controller = """ <controller type='scsi' index='0' model='virtio
|
||||||
# * vm_name
|
# * vm_name
|
||||||
# * disk_id
|
# * disk_id
|
||||||
devices_disk_header = """ <disk type='network' device='disk'>
|
devices_disk_header = """ <disk type='network' device='disk'>
|
||||||
<driver name='qemu' discard='unmap'/>
|
<driver name='qemu' discard='unmap' cache='none'/>
|
||||||
<target dev='{disk_id}' bus='scsi'/>
|
<target dev='{disk_id}' bus='scsi'/>
|
||||||
<auth username='libvirt'>
|
<auth username='libvirt'>
|
||||||
<secret type='ceph' uuid='{ceph_storage_secret}'/>
|
<secret type='ceph' uuid='{ceph_storage_secret}'/>
|
||||||
|
|
Loading…
Reference in New Issue