From 76e3ff2de9a21bd29f1e2be167499731e8be9ac8 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Wed, 13 Aug 2014 09:58:09 +0900 Subject: [PATCH] Fix review problems --- priv/erlang_vm.schema | 20 ++++++++++---------- test/erlang_vm_schema_tests.erl | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/priv/erlang_vm.schema b/priv/erlang_vm.schema index 2c2fd836..af46e3a5 100644 --- a/priv/erlang_vm.schema +++ b/priv/erlang_vm.schema @@ -221,18 +221,18 @@ {datatype, integer} ]}. -%% @doc Enable or disable scheduler compaction of load. By default sched- -%% uler compaction of load is enabled. When enabled, load balancing -%% will strive for a load distribution which causes as many sched- -%% uler threads as possible to be fully loaded (i.e., not run out of -%% work). This is accomplished by migrating load (e.g. runnable pro- -%% cesses) into a smaller set of schedulers when schedulers fre- -%% quently run out of work. When disabled, the frequency with which -%% schedulers run out of work will not be taken into account by the +%% @doc Enable or disable scheduler compaction of load. By default +%% scheduler compaction of load is enabled. When enabled, load +%% balancing will strive for a load distribution which causes as many +%% scheduler threads as possible to be fully loaded (i.e., not run out +%% of work). This is accomplished by migrating load (e.g. runnable +%% processes) into a smaller set of schedulers when schedulers +%% frequently run out of work. When disabled, the frequency with which +%% schedulers run out of work will not be taken into account by the %% load balancing logic. %% %% More information: http://www.erlang.org/doc/man/erl.html#+scl -{mapping, "erlang.schedulers.scheduler_compaction_of_load", "vm_args.+scl", [ +{mapping, "erlang.schedulers.compaction_of_load", "vm_args.+scl", [ {commented, "false"}, {datatype, {enum, [true, false]}} ]}. @@ -247,7 +247,7 @@ %% strive for equal scheduler utilization on all schedulers. %% %% More information: http://www.erlang.org/doc/man/erl.html#+sub -{mapping, "erlang.schedulers.scheduler_utilization_balancing", "vm_args.+sub", [ +{mapping, "erlang.schedulers.utilization_balancing", "vm_args.+sub", [ {commented, "true"}, {datatype, {enum, [true, false]}} ]}. diff --git a/test/erlang_vm_schema_tests.erl b/test/erlang_vm_schema_tests.erl index 9a06045c..4835269c 100644 --- a/test/erlang_vm_schema_tests.erl +++ b/test/erlang_vm_schema_tests.erl @@ -57,8 +57,8 @@ override_schema_test() -> {["erlang", "process_limit"], 128001}, {["erlang", "distribution_buffer_size"], 1024}, {["erlang", "schedulers", "force_wakeup_interval"], 500}, - {["erlang", "schedulers", "scheduler_compaction_of_load"], true}, - {["erlang", "schedulers", "scheduler_utilization_balancing"], false}, + {["erlang", "schedulers", "compaction_of_load"], true}, + {["erlang", "schedulers", "utilization_balancing"], false}, {["erlang", "distribution", "port_range", "minimum"], 6000}, {["erlang", "distribution", "port_range", "maximum"], 7999}, {["erlang", "distribution", "net_ticktime"], 43}