UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have freshly installed an Ubuntu 10.04.1 by internet.
All is running well, but my nice values are all set to 0. Is there a script that handles these at boot time? How can I reset them to "appropriate" or "normal" levels (e.g. not all at 0)? I know in other installs, my nice levels vary depending on the process and the user.
Attached is a screen shot of my gnome-system-monitor, and aside from init, which I had set to -15, all others are at 0.
Computer specifications:
Linux AMD-LNX000 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
I understand 0 is a default nice level; however, I have not encountered a Linux system where all processes have a 0 nice level. I frequently see daemons at -5, or something, and other root services at -15.
Obviously, this posting is more related to performance than it is an actual problem.
If you have suggestions, I welcome them. Perhaps, I should work with SysV and chkconfig and check other Linux systems to see how they perform.
I am going to run the "Live CD" portion of this Ubuntu installation. This should be a good example to what the nice levels should be per each process. Of course, this will not determine special programs added to the install.
Does anyone know an in-system command to print out processes and their priorities to stdout?
The performance was improved when I used the noatime mount option in /etc/fstab.
I can also see by this installation some of the processes are running below a 0 nice level.
I am content with this installation; it took some work because my optical drives are going faulty. It's either that or the squashfs doesn't play nice with my drives.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.