andreas-abel / nanoBench

A tool for running small microbenchmarks on recent Intel and AMD x86 CPUs.
http://www.uops.info
GNU Affero General Public License v3.0
435 stars 55 forks source link

Support of Kaby Lake wanted #1

Closed plokhotnyuk closed 5 years ago

andreas-abel commented 5 years ago

Kaby Lake is already supported. The performance counter configurations are the same as for Skylake, so you can just use the cfgSkylake* files. This is also mentioned in the first line of these files.

plokhotnyuk commented 5 years ago

Thanks! Then something wrong with my Ubuntu 18.04... Secure boot?

sudo ./nanoBench.sh -asm "ADD RAX, RBX; add RBX, RAX" -config configs/cfg_Skylake_common.txt
wrmsr: pwrite: Operation not permitted
wrmsr: pwrite: Operation not permitted
wrmsr: pwrite: Operation not permitted
wrmsr: pwrite: Operation not permitted
wrmsr: pwrite: Operation not permitted
wrmsr: pwrite: Operation not permitted
RDTSC: 1.66
Instructions retired: 0.00
Core cycles: 0.00
Reference cycles: 0.00
...