Date: Wed, 01 Apr 1998 18:41:19 -0800 From: David Greenman <dg@root.com> To: Mikhail Teterin <mi@video-collage.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: swap-leak in 2.2.5 ? Message-ID: <199804020241.SAA09897@implode.root.com> In-Reply-To: Your message of "Wed, 01 Apr 1998 21:23:08 EST." <199804020223.VAA29806@xxx.video-collage.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>David Greenman once stated: > >= FreeBSD will slowly page infrequently used pages out in favor of >=file caching, and 8MB (or 32+8) is about what you'd expect to see in >=this case. Poul's problem seems to be different, however. > >Oh, this reminds me of something I wanted to ask. Is there a way to >control this behavior? Can I specify a limit of the file cache, for >example (with sysctl)? Or that some process is precious, and its pages >should not be swaped for file cache (without coding madvise() into >it)? The only way to do this would be to lock the pages in memory with mlock(); I don't know if the bugs have been fixed in that, however - it used to be broken. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804020241.SAA09897>