On Sun, 03 May 1998, Troels Arvin wrote:

>When the rc5des software is not running, the following procedure 
>takes around one minute:
>time cat /dev/hda1 >/dev/null
>(CPU usage is around 30%)
>
>When the rc5des software is running, the same procedure takes 
>15 minutes ('time' reports CPU usage as 0%)

Strange. However, 'nice' by itself doesn't guarantee that the nice'd
process will always run at the lowest priority -- it only guarantees
that the process will run at a relatively lower priority than other
processes on the system.

If you want to specifically tell the system to run your process only
when not doing anything else, then use 'nice -19' rather than 'nice'.
You can change the priority of the process by 'renice <PID>'; I suggest
you renice it to -19 and then rerun your tests.

--
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
[EMAIL PROTECTED]   the              change magnetic patterns
[EMAIL PROTECTED]      churches         on your hard disk.
-----------------------------------------------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to