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

Lukas Larsson garazdawi@REDACTED
Mon Jun 27 17:13:36 CEST 2016

On Mon, Jun 27, 2016 at 5:05 PM, Jesper Louis Andersen <
jesper.louis.andersen@REDACTED> wrote:

> On Mon, Jun 27, 2016 at 4:43 PM, Max Lapshin <max.lapshin@REDACTED>
> wrote:
>> What does busy_wait means here?  Is it a waisted CPU that I need to
>> optimize to handle more input traffic? Or is it cpu that will be used as
>> soon as my load grows?
> My guess is that it is busy-waiting on the CPU in order to be able to
> serve new events with lower latency. So once your system increases its
> traffic load, less time will be spent waiting.
It is indeed. If you want to play with less (or more) spinning you can play
with +sbwt, +swt and +swct. +sbwt controls most (but not all) of the
spinning that is done by schedulers.

Btw, are you seeing any performance degradation when running with
msacc=extra? If so how much?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160627/b3ab805b/attachment.htm>

More information about the erlang-questions mailing list