<div dir="ltr">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.)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 18, 2021 at 10:28 AM Donn Cave <<a href="mailto:donn@avvanta.com">donn@avvanta.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">quoth Henning Thielemann <<a href="mailto:lemming@henning-thielemann.de" target="_blank">lemming@henning-thielemann.de</a>><br>
> On Mon, 18 Oct 2021, Sylvain Henry wrote:<br>
> > The timer isn't only used for profiling, it is used for scheduling too. <br>
> > You can disable it with `+RTS -V0` (cf <br>
> > <a href="https://ghc.gitlab.haskell.org/ghc/doc/users_guide/debug-info.html#tutorial" rel="noreferrer" target="_blank">https://ghc.gitlab.haskell.org/ghc/doc/users_guide/debug-info.html#tutorial</a>)<br>
> <br>
> Cool, this works!<br>
<br>
What does it break? Just about anything I'd run that was written in<br>
Haskell must run this way, to avoid fatal interrupts in things like<br>
socket I/O, so it's essentially a default - everything must be built<br>
with -rtsopts, and run with GHCRTS=-V0 environment.<br>
<br>
Donn<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>