patch to add option to set schedulers by percentage

Steve Vinoski <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <CAO+zUOU+zeQ2y60Zi+R_cgsS-nULK3O2RhZLgEYLQfES2CM1Zw@mail.gmail.com>
For applications where measurements show enhanced performance from the use
of a non-default number of emulator scheduler threads, having to accurately
set the right number of scheduler threads across multiple hosts each with
different numbers of logical processors is difficult because the erl +S
option requires absolute numbers of scheduler threads and scheduler threads
online to be specified.

To address this issue, this patch adds a +SP option to erl, similar to the
existing +S option but allowing the number of scheduler threads and
scheduler threads online to be set as percentages of logical processors
configured and logical processors available, respectively. For example,
"+SP 50:25" sets the number of scheduler threads to 50% of the logical
processors configured, and the number of scheduler threads online to 25% of
the logical processors available.

https://github.com/erlang/otp/pull/58

--steve

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.