[Haskell-cafe] Problems with threading?

Isaac Gouy igouy2 at yahoo.com
Wed Jun 9 19:13:30 EDT 2010


--- On Mon, 6/7/10, Don Stewart <dons at galois.com> wrote:

> From: Don Stewart <dons at galois.com>
> Subject: Re: [Haskell-cafe] Problems with threading?
> To: "Isaac Gouy" <igouy2 at yahoo.com>
> Cc: "Louis Wasserman" <wasserman.louis at gmail.com>, "Haskell Café List" <haskell-cafe at haskell.org>
> Date: Monday, June 7, 2010, 4:43 PM
> igouy2:
> > As Louis has already mentioned this to me, I'll take
> the opportunity
> > to sketch out a simple approach - 
> > 
> > 
> > 1) GHC programs compiled without -threaded and run
> without +RTS -N are already shown for x86 and x64
> > 
> > http://shootout.alioth.debian.org/u32/compare.php?lang=ghc
> > 
> > http://shootout.alioth.debian.org/u64/compare.php?lang=ghc
> > 
> > 
> > 2) For quad-core, the GHC programs will all be
> compiled with -threaded and all run with +RTS -N4 
> > 
> > 
> > 3) That seems to match the approach taken with Erlang,
> where all the
> > programs on quad-core run with smp built into the vm,
> and all the
> > programs on one core run without smp built into the
> vm. 
> > 
> 
> Yep, that's fine.



All the GHC programs have been re-measured.

http://shootout.alioth.debian.org/u64q/compare.php?lang=ghc

http://shootout.alioth.debian.org/u32/compare.php?lang=ghc



Now how do we get those regex-dna and binary-trees programs to compile?

http://shootout.alioth.debian.org/u32/measurements.php?lang=ghc



      



More information about the Haskell-Cafe mailing list