delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/09/23:43:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_20,KHOP_PGP_SIGNED,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <5024835E.1070102@dancol.org>
Date: Thu, 09 Aug 2012 20:43:26 -0700
From: Daniel Colascione <dancol AT dancol DOT org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: App runs 8x slower on dual core machine (with test case to replicate issue)
References: <CAFY+UmUspDUbo4JaW9NDG1zf1oY2rgS5g3zO7q-qnby3tJqrSg AT mail DOT gmail DOT com> <20120809081720 DOT GQ31757 AT calimero DOT vinschen DOT de> <loom DOT 20120810T052639-721 AT post DOT gmane DOT org>
In-Reply-To: <loom.20120810T052639-721@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------enigF85C3233EF638C263CC80324
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 8/9/12 8:29 PM, Zach Saw wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
>=20
>> Thanks for the testcase, but... would you mind to change it to take the
>> boost lib out of the picture, by using just plain pthread functions, if
>> possible in plain C?
>=20
> Apparently someone else has already encountered similar problems in=20
> cygwin perl=20
> (http://www.nntp.perl.org/group/perl.perl5.porters/2011/07/msg174491.html)
> last year that went unfixed. Now that you have a test case in C++/Boost,=
=20
> you're asking for plain pthread/C?

Cygwin developers are experts in Cygwin, not Perl or Boost. Their job
is hard enough as it is. If you're not interested in being helpful,
I'm sure someone will sell you a support contract.

I don't know what Boost's threadpool uses internally, but if you
consult the source, you should be able to come up with a good testcase
in plain C.


--------------enigF85C3233EF638C263CC80324
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlAkg2IACgkQ17c2LVA10Vuy/QCg5hvG8YkjSAaUya7BaH6gSubR
2bQAn37pS57r0Cuw9GY5HDgDjaB9LaK8
=werA
-----END PGP SIGNATURE-----

--------------enigF85C3233EF638C263CC80324--

- Raw text -


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