LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Ubuntu priorities not working (ignored) (https://www.linuxquestions.org/questions/linux-desktop-74/ubuntu-priorities-not-working-ignored-900204/)

yooy 08-30-2011 02:52 AM

Ubuntu priorities not working (ignored)
 
I use "nice" to give processes different priorities. Especially one process (distributed computing project) is given lower priority. Although "nice" value changes in "top" the process take too much cpu time. This happened in Ubuntu 11.04, 11.11 and in current Crunchbang (Debian based) What can be done to get prioritys working?

jv2112 08-30-2011 04:20 AM

:twocents:

I would think nice would set the priority based on the the moment in time the command is issued. So if something changes as the system runs the priority would change. If after running nice and not getting the desired result after monitoring did you try to set again with renice ? :scratch:

I am not sure if my assumptions are correct but this is how I always perceived it. :study:

yooy 08-30-2011 04:30 AM

Acutaly the nice/renice command is not issued as nice value is assigned automaticaly at process startup time. Remember that nice/renice value is correct when monitoring ("top").

I just forgot to mention that process (distributed computing project-dnetc) runs as daemon.


All times are GMT -5. The time now is 11:42 AM.