Date: Fri, 17 Dec 2010 11:28:59 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-current@freebsd.org Cc: Anonymous <swell.k@gmail.com> Subject: Re: idle priority > 30 in top(1) and idprio > 31 Message-ID: <201012171128.59511.jhb@freebsd.org> In-Reply-To: <867hf9ashq.fsf@gmail.com> References: <867hf9ashq.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, December 17, 2010 12:16:49 am Anonymous wrote: > Is the following a regression? > > $ uname -vm > FreeBSD 9.0-HEAD-20101216-JPSNAP #0: Thu Dec 16 07:13:24 UTC 2010 > root@build-amd64-fbsd.allbsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > $ yes >/dev/null & > $ idprio 31 -$(pgrep yes) > $ top > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 2139 luser 1 117 i-23 10052K 1128K RUN 0:41 98.97% yes > $ idprio 444 -$(pgrep yes) > $ top > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 2139 luser 1 117 i-102 10052K 1128K RUN 0:42 97.56% yes > > On 8.0-RELEASE it's different > > $ yes >/dev/null & > $ idprio 31 -$(pgrep yes) > $ top > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 2653 luser 1 171 i31 5808K 596K RUN 0:10 97.88% yes > $ idprio 444 -$(pgrep yes) > idprio: idprio: Invalid argument > > - 8.1-RELEASE accepts idprio > 31, e.g. 444. I've fixed this part. > - 8.2-BETA1 shows negative values in top(1) like -CURRENT I don't see that here on HEAD (the top values look correct). -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012171128.59511.jhb>