[erlang-questions] ejabberd Bottleneck: Understanding Fprof Analysis

Scott Lystig Fritchie <>
Sat Jun 26 00:15:38 CEST 2010

Karthik Kailash <> wrote:

kk> I used fprof to do some profiling on the mod_muc process, see the
kk> output file here: http://pastebin.com/QXchAKtM.

There's a large chunk of time spent by {mnesia,dirty_read,2} that's in
turn a bit over half the time used by an RPC call into Mnesia.  So,
remove the Mnesia calls and you'd see a significant speedup.  :-)


More information about the erlang-questions mailing list