App runs 8x slower on dual core machine (with test case to replicate issue)
Zach Saw
zach.saw@gmail.com
Fri Aug 10 06:31:00 GMT 2012
Zach Saw <zach.saw <at> 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
More information about the Cygwin
mailing list