[erlang-questions] erlang:exit/1 eats lots of CPU time
Jayson Vantuyl
kagato@REDACTED
Tue Jan 5 12:19:54 CET 2010
What's the total time here? I see that erlang:exit/1 is 99% of that process's time, and that process is 12% of total time, but how long are we talking about here? I've seen results like that for short tests in a tight loop. So, it's 99% of 12% of what?
On Jan 4, 2010, at 10:02 PM, Maxim Treskin wrote:
> Hello
>
> I have tested software with Eprof. eprof:analyse() prints log which
> contains following strings:
>
> ****** Process <0.229.0> -- 12 % of profiled time ***
> erlang:exit/1 1 99 %
>
> Erlang node whith this process really eats CPU time, so it is not a
> some bug of eprof. May be it is due to garbage collection of process
> data on exit? Increasing of min_heap_size up to value which really
> used by process has no effect.
>
> How I can decrease CPU time consumption on exit for this process?
>
> Thank you
>
> --
> Maxim Treskin
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
More information about the erlang-questions
mailing list