From b74e9a3d03d685345a8fa592b033a9d691e6e7c0 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Wed, 28 Mar 2012 14:03:25 +0200 Subject: Implement proposal for new scheduler wakeup strategy --- erts/doc/src/erl.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'erts/doc/src') diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index 50f90ec9df..33a6339b04 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -867,6 +867,17 @@

For more information, see erlang:system_flag(cpu_topology, CpuTopology).

+ +sws default|legacy|proposal + +

Set scheduler wakeup strategy. Default is legacy (has been + used since OTP-R13B). The proposal strategy is the currently + proposed strategy for OTP-R16. Note that the proposal strategy + might change during OTP-R15. +

+

NOTE: This flag may be removed or changed at any time + without prior notice. +

+
+swt very_low|low|medium|high|very_high

Set scheduler wakeup threshold. Default is medium. -- cgit v1.2.3 From 447eecd1af7ba3e3a46098d93b88964c0f71ca41 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Tue, 3 Apr 2012 19:53:52 +0200 Subject: Add switch controlling scheduler busy wait --- erts/doc/src/erl.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'erts/doc/src') diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index cfbc38f176..0df16a551c 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -766,6 +766,16 @@ erlang:system_info(scheduler_bindings).

+ +sbwt none|very_short|short|medium|long|very_long + +

Set scheduler busy wait threshold. Default is medium. + The threshold determines how long schedulers should busy + wait when running out of work before going to sleep. +

+

NOTE: This flag may be removed or changed at any time + without prior notice. +

+
+scl true|false

Enable or disable scheduler compaction of load. By default -- cgit v1.2.3 From 46f5b571ba92c29a0471d9619f372b102ec4a6c0 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 25 Apr 2012 19:14:37 +0200 Subject: Prepare release --- erts/doc/src/notes.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) (limited to 'erts/doc/src') diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml index 028a2bbf3d..6b6a3374d1 100644 --- a/erts/doc/src/notes.xml +++ b/erts/doc/src/notes.xml @@ -30,6 +30,74 @@

This document describes the changes made to the ERTS application.

+
Erts 5.9.1.1 + +
Fixed Bugs and Malfunctions + + +

+ If threads support for the runtime system had been + disabled at compile time (--disable-threads had + been passed to configure), and the +A + command line argument of erl was passed when + starting the runtime system, driver_system_info() + erroneously claimed that the runtime system had async + threads even though it had not.

+

+ Due to this bug the file driver did not split tasks into + smaller chunks, but instead completed the whole task at + once, i.e., the scheduler got occupied with I/O for a + longer time than intended.

+

+ Own Id: OTP-10059

+
+
+
+ + +
Improvements and New Features + + +

+ A proposal for a new scheduler wakeup strategy has been + implemented. For more information see the documentation + of the +sws command + line argument of erl.

+

+ Own Id: OTP-10033 Aux Id: Seq12025

+
+ +

+ A switch for configuration of busy wait length for + scheduler threads has been added. For more information + see the documentation of the +sbwt command line argument + of erl.

+

+ Own Id: OTP-10044 Aux Id: Seq11976

+
+ +

+ The extra memory barriers introduced by bug-fix OTP-9281 + were unnecessarily used also on tables without the + write_concurrency option enabled. This could + unnecessarily degrade performance of ETS tables without + write_concurrency on some hardware (e.g. PowerPC) + while not effecting performance at all on other hardware + (e.g. x86/x86_64).

+

+ OTP-9281 (R14B03): ETS tables using the + write_concurrency option could potentially get + into an internally inconsistent state.

+

+ Own Id: OTP-10048 Aux Id: OTP-9281

+
+
+
+ +
+
Erts 5.9.1
Fixed Bugs and Malfunctions -- cgit v1.2.3