Lines Matching full:swap

46  - accounting anonymous pages, file caches, swap caches usage and limiting them.
48 - optionally, memory+swap usage can be accounted and limited.
69 memory.memsw.usage_in_bytes show current usage for memory+Swap
72 memory.memsw.limit_in_bytes set/show limit of memory+Swap usage
74 memory.memsw.failcnt show the number of memory+Swap hits limits
76 memory.memsw.max_usage_in_bytes show max memory+Swap usage recorded
205 Since page's memcg recorded into swap whatever memsw enabled, the page will
225 2.4 Swap Extension
228 Swap usage is always recorded for each of cgroup. Swap Extension allows you to
236 memsw means memory+swap. Usage of memory+swap is limited by
239 Example: Assume a system with 4G of swap. A task which allocates 6G of memory
240 (by mistake) under 2G memory limitation will use all swap.
241 In this case, setting memsw.limit_in_bytes=3G will prevent bad use of swap.
242 By using the memsw limit, you can avoid system OOM which can be caused by swap
245 **why 'memory+swap' rather than swap**
247 The global LRU(kswapd) can swap out arbitrary pages. Swap-out means
248 to move account from memory to swap...there is no change in usage of
249 memory+swap. In other words, when we want to limit the usage of swap without
250 affecting global LRU, memory+swap limit is better than just limiting swap from
255 When a cgroup hits memory.memsw.limit_in_bytes, it's useless to do swap-out
256 in this cgroup. Then, swap-out will not be done by cgroup routine and file
390 c. Enable CONFIG_MEMCG_SWAP (to use swap extension)
471 2. The user is using anonymous memory and swap is turned off or too low
502 Charges recorded in swap information is not updated at removal of cgroup.
503 Recorded information is discarded and a cgroup which uses swap (swapcache)
542 rss # of bytes of anonymous and swap cache memory (includes
551 swap # of bytes of swap usage
555 inactive_anon # of bytes of anonymous and swap cache memory on inactive
557 active_anon # of bytes of anonymous and swap cache memory on active
570 hierarchical_memsw_limit # of bytes of memory+swap limit with regard to
595 Only anonymous and swap cache memory is listed as part of 'rss' stat.
613 there is a swap storage available. This might lead to memcg OOM killer
633 method and doesn't show 'exact' value of memory (and swap) usage, it's a fuzz
635 If you want to know more exact memory usage, you should use RSS+CACHE(+SWAP)
783 a page or a swap can be moved only when it is charged to the task's current
789 | 0 | A charge of an anonymous page (or swap of it) used by the target task. |
790 | | You must enable Swap Extension (see 2.4) to enable move of swap charges. |
798 | | page_mapcount(page) > 1). You must enable Swap Extension (see 2.4) to |
799 | | enable move of swap charges. |
887 pressure, the system might be making swap, paging out active file caches,