Zone Resource Management
807559Sep 28 2004 — edited Jan 13 2005Is there anyway to limit the CPU usage of a zone reguardlesss of what the rest of the system is doing?
I've just now started looking at the resource management capabilities and I see that I can reallocate
CPU shares, but I'd like to say "ZoneA only gets 50% of the CPU" and even if the entire system is idle,
ZoneA still can use no more than 50%. Ordinarily I know that doesn't make much sense, if you've got CPU, use it, but I'm worried about heat. I'm debugging a problem were MySQL is running 100% constantly... it's not choking the system at all, but I'd like to cut the maxium usable CPU down to like 10% and ease off some of the utilization of the CPUs.
Is this possible or is adjusting the schedualing priorities all that I can do? As I understand it, I can set cpu-shares to 10, but if the system is idle and the proccess wants to run 100, it can... the limits only kick in when there is a constraint by other higher priority proccesses/projects.
Thanx