[Shootout-list] Process Creation - useless test output
Tomasz Zielonka
t.zielonka@students.mimuw.edu.pl
Tue, 5 Oct 2004 09:25:49 +0200
On Tue, Oct 05, 2004 at 09:11:26AM +0200, Bengt Kleberg wrote:
> >However, there are some RTS options which greatly improve performance.
> >The program has to be run this way:
> >
> > ./procinst N +RTS -A20m -k256
> >
> >With this options the program runs even 200 times faster than without
> >them !?! :-/
> >
> >But I don't know if it legal here...
>
> i think it is legal if the requierments in the test are met. what does
> +rts do?
It allows to set various runtime parameters. In this case:
-A<size> Sets the minimum allocation area size (default 256k) Egs: -A1m -A10k
-k<size> Sets the initial thread stack size (default 1k) Egs: -k4k -k2m
If you run a GHC compiled program with +RTS -?, it will show you a help
message.
Best regards,
Tom
--
.signature: Too many levels of symbolic links