>>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" <[email protected]> 
À: "Alexandre DERUMIER" <[email protected]> 
Cc: [email protected] 
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. 
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to