From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2163 invoked by alias); 10 Aug 2012 04:19:18 -0000 Received: (qmail 2154 invoked by uid 22791); 10 Aug 2012 04:19:15 -0000 X-SWARE-Spam-Status: No, hits=0.4 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:19:02 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Szggd-0006n7-AM for cygwin@cygwin.com; Fri, 10 Aug 2012 06:18:59 +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:18:59 +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:18:59 +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 06:31: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/msg00225.txt.bz2 Zach Saw gmail.com> writes: > > On Cygwin: > > This is perl 5, version 14, subversion 2 (v5.14.2) built for > > cygwin-thread-multi-64int > > 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. Actually, you'd be running under 64-bit Windows with perl being compiled as native 64-bit app. In which case, could you also try what I described above? You should be able to set CPU affinity of the perl process by first setting affinity of a parent process (e.g. cmd.exe). Then run perl from that cmd.exe. Child processes will follow the affinity. -- 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