From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,99ff2a54440f719d,start X-Google-Attributes: gid10f8a1,public X-Google-Thread: f7344,99ff2a54440f719d,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,99ff2a54440f719d,start X-Google-Attributes: gid1164f8,public From: smithp01@mcrcr6.med.nyu.edu Subject: Multiple CPUs: getting them all working... Date: 1998/11/18 Message-ID: #1/1 X-Deja-AN: 413315146 Organization: NYU Medical Center, New York, NY 10016, USA Newsgroups: vmsnet.alpha,comp.os.vms,comp.sys.dec 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| +-------------- --------------+