diff options
author | John Högberg <[email protected]> | 2018-03-23 13:15:08 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-03-26 09:57:34 +0200 |
commit | f278cee87dd7ef929a64b411b4e83c3d7028687a (patch) | |
tree | ffcd33cb7cbc01f15e1dedf76a682db393cc1425 /erts/emulator/test | |
parent | 837cf1979852b439dd8fed555ad8c6cb10d9a794 (diff) | |
download | otp-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.erl | 14 |
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 |