[RC5] How to detect the number of processors on a UNIX

James Mastros root at jennifer-unix.dyn.ml.org
Thu Jan 29 00:00:04 EST 1998


system?
Sender: owner-rc5 at lists.distributed.net
Precedence: bulk
Reply-To: rc5

On Wed, 28 Jan 1998, Chris Vanden Berghe wrote:
> I've got rc564-solaris251-6403-320-mt running on a multiprocessor system
> (min 8), but I don't know how many processors it contains.  So sue me ;-)
> If there is no way of asking anybody, what is the best number to number to
> use for the numcpu option?
> 
> Chris.

Start with 8, and keep going up till your keyrate stops going up. <G>.
(Also, try starting top and checking your idle percentage.  It should be
200% for to processors, etc.) That, or just pop off the case and count
<G>...

	-=- James Mastros

--
To unsubcribe, send 'unsubscribe rc5' to majordomo at lists.distributed.net
rc5-digest subscribers replace rc5 with rc5-digest



More information about the rc5 mailing list