Re: Memory mapped pages not being swapped out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 06-06-18 10:28:00, Rafael Telles wrote:
> Thank you so much for your attention Michal,
> 
> Are there any settings (such as sysctl parameters) that I can use to better
> control the memory reclaiming? Such as: defining the max. amount of mmap
> pages allocated or max. amount of memory used by mmap pages?

None that I know of. You shouldn't really care about this, really.

> Or will the system start reclaiming only when it needs more memory?

Exactly. We try to keep the memory used as much as possible.

> I found that I could use madvise with MADV_DONTNEED in order to actively
> free RSS memory used by mmap pages, but it would add more complexity on my
> software.

That would be an option. But it really depends on what you are trying to
achieve.
-- 
Michal Hocko
SUSE Labs




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux