This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: pthreads works, sorta
- To: "Greg Smith" <gsmith at nc dot rr dot com>
- Subject: RE: pthreads works, sorta
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Wed, 27 Jun 2001 14:46:10 +1000
- Cc: <cygwin at cygwin dot com>
> -----Original Message-----
> From: Greg Smith [mailto:gsmith@nc.rr.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/