aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-03-23 13:15:08 +0100
committerJohn Högberg <[email protected]>2018-03-26 09:57:34 +0200
commitf278cee87dd7ef929a64b411b4e83c3d7028687a (patch)
treeffcd33cb7cbc01f15e1dedf76a682db393cc1425 /erts/emulator/test
parent837cf1979852b439dd8fed555ad8c6cb10d9a794 (diff)
downloadotp-f278cee87dd7ef929a64b411b4e83c3d7028687a.tar.gz
otp-f278cee87dd7ef929a64b411b4e83c3d7028687a.tar.bz2
otp-f278cee87dd7ef929a64b411b4e83c3d7028687a.zip
Add +sbwt/+swt analogues for dirty schedulers
Sharing these settings for all schedulers can degrade performance, so it makes sense to be able to configure them separately. This also changes the default busy-wait time to "short" for both kinds of dirty schedulers.
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/smoke_test_SUITE.erl14
1 files changed, 14 insertions, 0 deletions
diff --git a/erts/emulator/test/smoke_test_SUITE.erl b/erts/emulator/test/smoke_test_SUITE.erl
index adc6f56c06..b3d34103f1 100644
--- a/erts/emulator/test/smoke_test_SUITE.erl
+++ b/erts/emulator/test/smoke_test_SUITE.erl
@@ -70,6 +70,20 @@ boot_combo(Config) when is_list(Config) ->
chk_boot(Config, "+Ktrue", NOOP),
chk_boot(Config, "+A42", A42),
chk_boot(Config, "+Ktrue +A42", A42),
+
+ WBTArgs = ["very_short", "short", "medium", "long", "very_long"],
+ WTArgs = ["very_low", "low", "medium", "high", "very_high"],
+ [chk_boot(Config,
+ " +sbwt " ++ WBT ++
+ " +sbwtdcpu " ++ WBT ++
+ " +sbwtdio " ++ WBT ++
+ " +swt " ++ WT ++
+ " +swtdcpu " ++ WT ++
+ " +swtdio " ++ WT, NOOP) || WBT <- WBTArgs, WT <- WTArgs],
+
+ WSArgs = ["legacy", "default"],
+ [chk_boot(Config, " +sws " ++ WS, NOOP) || WS <- WSArgs],
+
%% A lot more combos could be implemented...
ok
after