From owner-freebsd-questions Fri May 10 12:55:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by hub.freebsd.org (Postfix) with ESMTP id 56F8437B406 for ; Fri, 10 May 2002 12:55:27 -0700 (PDT) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g4AJtHU12100; Fri, 10 May 2002 15:55:17 -0400 Message-ID: <3CDC26EB.2090605@potentialtech.com> Date: Fri, 10 May 2002 16:00:43 -0400 From: Bill Moran Organization: Potential Technologies User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fred Clift Cc: freebsd-questions@freebsd.org Subject: Re: pinning a process in real mem (ie unswappable) References: <20020510101409.V49351-100000@vespa.dmz.orem.verio.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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