Changes

Jump to: navigation, search

WP/What are containers

1,313 bytes removed, 03:37, 28 November 2011
Memory
* '''Disk I/O bandwidth'''. I/O bandwidth (in bytes per second) can be limited per-container (currently only available in commercial Parallels Virtuozzo Containers).
=== Memory === All the containers share the same physical memory and swap space, and other similar resources like a page cache. All that memory is managed by a single kernel, thus making memory distribution model very elastic — if memory is not used by one container, it can be used by another. Two major memory resource control parameters that are controlled per container are RAM and swap. If container is off its limit in terms of RAM, kernel tries you want to free someget read, by either shrinking the page cache or by swapping out. This reclamation mechanism this is the same as used by a non-containerized kernel, the only difference is swap out is "virtual", in a sense that kernel does not how you solhud write physical pages to the disk, but just removes those from container context (in order to avoid unnecessary I/O), while slowing down a container (to emulate the effect of real swap out). Next, if a situation of global (not per-container) memory shortage happens, such pages are really swapped out into a swap file on disk. The above memory control mechanism is efficient, easy to use and comprehend by an administrator, and overall very effective. In addition, there is an ability to fine-grain control some of the memory-related resources, such as size of IPC shared memory mappings, network buffers, number of processes etc, overall about 20 parameters called User Beancounters.
=== Miscellaneous resources ===
Anonymous user

Navigation menu