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.
70 memory.memsw.usage_in_bytes show current usage for memory+Swap
73 memory.memsw.limit_in_bytes set/show limit of memory+Swap usage
75 memory.memsw.failcnt show the number of memory+Swap hits limits
77 memory.memsw.max_usage_in_bytes show max memory+Swap usage recorded
207 Since page's memcg recorded into swap whatever memsw enabled, the page will
227 2.4 Swap Extension
230 Swap usage is always recorded for each of cgroup. Swap Extension allows you to
238 memsw means memory+swap. Usage of memory+swap is limited by
241 Example: Assume a system with 4G of swap. A task which allocates 6G of memory
242 (by mistake) under 2G memory limitation will use all swap.
243 In this case, setting memsw.limit_in_bytes=3G will prevent bad use of swap.
244 By using the memsw limit, you can avoid system OOM which can be caused by swap
247 **why 'memory+swap' rather than swap**
249 The global LRU(kswapd) can swap out arbitrary pages. Swap-out means
250 to move account from memory to swap...there is no change in usage of
251 memory+swap. In other words, when we want to limit the usage of swap without
252 affecting global LRU, memory+swap limit is better than just limiting swap from
257 When a cgroup hits memory.memsw.limit_in_bytes, it's useless to do swap-out
258 in this cgroup. Then, swap-out will not be done by cgroup routine and file
468 2. The user is using anonymous memory and swap is turned off or too low
498 Charges recorded in swap information is not updated at removal of cgroup.
499 Recorded information is discarded and a cgroup which uses swap (swapcache)
529 rss # of bytes of anonymous and swap cache memory (includes
538 swap # of bytes of swap usage
542 inactive_anon # of bytes of anonymous and swap cache memory on inactive
544 active_anon # of bytes of anonymous and swap cache memory on active
557 hierarchical_memsw_limit # of bytes of memory+swap limit with regard to
582 Only anonymous and swap cache memory is listed as part of 'rss' stat.
600 there is a swap storage available. This might lead to memcg OOM killer
620 method and doesn't show 'exact' value of memory (and swap) usage, it's a fuzz
622 If you want to know more exact memory usage, you should use RSS+CACHE(+SWAP)
759 a page or a swap can be moved only when it is charged to the task's current
765 | 0 | A charge of an anonymous page (or swap of it) used by the target task. |
766 | | You must enable Swap Extension (see 2.4) to enable move of swap charges. |
774 | | page_mapcount(page) > 1). You must enable Swap Extension (see 2.4) to |
775 | | enable move of swap charges. |
866 pressure, the system might be making swap, paging out active file caches,