10-17-2011, 05:52 PM
Adding 'nice' to a process on top of 'chrt' is irrelevant. In linux_sched.c, chrt gives more of a 'benefit' to process scheduling than 'nice' could ever do. Personally in my tests, a process with SCHED_FIFO (unixbyte, dd and others) with a nice of -20 to 20 gives no noticeable changes. I haven't found any cases where nice is even used anymore, personally I think it's ancient cruft from the days of SysV/ancient BSD systems.
You should simply remove it and use say, ionice.
You should simply remove it and use say, ionice.
http://leaf.dragonflybsd.org/~gary
“The two most common elements in the universe are hydrogen and stupidity.”
“The two most common elements in the universe are hydrogen and stupidity.”