Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ddellutr@MCS.COM (Dale Dellutri)
Subject: Re: Multiple CPUs: getting them all working...
Date: 1998/11/19	[thread overview]
Message-ID: <731dve$935$1@Venus.mcs.net> (raw)
In-Reply-To: siwfwZ4shKAh@mcrcr6

In comp.os.vms smithp01@mcrcr6.med.nyu.edu wrote:
> We have started dabbling in multi-processor software and obtained a database 
> search program that is meant to run using all available CPUs in the box.
>...
> But the software on an empty machine only seems to use 2 of the four CPUs.
>...
> The question is: why doesn't it use all 4? since the same program on DU uses 
> 3.5 CPUs worth (reportedly).  The system parameter MULTITHREAD = 4, so 
> presumably VMS should use them and it has no problem using all of just two 
> (199%/400% CPU).  Another issue might be that the program is IO-bound, but 
> disk accesses seem very modest based on the little flashing lights.  ANAL/SYS 
> shows 4 threads active.
Could this perhaps happen because it only _needs_ two cpus to run four
threads?  This could happen if two of the the threads tend to be doing
IO (and thus in IO wait) while the other two are using the CPU.  Would
setting MULTITHREAD to an even higher number help?

The different usage under DU (3.5 cpus) could be due to any number of
factors - cpu speed, IO overlap, IO caching, less/more spinlock
contention, etc.
-- 
Dale Dellutri - ddellutr@mcs.net



      parent reply	other threads:[~1998-11-19  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-18  5:00 Multiple CPUs: getting them all working smithp01
1998-11-18  5:00 ` Peter LANGSTOEGER
1998-11-18  5:00   ` Bob Boylan
1998-11-19  5:00 ` mathog
1998-11-19  5:00 ` Dale Dellutri [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox