Run queue threshold for Ultra SPARC IV CPUs

G'day Support,

From my customer, who is running Solaris 8 (kjp117350-28) :

===

Hi,

Could you please help me with the following question.

One of the metrics that we use when estimating whether or not we have enough CPU resources available is the run queue. We often use the following rule of thumb. If the number of processes in the run queue is greater than four times the number of CPUs or thereabouts we look at adding additional CPU resources (Ultra SPARC II or III, single core CPU). This figure is based upon a section in "Sun Performance and Tuning" by Adrian Cockcroft.

When using a dual core processor such as the Ultra SPARC IV CPU does this calculation change? Is it more variable? i.e some people say that a dual core CPU gives around a 25% to 75% boost in performance. Would a run queue threshold based upon number of CPUs multiplied by 4 by 1.5 be adequate. Where 1.5 assumes a 50% performance boost?

Should each core be given equal value when calculating a run queue threshold (rule of thumb)? i.e number CPUs x number of cores?

Thank you.

===

...and thank you support,

Regards,

Michael Abboud

Alphawest Services Pty Ltd

[1224 byte] By [mabboud123] at [2007-11-26 10:52:47]
# 1

The load av = 4* CPU rule is a gross approximation anyway. It depends entirely on your workload and requirements. Some workloads might be inadequate with a load av of 2.

Some might be fine at 10.

The 2 cores in a US4 are pretty close 2 to separate CPU's anyway. Except they share some cache/memory bandwidth. So depending on how memory intensive your app is you can consider them to be 1.5 CPU's or 2.

But the important question is your performance. If the performance is fine, then you don't need more CPU's.

But if your load av is lower than the number of CPU's then adding more probably won't help much...

robertcohen at 2007-7-7 3:05:42 > top of Java-index,General,Talk to the Sysop...