Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  how does erlang processes work on multicore cpus?

akay
Posted: Mon Mar 29, 2010 10:19 am Reply with quote
Joined: 29 Mar 2010 Posts: 1
hello Smile

I hope you can help me with my problem.

Everywhere I read about how well erlang performs with his "lightweight processes", which are in fact user-level-threads/fibers, if I got it right.

How does this work with multiple cores?

I mean, the OS doesn't know about those multiple processes, because they're running in one thread, so it's not able to distribute them across the multiple cores available.

Doesn't Erlang need at least as much threads as cores should be used? And how does it manage the distribution of the processes between the threads?

If anyone has a nice paper about this or something else, I would be very thankful Smile
View user's profile Send private message
bpuzon
Posted: Tue Mar 30, 2010 8:28 am Reply with quote
User Joined: 05 Aug 2009 Posts: 23 Location: Cracow, Poland
There is a short note on this in the Erlang Efficiency Guide (http://www.erlang.org/doc/efficiency_guide/processes.html).

_________________
Saludos,
Bartłomiej Puzoń
Erlang Solutions
View user's profile Send private message Visit poster's website
zajda
Posted: Tue Mar 30, 2010 11:08 am Reply with quote
User Joined: 22 Aug 2009 Posts: 83
more about multicore and multi schedulers for lightweight processes will tell you recent presentation by ericsson on erlang-factory:

http://www.erlang-factory.com/upload/presentations/227/ErlangFactorySFBay2010-PatrikNyblom.ppt





Michal Zajda
----
Erlang Solutions Ltd.
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum