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

Björn-Egil Dahlberg <>
Sat Dec 22 17:45:14 CET 2012


Hi Max,

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

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

See Kostis papers: http://user.it.uu.se/~kostis/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,
see http://www.erlang.org/doc.html

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 <>

> 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
>
>
>
> On Fri, Dec 21, 2012 at 9:51 PM, Venu Middela <> wrote:
>
>>  Thanks Robert and Harsha.
>>
>> Venu
>>
>> > Date: Fri, 21 Dec 2012 10:15:24 +0000
>> > From: 
>> > To: 
>> > CC: ; 
>>
>> > Subject: Re: [erlang-questions] one run-queue per scheduler??
>> >
>> > 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
>> >
>> > ----- Original Message -----
>> > > From: "Harsh J" <>
>> > > To: "Venu Middela" <>
>> > > Cc: 
>> > > Sent: Friday, 21 December, 2012 5:10:48 AM
>> > > Subject: Re: [erlang-questions] one run-queue per scheduler??
>> > >
>> > > 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
>> > >
>> > > On Fri, Dec 21, 2012 at 12:29 AM, Venu Middela <>
>> > > wrote:
>> > > > 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
>> > > >
>> > > > _______________________________________________
>> > > > erlang-questions mailing list
>> > > > 
>> > > > http://erlang.org/mailman/listinfo/erlang-questions
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Harsh J
>> > > http://harshj.com
>> > > _______________________________________________
>> > > erlang-questions mailing list
>> > > 
>> > > http://erlang.org/mailman/listinfo/erlang-questions
>> > >
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121222/070b11f5/attachment.html>


More information about the erlang-questions mailing list