Add support for 'l2-cache-size' (a QCOW2 run time option for metadata cache size) for drives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
QCOW2 performance can be significantly improved by setting the l2-cache-size parameter for large qcow2 based storage (such as images and ephemeral drives) (see https:/
Adding support for this optional parameter (which adds [...]-drive file=hd.
A simple implementation where a default value could be set in nova.conf would already give an improved flexibility. A formula could also be used with a factor relative to the size of the storage.
Ideally, this could also be specified as an image or flavor property so that only large drives would need to allocate the additional memory.
I could not locate an option such as this in the OpenStack versions up to Liberty.
tags: | added: ops |
description: | updated |
summary: |
- l2-cache-size support for drives + Add support for 'l2-cache-size' (a QCOW2 run time option for metadata + cache size) for drives |
Additional info
----------------
The original change in QEMU was introduced in this commit (18 Aug 2014)
http:// git.qemu. org/?p= qemu.git; a=commit; h=6c1c8d5 -- qcow2: Add
runtime options for cache sizes
And, some documentation on QCOW2 cache configuration:
http:// git.qemu. org/?p= qemu.git; a=blob; f=docs/ qcow2-cache. txt;h=5bb0607