[lxc-users] writeback cache for all container processes?

Tomasz Chmielewski mangoo at wpkg.org
Mon Feb 2 12:23:49 UTC 2015


On 2015-02-02 21:13, Fajar A. Nugraha wrote:
> You do know that lxc share the same kernel instance as the host OS,
> making such settings not applicable?

Why not? Perhaps I wasn't very specific when starting the thread.


It's certainly possible to do "not applicable" kinds of things with 
processes and their page cache, i.e.:

https://code.google.com/p/pagecache-mangagement/


Or here, disabling O_DIRECT and sync would be sort of matching 
"feature-wise" with KVM's cache=writeback:

http://www.mcgill.org.za/stuff/software/nosync


Is it possible to set things like this for all processes in a given lxc 
container?



-- 
Tomasz Chmielewski
http://www.sslrack.com



More information about the lxc-users mailing list