src/cli.py: hyperthreading now triggers a warning instead of an error
This commit is contained in:
Родитель
8112422a57
Коммит
80ba7a4a57
|
@ -30,8 +30,7 @@ def check_config():
|
|||
def ensure_reliable_environment():
|
||||
# SMT disabled?
|
||||
if os.path.isfile('/sys/devices/system/cpu/cpu4/online'):
|
||||
print("Hyperthreading must be disabled, in BIOS!")
|
||||
exit(1)
|
||||
print("WARNING: Hyperthreading is enabled! You may have false positives due to system noise.")
|
||||
|
||||
# Disable prefetching
|
||||
subprocess.run('sudo modprobe msr', shell=True, check=True)
|
||||
|
|
Загрузка…
Ссылка в новой задаче