[Haskell-cafe] Joels Time Leak

Joel Reymont joelr1 at gmail.com
Thu Dec 29 08:57:27 EST 2005


On Dec 29, 2005, at 1:23 PM, Tomasz Zielonka wrote:

> - a deficiency of GHC's thread scheduler - giving too much time one
>   thread steals it from others (Simons, don't get angry at me - I am
>   probably wrong here ;-)

I would finger the scheduler, at least partially. There's no magic in  
this world and my Erlang version does not fare much better. Erlang  
too uses a GC and when a lot of threads load all that data into  
memory things are bound to get nasty.

The results for Erlang are more uniform, though. All the delays are  
all within 3-4s if I have 3s as the cut-off time and with GHC the  
delays are all over the place.

	Joel

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list