From 4c9a66c4ba3bbbd6136f3a284fc1accbc0e9cea2 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Tue, 11 Jun 2013 17:30:47 +0200 Subject: 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. --- erts/doc/src/erl.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'erts/doc/src/erl.xml') 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 @@

For more information, see erlang:system_info(cpu_topology).

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

+
+stbt BindType

Try to set scheduler bind type. The same as the -- cgit v1.2.3