[erlang-questions] erlang smp on aix
Thu Sep 1 18:51:46 CEST 2011
Did you enable kernel_poll? And does AIX actually support a suitable kernel
polling mechanism (like epoll, etc)?
Americans might object: there is no way we would sacrifice our living
standards for the benefit of people in the rest of the world. Nevertheless,
whether we get there willingly or not, we shall soon have lower consumption
rates, because our present rates are unsustainable.
On Thu, Sep 1, 2011 at 3:01 AM, caox <> wrote:
> we have a application used to run on centos but now we want to migrate it
> to AIX. During the test on Aix, we found the cpu scaling of the system is
> quite disappointing. With 8 cores and erlang smp auto, there were very high
> system cpu consumption and lots of thread_wait_lock call in the
> truss(strace) log, which would not appear on centos under the same test
> scenario. And the sys call will disappear if we turn smp off.
> So we guess there is something wrong with smp on Aix, perhaps caused by
> the schedulers switching. But we don't know where the thread_wait_call is
> from and what it is for.
> By the way, it is quite strange that the smp description of erl shell would
> be smp32:8 with smp auto on the 8 cores aix.
> Is there any hint to fix the problem? Appreciate your help.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions