Changes

Jump to: navigation, search

Page cache isolation

869 bytes added, 19:18, 17 December 2012
created
This page describes a new strict page cache isolation feature, which appeared in the kernel 042stab068.8 and later kernels.

The feature disables bouncing page cache pages between host and containers on physpages shortage in container. The internal reclaimer will drop cached data if container exceeded its physpages limit and pagecache isolation is turned on.

Current state can be obtained by reading the <code>/proc/bc/<id>/debug:pagecache_isolation</code> file. It is disabled by default.

The following sysctls are available:

* <code>ubc.pagecache_isolation</code> = <code>0</code>|<code>1</code>
: To turn on or off isolation for all containers

* <code>ubc.pagecache_isolation_on</code> = <<code>id</code>>
: To turn on for container <id> (write only)

* <code>ubc.pagecache_isolation_off</code> = <<code>id</code>>
: To turn off for container <id> (write only)

Navigation menu