先关闭绑核心,发现速度对比:不绑定核心+SCX>绑核心+SCX

This commit is contained in:
2026-02-28 23:27:44 +08:00
parent b91cfff301
commit 1eba73acbe

View File

@@ -43,7 +43,8 @@ def get_last_n_cores_per_socket(n=32):
cpu_str = ",".join(segments)
total = len(segments) * n
print(f" CPU binding: taskset -c {cpu_str} ({total} cores, last {n} per socket)")
return f"taskset -c {cpu_str}"
#return f"taskset -c {cpu_str}"
return f""
## CPU core binding: dynamically select the last 32 cores of each socket (64 cores total)