Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Multiple CPUs: getting them all working...
@ 1998-11-18  5:00 smithp01
  1998-11-18  5:00 ` Peter LANGSTOEGER
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: smithp01 @ 1998-11-18  5:00 UTC (permalink / raw)


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. We 
have a 4-CPU 4100, VMS 7.1, Patches include ALPPTHR02, ALPSYSA02, ALPBASE02 
but we don't have ALPTHREADS_03.

With help from many people (some of whom may be reading this here) we managed 
to get the programs running in multi-thread mode.  This was excellent news.  
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.  Since the s/w wasn't linked on our m/c we obtained a 
very similar program and built it today: it too is limited to 2 CPUs worth of 
the 4 available.
    
Before we pull the program appart to search for potential problems (hard to 
find for us with no threads programming experience) it would be good to know 
we've not overlooked something dumb.  For example, is there a parameter that 
limits users to N CPUs-worth (2 by default??).  Any other configuration hints 
or gottchas anyone has had experience with?

Thanks for the help!

+------------ 8F EF 51 4E 4F 23 22 AF  6A 41 D6 C0 AE 31 B1 82 ------------+
|Ross Smith, Academic Computing (RCR), NYU-SoM, 550 First Ave, NY, NY 10016|
|E-Mail:  SMITHP01@MED.NYU.EDU   Phone:  (212)263-5356:  FAX: (212)263-8139|
+-------------- <http://www.med.nyu.edu/people/P.Smith.html> --------------+



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-11-19  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox