Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  Patch for configurable ERTS_DE_BUSY_LIMIT

Guest
Posted: Tue Jun 08, 2010 8:02 am Reply with quote
Guest
Rickard Green <rickard@erlang.org> wrote:

rg> It seems reasonable to add a configuration parameter for this.
rg> However: [...]

Assuming I followed instructions correctly, version 2 of this new config
knob should be available via:

git fetch git://github.com/slfritchie/otp.git erts_de_busy_limit

Add flag-based setting for 'erts_de_busy_limit' constant

A prior patch to change the 'erts_de_busy_limit' constant, based on an
environment variable, was rejected by the Ericsson OTP team because
environment variables are no longer used for modifying the VM's
behavior.

Families of flags like "+s" are devoted to the scheduler (except for
"+sss"), but it wasn't obvious to me where a "+"-style flag for
'erts_de_busy_limit' should go. So, this patch creates a new family
of flags, prefixed with "+z", for miscellaneous VM settings.

The full flag name is "+zerts_de_busy_limit", which goes against the
tradition of using "+Qmbl" for adjusting some kind of "mumble mumble"
value but "mumble mumble" is obviously too long to be useful. If
"+zerts_de_busy_limit" is too long, then I'll leave it to the OTP team
to create a tradition-fitting, impossible-to-remember abbreviation to
use instead.

I don't a functional Java compiler with the suitable Java compliance
level, so compiling & running the test suite isn't an option for me
yet. I've made the attempt to write a test, but I haven't executed it
to know if it works. erlang:system_info(erts_de_busy_limit) was added
to make a unit test possible.

The documentation changes are terse but present. Given the lack of
Java above, my doc-building toolchain is broken, so I don't know if
the formatting is correct, sorry.

-Scott

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Tue Jun 08, 2010 8:03 am Reply with quote
Guest
Rickard Green <rickard@erlang.org> wrote:

rg> It seems reasonable to add a configuration parameter for this.
rg> However: [...]

Assuming I followed instructions correctly, version 2 of this new config
knob should be available via:

git fetch git://github.com/slfritchie/otp.git erts_de_busy_limit

Add flag-based setting for 'erts_de_busy_limit' constant

A prior patch to change the 'erts_de_busy_limit' constant, based on an
environment variable, was rejected by the Ericsson OTP team because
environment variables are no longer used for modifying the VM's
behavior.

Families of flags like "+s" are devoted to the scheduler (except for
"+sss"), but it wasn't obvious to me where a "+"-style flag for
'erts_de_busy_limit' should go. So, this patch creates a new family
of flags, prefixed with "+z", for miscellaneous VM settings.

The full flag name is "+zerts_de_busy_limit", which goes against the
tradition of using "+Qmbl" for adjusting some kind of "mumble mumble"
value but "mumble mumble" is obviously too long to be useful. If
"+zerts_de_busy_limit" is too long, then I'll leave it to the OTP team
to create a tradition-fitting, impossible-to-remember abbreviation to
use instead.

I don't a functional Java compiler with the suitable Java compliance
level, so compiling & running the test suite isn't an option for me
yet. I've made the attempt to write a test, but I haven't executed it
to know if it works. erlang:system_info(erts_de_busy_limit) was added
to make a unit test possible.

The documentation changes are terse but present. Given the lack of
Java above, my doc-building toolchain is broken, so I don't know if
the formatting is correct, sorry.

-Scott

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Tue Jun 08, 2010 8:34 am Reply with quote
Guest
On Tue, Jun 08, 2010 at 03:01:16AM -0500, Scott Lystig Fritchie wrote:
> Rickard Green <rickard@erlang.org> wrote:
>
> rg> It seems reasonable to add a configuration parameter for this.
> rg> However: [...]
>
> Assuming I followed instructions correctly, version 2 of this new config
> knob should be available via:
>
> git fetch git://github.com/slfritchie/otp.git erts_de_busy_limit

Thank you. Will be included in 'pu', but probably after the release.

>
> Add flag-based setting for 'erts_de_busy_limit' constant
>
> A prior patch to change the 'erts_de_busy_limit' constant, based on an
> environment variable, was rejected by the Ericsson OTP team because
> environment variables are no longer used for modifying the VM's
> behavior.
>
> Families of flags like "+s" are devoted to the scheduler (except for
> "+sss"), but it wasn't obvious to me where a "+"-style flag for
> 'erts_de_busy_limit' should go. So, this patch creates a new family
> of flags, prefixed with "+z", for miscellaneous VM settings.
>
> The full flag name is "+zerts_de_busy_limit", which goes against the
> tradition of using "+Qmbl" for adjusting some kind of "mumble mumble"
> value but "mumble mumble" is obviously too long to be useful. If
> "+zerts_de_busy_limit" is too long, then I'll leave it to the OTP team
> to create a tradition-fitting, impossible-to-remember abbreviation to
> use instead.
>
> I don't a functional Java compiler with the suitable Java compliance
> level, so compiling & running the test suite isn't an option for me
> yet. I've made the attempt to write a test, but I haven't executed it
> to know if it works. erlang:system_info(erts_de_busy_limit) was added
> to make a unit test possible.
>
> The documentation changes are terse but present. Given the lack of
> Java above, my doc-building toolchain is broken, so I don't know if
> the formatting is correct, sorry.
>
> -Scott
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

--

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Tue Jun 08, 2010 8:35 am Reply with quote
Guest
On Tue, Jun 08, 2010 at 03:01:16AM -0500, Scott Lystig Fritchie wrote:
> Rickard Green <rickard@erlang.org> wrote:
>
> rg> It seems reasonable to add a configuration parameter for this.
> rg> However: [...]
>
> Assuming I followed instructions correctly, version 2 of this new config
> knob should be available via:
>
> git fetch git://github.com/slfritchie/otp.git erts_de_busy_limit

Thank you. Will be included in 'pu', but probably after the release.

>
> Add flag-based setting for 'erts_de_busy_limit' constant
>
> A prior patch to change the 'erts_de_busy_limit' constant, based on an
> environment variable, was rejected by the Ericsson OTP team because
> environment variables are no longer used for modifying the VM's
> behavior.
>
> Families of flags like "+s" are devoted to the scheduler (except for
> "+sss"), but it wasn't obvious to me where a "+"-style flag for
> 'erts_de_busy_limit' should go. So, this patch creates a new family
> of flags, prefixed with "+z", for miscellaneous VM settings.
>
> The full flag name is "+zerts_de_busy_limit", which goes against the
> tradition of using "+Qmbl" for adjusting some kind of "mumble mumble"
> value but "mumble mumble" is obviously too long to be useful. If
> "+zerts_de_busy_limit" is too long, then I'll leave it to the OTP team
> to create a tradition-fitting, impossible-to-remember abbreviation to
> use instead.
>
> I don't a functional Java compiler with the suitable Java compliance
> level, so compiling & running the test suite isn't an option for me
> yet. I've made the attempt to write a test, but I haven't executed it
> to know if it works. erlang:system_info(erts_de_busy_limit) was added
> to make a unit test possible.
>
> The documentation changes are terse but present. Given the lack of
> Java above, my doc-building toolchain is broken, so I don't know if
> the formatting is correct, sorry.
>
> -Scott
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

--

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist

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