CPU Caps: A Gift from the Heavens

To quote Dan Price:

Andrei just released a public Beta of his latest project– CPU Caps, which is a new and very useful resource management feature for Solaris, and for zones.
Unlike CPU shares, CPU caps let you naturally limit CPU usage for a project or for a zone. My favorite part is that you talk to the system about these caps in terms of percentage of a CPU. So, a cap of “150″ means “150%” or “never use more than 1 and 1/2 CPUs”.

I’ve been waiting at least a decade for this, and to be honest when Zones came out and didn’t have this feature I was more than a little disapointed.. But now.. it’s here! Per zone! Per app! My god man!

I haven’t slept much this week and was planning on crashing early tonight to catch up, but clearly that will have to wait. I need to start capping CPUs, damnit!


About this entry