From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7823 invoked by alias); 10 Aug 2012 04:10:24 -0000 Received: (qmail 7521 invoked by uid 22791); 10 Aug 2012 04:10:23 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,KAM_TIME,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Aug 2012 04:10:09 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SzgY2-0001tg-0K for cygwin@cygwin.com; Fri, 10 Aug 2012 06:10:06 +0200 Received: from 203.17.204.243 ([203.17.204.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Aug 2012 06:10:05 +0200 Received: from zach.saw by 203.17.204.243 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Aug 2012 06:10:05 +0200 To: cygwin@cygwin.com From: Zach Saw Subject: Re: App runs 8x slower on dual core machine (with test case to replicate issue) Date: Fri, 10 Aug 2012 04:13:00 -0000 Message-ID: References: <20120809081720.GQ31757@calimero.vinschen.de> <50248583.30901@tlinx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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/msg00223.txt.bz2 Linda Walsh tlinx.org> writes: > I can confirm the perl test case: > > Using the referenced prog: > on Linux: > cyg-perl-thread-test.pl > This is perl 5, version 14, subversion 2 (v5.14.2) built for > x86_64-linux-thread-multi > Processing 10 tasks in 1 threads completed in 0.468952secs > Processing 10 tasks in 4 threads completed in 0.156822secs > cat /proc/cpuinfo/Hz|sort |uniq > model name : Intel(R) Xeon(R) CPU X5660 @ 2.80GHz > cpu MHz : 1596.000 > > On Cygwin: > This is perl 5, version 14, subversion 2 (v5.14.2) built for > cygwin-thread-multi-64int > Processing 10 tasks in 1 threads completed in 1.060806secs > Processing 10 tasks in 4 threads completed in 9.640635secs > /Users/law> cat /proc/cpuinfo|grep Hz|sort -r |uniq > model name : Intel(R) Xeon(R) CPU X5680 @ 3.33GHz > cpu MHz : 3325 Just out of curiousity are you running XP-32bit? If you are, could you try running the multithreaded test with CPU affinity set to 1 (single core)? You should see it take just a little more time to complete vs the single threaded one. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple