[erlang-questions] one run-queue per scheduler??

32 views
Skip to first unread message

Venu Middela

unread,
Dec 20, 2012, 1:59:02 PM12/20/12
to erlang-q...@erlang.org
Hi,

Does the  Version OTP-R15B* or any other versions implement one run-queue per scheduler?

 Please refer to section 5.2 of this Technical Paper.

http://www.erlang.se/euc/08/euc_smp.pdf

I'm  interested to know if this has been implemented in any of the versions?


Thanks,
Venu

Harsh J

unread,
Dec 20, 2012, 11:10:48 PM12/20/12
to Venu Middela, erlang-q...@erlang.org
Yes the R15B with SMP support now uses multiple, scheduler specific
run queues, instead of one globally shared run queue. This is
highlighted at http://www.erlang.org/documentation/doc-5.7.4/doc/highlights.html
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions
>



--
Harsh J
http://harshj.com
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Robert Virding

unread,
Dec 21, 2012, 5:15:24 AM12/21/12
to Harsh J, erlang-q...@erlang.org
Just to be more explicit: all versions from R13 and onwards have scheduler specific run-queues and no common run-queue. This was an important factor in making the BEAM scale better over many cores/schedulers. There is some global work done in trying to keep a reasonable balance of work between the schedulers.

Robert

Venu Middela

unread,
Dec 21, 2012, 12:51:17 PM12/21/12
to robert....@erlang-solutions.com, qwerty...@gmail.com, erlang-q...@erlang.org
Thanks Robert and Harsha.

Venu

> Date: Fri, 21 Dec 2012 10:15:24 +0000
> From: robert....@erlang-solutions.com
> To: qwerty...@gmail.com
> CC: erlang-q...@erlang.org; mv...@hotmail.com

Max Bourinov

unread,
Dec 22, 2012, 12:20:08 AM12/22/12
to Venu Middela, erlang-q...@erlang.org
Hi Erlangers,

I would like to know more about Erlang VM and how it works. Could you please point me to papers that would be interesting to read please? Something like Venu mentioned would be great to read.

Best regards,
Max

Björn-Egil Dahlberg

unread,
Dec 22, 2012, 11:45:14 AM12/22/12
to Max Bourinov, erlang-q...@erlang.org
Hi Max,

Wouldn't we all want that info handy? =)

Best bet for info about the runtime system and VM are the HiPE papers,


I couldn't find Erik Stenmans (Happi) papers http://user.it.uu.se/~happi/
Some of them had a really good overview if I remember correctly.

Also Jianrong Zhangs paper "Characterizing the Scalability of Erlang VM on Many-Core Processors" has a good overview of some of the internals. (You have to google for the link to the pdf. KTH paper) 

Jianrong Zhangs paper is newer then the HiPE papers and probably has more current information.

Some information are hidden in the *draft* of the erlang spec,

I recommend checking out Rickard Greens and Patrik Nyblom talks at various EUC, Factories and SICS Multicore Days to find the bleeding edge info =)

Happy hunting,
Björn-Egil


2012/12/22 Max Bourinov <bour...@gmail.com>

Max Bourinov

unread,
Dec 23, 2012, 4:10:40 AM12/23/12
to Björn-Egil Dahlberg, erlang-q...@erlang.org
Thank you Bjorn!

Now I have good starting points ))

Best regards,
Max

Reply all
Reply to author
Forward
0 new messages