Skip to content

Commit

Permalink
toplev: Add BDX model numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Apr 14, 2016
1 parent 05ee7ac commit c82fac6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tl-tester
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ LOAD0="-- taskset -c 0 gcc -o /dev/null hello.c"

set -o pipefail

SMTCPUS="snb jkt ivb ivt hsw hsx bdw skl"
SMTCPUS="snb jkt ivb ivt hsw hsx bdw skl bdx"
NOSMTCPUS="slm simple"
ALLCPUS="$SMTCPUS $NOSMTCPUS"

Expand Down
8 changes: 7 additions & 1 deletion toplev.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
("hsw", (60, 70, 69 )),
("hsx", (63, )),
("slm", (55, 77, 76, )),
("bdw", (61, 86, 71, )),
("bdw", (61, 71, )),
("bdx", (79, 86, )),
("simple", ()),
("skl", (94, 78, )),
)
Expand Down Expand Up @@ -1384,6 +1385,11 @@ def ht_warning():
bdw_client_ratios.smt_enabled = cpu.ht
smt_mode = cpu.ht
model = bdw_client_ratios
elif cpu.cpu == "bdx":
import bdx_server_ratios
bdx_server_ratios.smt_enabled = cpu.ht
smt_mode = cpu.ht
model = bdx_server_ratios
elif cpu.cpu == "skl":
import skl_client_ratios
skl_client_ratios.smt_enabled = cpu.ht
Expand Down

0 comments on commit c82fac6

Please sign in to comment.