[pve-devel] firsts cache benchs results
Alexandre DERUMIER
aderumier at odiso.com
Thu Nov 8 10:35:40 CET 2012
>>No really, because we add 'cache=none' for raw files to the kvm command line.
Oh, Indeed,I miss that !
if (!$drive->{cache} && ($path =~ m|^/dev/| || $path =~ m|\.raw$|)) {
$opts .= ",cache=none";
}
So proxmox gui said that default is cache=none, but only from raw file ;)
I'll redo test with raw file on local storage too.
nfs test is on the way.
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Mercredi 7 Novembre 2012 18:54:02
Objet: RE: [pve-devel] firsts cache benchs results
> >> AFAIR that is why we added 'cache=none' in the past
>
> What I'm not sure, it's that in proxmox gui, the option "default (no cache)"
> don't pass any parameter to qemu drive parameter command line.
Yes (default should not add any drive parameter).
Although we currently add 'cache=none' for raw files to the kvm command line!
> But qemu doc say that default cache mode was writethrough before qemu
> 1.2 ...
AFAIK qemu docs still say that (docu is wrong)
> So it was an error in proxmox gui ?
No really, because we add 'cache=none' for raw files to the kvm command line.
But if we use different defaults in future, we need to change that.
More information about the pve-devel
mailing list