www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/06/17:12:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000401c4639d$e7d7a060$0a99fa04@2mbit.com>
From: "Brian Bruns" <bruns AT 2mbit DOT com>
To: <mathias DOT wagner AT philips DOT com>, <cygwin AT cygwin DOT com>
References: <OF0F3D760E DOT A74819D2-ONC1256EC9 DOT 0063E10C-C1256EC9 DOT 00648857 AT philips DOT com>
Date: Tue, 6 Jul 2004 15:03:51 -0400
MIME-Version: 1.0
Received-SPF: neutral (everest.sosdg.org: 4.250.153.10 is neither permitted nor denied by domain of 2mbit.com)
X-Scan-Signature: f4a2161a70e9ca874377242522da36ff
X-SA-Exim-Connect-IP: 4.250.153.10
X-SA-Exim-Mail-From: bruns AT 2mbit DOT com
Subject: Re: two instances of a.exe on dual processor - still only 50% performance
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on everest.sosdg.org
X-Spam-Level:
X-Spam-Status: No, hits=-4.9 required=9.0 tests=BAYES_00 autolearn=no version=2.63
X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000]
X-SA-Exim-Version: 4.0 (built Wed, 05 May 2004 12:02:20 -0500)
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On Tuesday, July 06, 2004 2:16 PM [EST], mathias DOT wagner AT philips DOT com
wrote:

> Hi guys,
>
> I've tried to plough through your archives on dual processors and
> somebody said that when you've got a dual processor machine, one
> has to start two instances of one's program to get both processors
> working - one on each job. Fine, this is what I used to do on a DEC
> Apha, but on my Windows box this does not seem to be the case. I
> still get only 50% out of the box when checking with taskmgr...
> What am I doing wrong? Do I need to write "multi-threaded",
> whatever that is? Doesn't seem to make much sense to me. Two
> perfectly independent jobs should run just fine along each other,
> using both CPUs to the maximum...
>
> Many thanks for any help!
>
> Mathias

From my experience, you have to set the process's processor affinity
(my spelling sucks).   In windows, this can be done IIRC by using the
task manager.  You tell it which processor you want the process to run
on exclusively.

Of course, this was many years ago when I last played with dual
processors on a Windows machine (why waste such system power with an
OS like Windows when Linux can make the most of it?).

Ahh the days of dual PPro 200s and Windows 2000 Pro :)


-- 
Brian Bruns
The Summit Open Source Development Group
Open Solutions For A Closed World / Anti-Spam Resources
http://www.sosdg.org

The Abusive Hosts Blocking List
http://www.ahbl.org


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019