diff options
author | Rickard Green <[email protected]> | 2013-06-11 17:30:47 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-09-16 13:57:15 +0200 |
commit | 90351e1167a3bf21c2378306b68f560601e8415f (patch) | |
tree | 6824168cb5b70be26e3ebd929e679aa70cb3117c /erts/doc | |
parent | c72b20183a780c7199d3959f09eb88c1a930a064 (diff) | |
download | otp-90351e1167a3bf21c2378306b68f560601e8415f.tar.gz otp-90351e1167a3bf21c2378306b68f560601e8415f.tar.bz2 otp-90351e1167a3bf21c2378306b68f560601e8415f.zip |
erts: Add the +sfwi system flag
+sfwi Interval
Set scheduler forced wakeup interval. All run queues will be scanned
each Interval milliseconds. While there are sleeping schedulers in
the system, one scheduler will be woken for each non-empty run queue
found. An Interval of zero disables this feature, which also is the
default.
This feature has been introduced as a temporary workaround for lengthy
executing native code, and native code that do not bump reductions
properly in OTP. When these bugs have be fixed the +sfwi flag will
be removed.
Conflicts:
erts/doc/src/erl.xml
erts/etc/common/erlexec.c
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erl.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index f931445a3e..12cdb4b628 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -907,6 +907,20 @@ <p>For more information, see <seealso marker="erlang#system_info_cpu_topology">erlang:system_info(cpu_topology)</seealso>.</p> </item> + <tag><marker id="+sfwi"><c>+sfwi Interval</c></marker></tag> + <item> + <p>Set scheduler forced wakeup interval. All run queues will + be scanned each <c>Interval</c> milliseconds. While there are + sleeping schedulers in the system, one scheduler will be woken + for each non-empty run queue found. An <c>Interval</c> of zero + disables this feature, which also is the default. + </p> + <p>This feature has been introduced as a temporary workaround + for lengthy executing native code, and native code that do not + bump reductions properly in OTP. When these bugs have be fixed + the <c>+sfwi</c> flag will be removed. + </p> + </item> <tag><marker id="+sws"><c>+sws default|legacy|proposal</c></marker></tag> <item> <p>Set scheduler wakeup strategy. Default is <c>legacy</c> (has been |