You definitely want to play around with the configuration and make sure that you are benchmarking correctly: https://stackoverflow.com/questions/504103/how-do-i-write-a-correct-micro-benchmark-in-java
dispatcher throughput, thread pool type and thread pool size, and mailbox type. Also, Opterons have pretty bad cache performance for inter-core comms (Intel uses inclusive L3s for faster on-package caches) Cheers, √ On Tue, Jan 7, 2014 at 11:49 AM, Endre Varga <[email protected]>wrote: > Hi Rüdiger, > > Have you tried to play around with the throughput setting of the > dispatcher? For these kind of non-interactive jobs fairness is not an > issue, so you might most likely want to increase that value. > > -Endre > > > On Tue, Jan 7, 2014 at 1:26 AM, Rüdiger Möller <[email protected]> wrote: > >> Please checkout chart here. >> >> https://plus.google.com/109956740682506252532/posts/1hKcYyPuJzh >> >> [cut&pasted from g+]: >> Hey folks, i am currently writing a blog benchmarking akka vs >> traditional threading. I use the example provided by the akka java tutorial >> computing Pi. In order to compare the abillity to paralellize big amounts >> of tiny jobs, i use Pi-computaional slices of 100,000 jobs with iteration >> of 1000. >> Hardware is dual socket AMD opteron with each 8 real cores and 8 >> 'virtual' (because the test uses floating point i just scale to 16 threads >> instead of 32). >> >> As you can see in the chart AKKA (2.03) performs very bad compared to >> threads and a homebrew actor lib. >> >> source of akka bench is here: >> https://gist.github.com/RuedigerMoeller/8272966 >> (added outer loop to original typesafe sample) >> >> Is there anything I miss or is this 'normal' Akka performance ? >> >> Threading-style code is here: >> https://gist.github.com/RuedigerMoeller/8273307 >> >> I tried 2.1 with even worse results. >> >> http://imgur.com/TAt9XOf >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/groups/opt_out. > -- Cheers, √ *Viktor Klang* *Director of Engineering* Typesafe <http://www.typesafe.com/> Twitter: @viktorklang -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
