[erlang-questions] scheduler usage vs cpu usage

Björn-Egil Dahlberg egil@REDACTED
Mon Jul 7 17:45:32 CEST 2014


On 2014-07-07 17:17, Shian Wu wrote:
> Hi
>
> I call recon:scheduler_usage(5000) when cpu usage is low (100% ~ 200% 
> from top, with 32 cores)
> It show all scheduler usage is 1.0
> Is this possible? all schedulers are busy but cpu usage is low

Yes, it is possible.

Schedulers waiting for os resources are considered utilized (they cannot 
handle more work).

This is why scheduler utilization exists. CPU utilization is often used 
as a load measuring device but it is a very poor estimate load.
Scheduler utilization is a better estimate.

// Björn-Egil

>
> thanks
> ---
> Shian Wu
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140707/61b5dcf6/attachment.htm>


More information about the erlang-questions mailing list