From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e0cf147bd82c9241 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-08 18:04:25 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!noc.near.net!mv!fastball.unimaster.com!cherkus From: cherkus@fastball.unimaster.com (Dave Cherkus) Subject: Re: Locking Process in Memory under DEC OSF/1 Nntp-Posting-Host: cherkus.mv.com References: <2bmdgu$sq6@rigel.fccc.edu> Sender: usenet@mv.mv.com (Robert Chesler) Organization: UniMaster, Inc. Date: Tue, 9 Nov 1993 00:41:34 GMT Message-ID: Reply-To: cherkus@UniMaster.COM In article <2bmdgu$sq6@rigel.fccc.edu>, smrosen@vega.rm.fccc.edu (Steve Rosen) writes: |> I have a process that I want to lock in physical memory or at least keep in |> physical memory as much as possible. Is there any mechanism to control this. I |> don't have access to the source code so it would have to be done at the |> operating system level. On OSF/1, you have a choice... axposf.pa.dec.com> man -k lock | grep mem mlock, munlock (3) - Lock or unlock a specified region in memory (P1003.4/D11) mlockall, munlockall (3) - Lock or unlock all of a specified process's pages into memory (P1003.4/D11) plock (2) - Locks a process' text and/or data segments in memory In the past, I've used plock() with good results... ---- Dave Cherkus UniMaster, Inc. cherkus@unimaster.com