Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2002 16:00:43 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Fred Clift <fclift@verio.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pinning a process in real mem (ie unswappable)
Message-ID:  <3CDC26EB.2090605@potentialtech.com>
References:  <20020510101409.V49351-100000@vespa.dmz.orem.verio.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Fred Clift wrote:
> 
> Is there any easy way to make a long-running process not ever get swapped
> out?  One that normally wouldn't be that busy, but for latency issues
> would be good to never have to wait to have pages mapped back in?

You may want to research this a bit further, because I'm not 100% sure,
but I think the sticky bit _used_ to do this.  It doesn't do it in
modern versions of FreeBSD.  In general, I don't think there's any
way to do what you ask.

Except, why not just buy enough memory that the machine never has
to swap?  With current prices at cents/meg, it seems a pretty
reasonable thing to do.

-- 
Bill Moran
Potential Technology
http://www.potentialtech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CDC26EB.2090605>