[erlang-questions] what means busy_wait in msacc erl 19.0?

Max Lapshin <>
Mon Jul 4 18:18:56 CEST 2016


Of course I'm interested!

We've got into performance troubles at the moment that cannot be tracked by
simple fprof or etop, so we will be glad to each tool.

On Mon, Jul 4, 2016 at 6:35 PM, Lukas Larsson <> wrote:

> In case you are interested Max, I have some new functionality for msacc
> that I will put in 19.1 or 20 or something which allows you to to see which
> BIF call is consuming the most time. You can get the changes here:
>
> https://github.com/garazdawi/otp/commits/lukas/erts/dirty_msacc_cleanup
>
> At the moment you have to enable it through changing a define in
> erl_msacc.h (
> https://github.com/garazdawi/otp/blob/lukas/erts/dirty_msacc_cleanup/erts/emulator/beam/erl_msacc.h#L40
> )
>
> Now I just have to add histogram buckets for each slot like lcnt does and
> it may start to be useful to hunt down nifs/bifs that take too long :)
>
> Lukas
>
> On Mon, Jun 27, 2016 at 8:12 PM, Max Lapshin <>
> wrote:
>
>> Only on real hardware.  We don't even debug such issues on a virtual
>> machines.
>>
>> It is not possible to take a crash dump, but it is possible to make
>> recon_alloc.  I will make it.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160704/551a724e/attachment.html>


More information about the erlang-questions mailing list