Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have two processes running on an AIX machine, one is Oracle the other is Business Objects. BO takes nearly 100% CPU cycles when running and Oracle is unable to process at an acceptable speed obviously. BO has not given us an application specific solution to keep it from using all of the resources.

Is their any method in AIX to limit the BO process to a certain CPU cycle % or number of cores? Moving BO off of this machine is not an option at present. Any advise is greatly appreciated.

share|improve this question
1  
Use process priorities, not limits. If 100% of the CPU is available, why not let BO have it? Just give Oracle a bit of priority. –  David Schwartz Feb 15 '12 at 16:13
    
100% of what? If you have 4 CPU's visible to your OS, and a process reports 100% it may mean 1 CPU not all 4, it depends on the tool you're using on AIX. Also, depending on the setup you might be running a micro-partition already. So, need a little more information to answer anything more than generically. –  EightBitTony Feb 15 '12 at 18:37
add comment

2 Answers

Here I've found a pretty extensive explanation about process priority and control on AIX. According to it, you can get the top N performing processes by typing the following:

ps -elf | egrep -v "STIME|$LOGNAME" | sort +<N> -r | head -n 15

Then, when you know which processes are killing the system (in your case you already know that..), you can use 2 commands:

nice - Let you prioritize how the kernel schedules its processing. For example, the following command will add 10 to the default of 20 and create the new nice value of 30, with the priority of 70.:

# nice -n 10 thisjob

renice - Allows you to prioritize a process again that is already running. For example, the following command will cause process 1683 to have a nice value of 30:

# renice -n 10 -p 1683

That should be enough but you can find more detailed explanation in the above mentioned link.

share|improve this answer
add comment

Application WPAR's provide process isolation,

http://www.ibm.com/developerworks/aix/library/au-wpar61aix/

Depending on your hardware you might find micro-partitioning an option, or System WPAR's.

Micro-partitioning allows you to allocate less than a single CPU to different OS instances but still allow them to flex, and System WPAR's offer a similar feature but internally within an OS image.

Both have their place but bring different challenges.

Or, you can as others have suggested, use priorities to give Oracle a boost.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.