From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2689 invoked by alias); 10 Aug 2012 03:43:46 -0000 Received: (qmail 2680 invoked by uid 22791); 10 Aug 2012 03:43:45 -0000 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 Received: from dancol.org (HELO dancol.org) (96.126.100.184) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Aug 2012 03:43:32 +0000 Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[192.168.1.2]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Szg8J-0006sR-RZ for cygwin@cygwin.com; Thu, 09 Aug 2012 20:43:31 -0700 Message-ID: <5024835E.1070102@dancol.org> Date: Fri, 10 Aug 2012 03:45:00 -0000 From: Daniel Colascione 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@cygwin.com Subject: Re: App runs 8x slower on dual core machine (with test case to replicate issue) References: <20120809081720.GQ31757@calimero.vinschen.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF85C3233EF638C263CC80324" X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00218.txt.bz2 --------------enigF85C3233EF638C263CC80324 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 903 On 8/9/12 8:29 PM, Zach Saw wrote: > Corinna Vinschen 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" Content-length: 235 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlAkg2IACgkQ17c2LVA10Vuy/QCg5hvG8YkjSAaUya7BaH6gSubR 2bQAn37pS57r0Cuw9GY5HDgDjaB9LaK8 =werA -----END PGP SIGNATURE----- --------------enigF85C3233EF638C263CC80324--