6,534
edits
Changes
m
{{Virtuozzo}}This article describes how to test [[VSwap]] functionality
Each container is assigned RAM and SWAP limits. When a container hitsthe RAM limit a (slow) swapout starts. When it hits the SWAP limit anOOM killer is invoked for that container. Note, that when a container hits its RAM limit, but there is enough RAMon the host pages do not go to *real* swap, but instead are cached inhost RAM. Real swapout starts when there is no more real RAM. The sameis fair for FS page cache - clean cache pages are moved to the host RAMinstead of being dropped when a container hits its RAM limit so that nopagein will happen on the next read provided there is enough free RAM onthe host. The base functionality will be available in * vzkernel-3.10.0-123.1.2.vz7.5.17* vcmmd-7.0.6 == How to test == [originally written by xemul@ for vswap]
More details will come later.
Kir moved page Memory Management in VZ7 to VSwap testing
We need the following set of atomic tests
6) No leaks happen after container stop. This will be done using kmemleak - see PSBM-34183
[[Category: QA]]