rtprio.1 (140442) | rtprio.1 (208027) |
---|---|
1.\" 2.\" Copyright (c) 1994, Henrik Vestergaard Draboel 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" | 1.\" 2.\" Copyright (c) 1994, Henrik Vestergaard Draboel 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" |
31.\" $FreeBSD: head/usr.sbin/rtprio/rtprio.1 140442 2005-01-18 20:02:45Z ru $ | 31.\" $FreeBSD: head/usr.sbin/rtprio/rtprio.1 208027 2010-05-13 12:07:55Z uqs $ |
32.\" 33.Dd July 23, 1994 34.Dt RTPRIO 1 35.Os 36.Sh NAME 37.Nm rtprio , 38.Nm idprio 39.Nd execute, examine or modify a utility's or process's realtime --- 116 unchanged lines hidden (view full) --- 156.Xr nice 3 , 157.Xr renice 8 158.Sh HISTORY 159The 160.Nm 161utility appeared in 162.Fx 2.0 , 163but is similar to the HP-UX version. | 32.\" 33.Dd July 23, 1994 34.Dt RTPRIO 1 35.Os 36.Sh NAME 37.Nm rtprio , 38.Nm idprio 39.Nd execute, examine or modify a utility's or process's realtime --- 116 unchanged lines hidden (view full) --- 156.Xr nice 3 , 157.Xr renice 8 158.Sh HISTORY 159The 160.Nm 161utility appeared in 162.Fx 2.0 , 163but is similar to the HP-UX version. |
164.Sh CAVEATS 165You can lock yourself out of the system by placing a cpu-heavy 166process in a realtime priority. | |
167.Sh AUTHORS 168.An -nosplit 169.An Henrik Vestergaard Draboel Aq hvd@terry.ping.dk 170is the original author. 171This 172implementation in 173.Fx 174was substantially rewritten by 175.An David Greenman . | 164.Sh AUTHORS 165.An -nosplit 166.An Henrik Vestergaard Draboel Aq hvd@terry.ping.dk 167is the original author. 168This 169implementation in 170.Fx 171was substantially rewritten by 172.An David Greenman . |
173.Sh CAVEATS 174You can lock yourself out of the system by placing a cpu-heavy 175process in a realtime priority. |
|
176.Sh BUGS 177There is no way to set/view the realtime priority of process 0 178(swapper) (see 179.Xr ps 1 ) . 180.Pp 181There is in 182.Fx 183no way to ensure that a process page is present in memory therefore 184the process may be stopped for pagein (see 185.Xr mprotect 2 , 186.Xr madvise 2 ) . 187.Pp 188Under 189.Fx 190system calls are currently never preempted, therefore non-realtime 191processes can starve realtime processes, or idletime processes can 192starve normal priority processes. | 176.Sh BUGS 177There is no way to set/view the realtime priority of process 0 178(swapper) (see 179.Xr ps 1 ) . 180.Pp 181There is in 182.Fx 183no way to ensure that a process page is present in memory therefore 184the process may be stopped for pagein (see 185.Xr mprotect 2 , 186.Xr madvise 2 ) . 187.Pp 188Under 189.Fx 190system calls are currently never preempted, therefore non-realtime 191processes can starve realtime processes, or idletime processes can 192starve normal priority processes. |