[sheepdog-users] Enable cache on some nodes and some not
Liu Yuan
namei.unix at gmail.com
Tue May 7 15:06:08 CEST 2013
On 05/07/2013 08:45 PM, Valerio Pachera wrote:
> Is it possible to enable cache only on some nodes of the cluster?
>
Sure. The object cache stores the data on the node where runs sheep
daemon that VM connect to.
There are two ways to disable object cache:
1 no '-w' option enabled at startup. Cache is completely disabled for
this node. Cache option control from QEMU command is meaningless.
2 '-w' for sheep is enabled. Then QEMU take control of cache mode of
the VM connected to this sheep.
- cache=writeback, enables the writeback cache for this VM
- cache=directio, disable the cache for this VM
- cache=writethrough, enables the writethrough cache for this VM
Thanks,
Yuan
More information about the sheepdog-users
mailing list