> In any case, cache='none' (ie. O_DIRECT) won't work, and you shouldn't
> use it for throwaway test machines anyway. Since tmpfs always
> disappears at reboot, any machine you create on a tmpfs is a throwaway
> one, whether you intended that or not!
>
> Use cache='unsafe' on tmpfs.
>
> (This advice applies to libguestfs, virt-builder, etc too)
>
> For more info on caching modes, see:
> http://rwmj.wordpress.com/2013/09/02/new-in-libguestfs-allow-cache-mode-to-be-selected/
Does the type of storage being used for the KVM (e.g. LVM, a file, etc.)
change which cache mode should be employed? I ask because this page
says if raw volumes or partitions are used, the cache should be set to
"none":
http://www.linux-kvm.org/page/Tuning_KVM
Does that still hold true?
Regards,
Ranbir
--
Kanwar Ranbir Sandhu
Linux 3.14.3-200.fc20.x86_64 x86_64 GNU/Linux
11:18:22 up 5 days, 22:42, 3 users, load average: 0.92, 0.83, 0.79
_______________________________________________
virt mailing list
virt@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/virt
No comments:
Post a Comment