High CPU usage by beam.smp
fasil at gnisir.com
Thu Jan 28 08:58:33 EST 2016
Thank you Magnus. Your answer helps.
On Thu, Jan 28, 2016 at 3:53 PM, Magnus Kessler <mkessler at basho.com> wrote:
> On 28 January 2016 at 09:05, Fasil K <fasil at gnisir.com> wrote:
>> Hello, I am using riak 2.1.1 for saving some datas (50000 datas).
>> I am running riak with a single node so far. my problem is riak is
>> consuming almost 40% of CPU in idle state. Can any one help me to solve
>> this issue.?
>> With Regards,
>> Fasil K
> Hi Fasil,
> The CPU usage you observe is due to the way Erlang schedulers work. When
> they run out of work, they don't go to sleep immediately, but perform a
> busy wait for some time instead. This increases responsiveness. For a nice,
> detailed discussion of this please see
> On a single node with the default ring size of 64, you also have a lot
> more VNodes than on a typical production node. A VNode is handled by an
> Erlang process, and all these processes require their own share of CPU and
> I hope this answers your question.
> Magnus Kessler
> Client Services Engineer
> Basho Technologies Limited
> Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users