From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,99ff2a54440f719d X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,99ff2a54440f719d X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,99ff2a54440f719d X-Google-Attributes: gid1164f8,public From: eplan@kapsch.net (Peter LANGSTOEGER) Subject: Re: Multiple CPUs: getting them all working... Date: 1998/11/18 Message-ID: <36535b52.0@nevada.kapsch.co.at>#1/1 X-Deja-AN: 413318264 References: X-Complaints-To: abuse@Austria.EU.net X-Trace: fleetstreet.Austria.EU.net 911432534 17525 148.198.10.231 (18 Nov 1998 23:42:14 GMT) Organization: <<< KAPSCH AG, Vienna, AUSTRIA Reply-To: eplan@kapsch.net NNTP-Posting-Date: 18 Nov 1998 23:42:14 GMT Newsgroups: vmsnet.alpha,comp.os.vms,comp.sys.dec In article , smithp01@mcrcr6.med.nyu.edu writes: >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? Affinity and Capability, perhaps ? $ HELP SET CPU/CAPABILITY $ HELP SET PROCESS/AFFINITY ------------------------------------------------------------------------ Peter "EPLAN" LANGSTOEGER Tel. +43 1 81111-2651 Network and OpenVMS system manager Fax. +43 1 81111-888 FBFV/Information Services E-mail eplan@kapsch.net <<< KAPSCH AG Wagenseilgasse 1 PSImail PSI%(0232)281001141::EPLAN A-1121 VIENNA AUSTRIA "I'm not a pessimist, I'm a realist" "VMS is today what Microsoft wants Windows NT V8.0 to be!" Compaq, 22-Sep-1998