Don't want to be interrupted
Bruce Karsh
karsh at trifolium.esd.sgi.com
Sun May 5 00:37:42 AEST 1991
In article mmcohen at 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 at sgi.com
More information about the Comp.sys.sgi
mailing list