Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!sgi!karsh@trifolium.esd.sgi.com From: karsh@trifolium.esd.sgi.com (Bruce Karsh) Newsgroups: comp.sys.sgi Subject: Re: Don't want to be interrupted Message-ID: <101516@sgi.sgi.com> Date: 4 May 91 14:37:42 GMT References: <15332@darkstar.ucsc.edu> Sender: guest@sgi.sgi.com Reply-To: karsh@trifolium.sgi.com (Bruce Karsh) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 20 In article mmcohen@ssyx.ucsc.edu (Michael M. Cohen) writes: >While I am rendering real time video to NTSC tape, >I don't want anything to slow me down to below 30 fps. >This slowdown can occur if I move the mouse, if someone >logs in, if mail arrives, the disk updates etc... >Is there an easy way to lock out all distractions >temporarily? Perhaps someone has a shell to find >demons and stop them (and another to later bring them >back to life)? Might be necessary to temporarily >incapacitate the scheduler and swapping also (application >should have no problem fitting in existing memory)? >[machine id 4D310VGX-FX irix 3.3.2 16mb] You can do pretty by using the npri command to give your process a high non-degrading priority or by using the schedctl system call. You can also lock your process in memory by using the plock system call. Bruce Karsh karsh@sgi.com