LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-30-2011, 02:52 AM   #1
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
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?
 
Old 08-30-2011, 04:20 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Lightbulb



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 ?

I am not sure if my assumptions are correct but this is how I always perceived it.
 
Old 08-30-2011, 04:30 AM   #3
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Original Poster
Rep: Reputation: 174Reputation: 174
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: New priorities for Ubuntu? LXer Syndicated Linux News 0 06-14-2010 12:30 PM
a document manager that can set priorities(Ubuntu)? wringer Linux - Software 1 04-04-2010 01:08 PM
LXer: Ubuntu: 9 Priorities for Canonical's Incoming CEO LXer Syndicated Linux News 0 12-21-2009 05:00 PM
LXer: Ubuntu: 9 Priorities for Canonical's Incoming CEO LXer Syndicated Linux News 0 12-21-2009 04:00 PM
Thread priorities not working ujjwal_rp Linux - Software 1 03-29-2007 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration