From d8e862b5b4a354bdeee2d2b4d6d46024d4aabb0e Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Sat, 4 Sep 2010 00:18:45 +0200 Subject: Add scheduler wakup threshold as command line argument The scheduler wakeup threshold is now possible to adjust at system boot. For more information see the `+swt' command line argument of `erl'. --- erts/doc/src/erl.xml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'erts/doc') diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index f477280a6f..e36d0adb0d 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -831,14 +831,28 @@

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

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

Set scheduler wakeup threshold. Default is medium. + The threshold determines when to wake up sleeping schedulers + when more work than can be handled by currently awake schedulers + exist. A low threshold will cause earlier wakeups, and a high + threshold will cause later wakeups. Early wakeups will + distribute work over multiple schedulers faster, but work will + more easily bounce between schedulers. +

+

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

+
+ + +

Suggested stack size, in kilowords, for scheduler threads. + Valid range is 4-8192 kilowords. The default stack size + is OS dependent.

+
- - -

Suggested stack size, in kilowords, for scheduler threads. - Valid range is 4-8192 kilowords. The default stack size - is OS dependent.

-

Set the maximum number of atoms the VM can handle. Default is 1048576.

-- cgit v1.2.3