NetBSD-Users archive

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

Re: Linux compat and swap



On Thu, 23 Apr 2020 10:56:15 +0100
Mike Pumford <mpumford%mudcovered.org.uk@localhost> wrote:

> If you have both memory intensive and filesystem intensive processes 
> running on a NetBSD system the kernel filesystem cache can end up 
> evicting programs running in the background that are inactive which
> then take a LONG time to recover. For a system with a reasonable
> amount of memory I found the vm.filemin and vm.filemax needed to be
> tweaked so that filesystem cache was more likely to be tweaked than
> program code.

Is this correct? I always thought that file cache was opportunistic,
i.e. it will use all free memory, but under no circumstances it should
evict any pages of running programs. The opposite should happen, i.e.
any program using memory should be allowed to steal it from file cache
at any time.


Home | Main Index | Thread Index | Old Index