Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • 1
    Is there any reason why you are concerned about what appears to be normal behavior? The linux kernel memory manager normally swaps pages to disk when they've not been used in a while, to make room for disk caches and buffers. You can see that shortly after there were lots of blocks in and blocks out, the kernel paged to disk in order to take advantage of real memory for disk cache. Commented Aug 2, 2019 at 14:12
  • It's certainly worth better understanding linux and the virtual memory manager! A lot of people get confused on that. For a really simplified explaination, check out Linux Ate My Ram!. Commented Aug 2, 2019 at 14:27
  • For a more in-depth explanation, please check out the documentation on the linux-mm.org site Commented Aug 2, 2019 at 14:27
  • But in general, unused RAM is wasted RAM, so the kernel tries its best to put it to good use. That means sending unused memory pages to swap and filling up disk cache and I/O buffers to speed up general usage. Commented Aug 2, 2019 at 14:29
  • 1
    Possible duplicate of Can kswapd be active if free memory well exceeds pages_high watermark? Commented Aug 2, 2019 at 20:21