Bogus stats when running SMP programs
Ian Lynagh
igloo at earth.li
Mon Sep 25 20:46:30 EDT 2006
Hi Tomasz,
On Thu, Sep 21, 2006 at 08:03:53PM +0200, Tomasz Zielonka wrote:
>
> I am getting nonsensical execution statistics (+RTS -Sstderr) when
> running programs in SMP mode (+RTS -N2).
> Example:
>
> Task 0 (worker) : MUT time: 401572821.14s ( 21.89s elapsed)
> GC time: 0.00s ( 0.00s elapsed)
>
> Task 3 (worker) : MUT time: 401583421.14s ( 21.91s elapsed)
> GC time: 0.00s ( 0.00s elapsed)
>
> I am using ghc-6.5.20060919-i386-unknown-linux.tar.bz2 on
> Intel(R) Pentium(R) D CPU 3.20GHz (dual core) with
> kernel 2.6.16-2-686-smp (Debian 2.6.16-17).
I couldn't reproduce this with a simple program that forked off 4
threads to do computation on a single CPU machine, and neither could
someone on IRC with head from Sep 15 on a Core Duo.
Is it possible to send us a small example program along with exactly
what flags you used to compile and run it please?
Thanks
Ian
More information about the Glasgow-haskell-bugs
mailing list