LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-30-2010, 11:05 PM   #1
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

Rep: Reputation: 7
Exclamation Ubuntu 10.04.1: All 'nice' levels at 0


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

AMD Athlon 64 Processor 3000+
2.0 Gb RAM
26Gb ext4 /
25Gb ext3 /home
25Gb vfat
4Gb swap
TOTAL: 80Gb
ATI Radeon 9000 Series w/128 vram
1x DVD-RW/1x DVD/CD-RW
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	25
Size:	190.3 KB
ID:	4732  
 
Old 10-01-2010, 04:21 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Um.. 0 is normal. What makes you think it's not?
 
Old 10-01-2010, 04:37 PM   #3
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

Original Poster
Rep: Reputation: 7
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.
 
Old 10-01-2010, 05:16 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Well - if it ain't broke, why fix it?

I don't have any Ubuntus, by my Debian Lenny server only has kslowd00* at -5 and kmsd at +5. Everything else is 0.
 
Old 10-02-2010, 02:08 AM   #5
martinbc
Member
 
Registered: Jun 2010
Distribution: Ubuntu, played with Puppy Slitaz & OpenSUSE
Posts: 40

Rep: Reputation: 4
Not all niceness is set to 0, on my Ubuntu 10.4 box pulseaudio has a nice level of -11
 
Old 10-04-2010, 11:13 AM   #6
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

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

Thanks for all the posts.
 
Old 10-09-2010, 12:32 PM   #7
altech2k3
LQ Newbie
 
Registered: May 2005
Location: Minnesota, USA
Distribution: Fedora, Ubuntu, OpenBSD, KNOPPIX
Posts: 24

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


Reply

Tags
netinstall, priority, processes, ubuntu64bit



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
Run levels in Ubuntu maitrey Ubuntu 1 06-18-2009 05:48 AM
LXer: Linux: History Of Nice Levels LXer Syndicated Linux News 0 07-19-2007 04:46 PM
Why won't my FC3 rc0 and rc6 levels not call kill script when entering those levels? dvkwiatk Linux - General 2 11-11-2006 08:09 AM
How to change Nice levels permanently Peppercorn Linux - Software 0 12-21-2005 03:31 AM
Ubuntu and XP not playing nice. kojima Linux - Distributions 8 10-13-2004 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:34 PM.

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