[lxc-users] writeback cache for all container processes?
Fajar A. Nugraha
list at fajar.net
Mon Feb 2 12:13:58 UTC 2015
You do know that lxc share the same kernel instance as the host OS, making
such settings not applicable?
--
Fajar
On Mon, Feb 2, 2015 at 6:59 PM, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> Is it possible to start a lxc container with "writeback cache", in a way
> similar to KVM's writeback cache?
>
> From "man kvm":
>
> cache=writeback
>
> It will report data writes as completed as soon as the data is
> present in the host page cache. This is safe
> as long as your guest OS makes sure to correctly flush disk caches
> where needed. If your guest OS does not
> handle volatile disk write caches correctly and your host crashes or
> loses power, then the guest may
> experience data corruption.
>
>
> --
> Tomasz Chmielewski
> http://www.sslrack.com
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150202/18b2ee83/attachment.html>
More information about the lxc-users
mailing list