LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2009, 06:35 PM   #1
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Rep: Reputation: 15
why MDADM runs with priority 10 (nice -5)?


Hi

I just wanted to know if there's any specific reason why MDADM runs with PRI of 10 (NI of -5)? It seems to be eating up all the process time from my other processes like DRBD and all that which run with PRI of 15 (NI=0).

Can I safely lower the PRI of MDADM without affecting anything critical?

Thanks
 
Old 03-16-2009, 08:28 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
It's your software RAID. I wouldn't touch it.
 
Old 03-17-2009, 12:50 PM   #3
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AlucardZero View Post
It's your software RAID. I wouldn't touch it.
Thanks for the reply. I know it's software RAID, but why not? Would it cause unexpected behavior or what? Can you please explain abit more?
 
Old 03-17-2009, 03:12 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Because it's important. If you think it's taking up to much CPU, try making sure it's updated to the latest level via your distro's package manager and see if that helps.
 
Old 03-17-2009, 06:02 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,835

Rep: Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008Reputation: 4008
Simply put, any software layer that interposes itself between applications and the physical hardware need to run at higher priority than the applications else queueing occurs at the software layer when requests come in from the higher priority client. Everybody suffers then.

Don't f*ck with it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
process priority,nice -- small question regarding high/low priority values beeblequix Linux - Newbie 1 10-11-2006 10:22 AM
Priority of processes (using nice) started from within a script podollb Linux - Software 1 01-08-2006 11:44 AM
Nice vs Priority, how do I prioritise a cronjob? stefaandk Linux - General 5 08-11-2005 08:17 PM
'nice' priority is working backwards! wapcaplet Linux - Software 5 11-19-2004 09:46 AM
Scheduling priority for the 'nice' command savoiu Linux - Newbie 2 05-18-2004 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 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