[Haskell-cafe] Killer pickler combinators (was Time leak)
joelr1 at gmail.com
Tue Dec 20 22:40:55 EST 2005
I still get timeouts with 5k threads. Not as often as with 1k before,
On Dec 21, 2005, at 3:35 AM, Donald Bruce Stewart wrote:
> It looks like with the 1000s of threads that get run, the problem is
> just getting enough cpu time for each thread. All the solutions that
> appear to work involve some kind of blocking (on Handles, MVars, ffi
> calls), allowing the scheduler to switch.
> So why don't we just increase the scheduler switch rate ourselves?
> Using +RTS -C -RTS we can convince the rts to switch on every
> alloc, and
> with 4000 threads running this seems to remove the timeout alerts, and
> give all threads enough time to get things done.
More information about the Haskell-Cafe