如何使用kcbench?

如何使用kcbench?

我是kcbench按照网上教程下载的(https://gitlab.com/knurd42/kcbench)。运行脚本后显示的结果也是正确的。

Processor:           Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz [48 CPUs]
Cpufreq; Memory:     powersave [intel_pstate]; 128833 MiB
Linux running:       4.15.0-122-generic [x86_64]
Compiler:            gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
Linux compiled:      4.14.0 [/home/cuiyujie/.cache/kcbench/linux-4.14/]
Config; Environment: defconfig; CCACHE_DISABLE="1"
Build command:       make vmlinux
Filling caches:      This might take a while... Done
Run 1 (-j 48):       48.92 seconds / 73.59 kernels/hour [P:3022%]
Run 2 (-j 48):       49.33 seconds / 72.98 kernels/hour [P:3006%]
Run 3 (-j 54):       49.15 seconds / 73.25 kernels/hour [P:3022%]
Run 4 (-j 54):       49.24 seconds / 73.11 kernels/hour [P:3018%]
Run 5 (-j 24):       63.12 seconds / 57.03 kernels/hour [P:1861%]
Run 6 (-j 24):       62.87 seconds / 57.26 kernels/hour [P:1862%]
Run 7 (-j 29):       57.96 seconds / 62.11 kernels/hour [P:2191%]
Run 8 (-j 29):       59.04 seconds / 60.98 kernels/hour [P:2141%]

但之后我该怎么办呢?我想kcbench在服务器上的某个核心上运行。我读了它的手册(https://gitlab.com/knurd42/kcbench/-/raw/master/kcbench.man1.md)。我用的时候kcbench总是出现这样的情况kcbench cannot find a command。但是前面的结果显示我应该安装正确了?我应该怎么办?

现在我尝试了 bash kcbench 和它is feasible,但是如何设置kcbench在某个核心上运行?

谢谢你!

相关内容