aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-06-11 17:30:47 +0200
committerRickard Green <[email protected]>2013-06-11 18:33:38 +0200
commit4c9a66c4ba3bbbd6136f3a284fc1accbc0e9cea2 (patch)
treef6ecb789473b7d15fad43b3c0838d8784a9aaf3b /erts/doc
parent9919508b2cc177ec4afdb53bb9d20563973461f8 (diff)
downloadotp-4c9a66c4ba3bbbd6136f3a284fc1accbc0e9cea2.tar.gz
otp-4c9a66c4ba3bbbd6136f3a284fc1accbc0e9cea2.tar.bz2
otp-4c9a66c4ba3bbbd6136f3a284fc1accbc0e9cea2.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.
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/erl.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index 8dca7402e8..70569b1c6c 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -1037,6 +1037,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="+stbt"><c>+stbt BindType</c></marker></tag>
<item>
<p>Try to set scheduler bind type. The same as the