delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/27/00:57:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Subject: RE: pthreads works, sorta
Date: Wed, 27 Jun 2001 14:46:10 +1000
MIME-Version: 1.0
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF7A0D@itdomain002.itdomain.net.au>
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: pthreads works, sorta
Thread-Index: AcD+wg2cO46JKZKQR2K/Y/OUKKrAwgAAGc9w
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Greg Smith" <gsmith AT nc DOT rr DOT com>
Cc: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id AAA29295

> -----Original Message-----
> From: Greg Smith [mailto:gsmith AT nc DOT rr DOT com]
>
> Ummm, no   ;-)   Performance is now on pretty even keel with
> with the Pthread-win32  implementation.  This is where our
> `rogue' developer (`Fish') is claiming to reduce elapsed times
> 25% to match the elapsed times on linux.

Is your app cpu bound/sync or contention bound/ or io bound? (for that
25% ?)

Also other cygwin internals use VirtualQuery. I'm going to look into all
instances of VirtualQuery :]
 
As pthread-win32 is coded by some pretty clued up folk, (and we've met
their speed :} ) I wouldn't hold much hope of shaving more time off from
pthreads. CriticalSections may help. Profiling your app is probably
essential. (to understand where in cygwin/pthreads things need tuning).

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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