[erlang-questions] Cost of doing +sbwt?

Jesper Louis Andersen <>
Fri Sep 4 10:09:31 CEST 2015


On Fri, Sep 4, 2015 at 12:39 AM, Paul Davis <>
wrote:

> Sooo....
>
> Distributed systems are hard.
>

One have to celebrate the small victories. You know what is causing the
trouble in the first place, and this is an important milestone. Surely,
auditd will impose an overhead in the running system, but this impact it is
having seems excessively high for an audit system to me.

The slightly higher CPU is to be expected, given that 15+ and onwards does
spinning waiting for runq entries. One nice trick is to enable monitor
events (erlang:system_monitor, see Basho's riak_sysmon as well). These will
warn you about long schedules. In particular long schedules on system calls
that are expected to return quickly :) Perhaps this will help in the future
when someone changes assumptions underneath the setup.


-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150904/22363fbb/attachment.html>


More information about the erlang-questions mailing list