
Sadly, it also comes with a price: everything including GCs runs at every
context switch instead of waiting for an appropriate number of ticks to
pass. (That said, I've also been bitten by the interrupt issue.)
On Mon, Oct 18, 2021 at 10:28 AM Donn Cave
quoth Henning Thielemann
On Mon, 18 Oct 2021, Sylvain Henry wrote:
The timer isn't only used for profiling, it is used for scheduling too. You can disable it with `+RTS -V0` (cf
https://ghc.gitlab.haskell.org/ghc/doc/users_guide/debug-info.html#tutorial )
Cool, this works!
What does it break? Just about anything I'd run that was written in Haskell must run this way, to avoid fatal interrupts in things like socket I/O, so it's essentially a default - everything must be built with -rtsopts, and run with GHCRTS=-V0 environment.
Donn _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
-- brandon s allbery kf8nh allbery.b@gmail.com