Please refer to the offical document.
sudo apt install msr-tools
sudo modprobe msrThen the msr registers can be read/write with:
# read
sudo rdmsr -p [core-id] [msr address]
# write
sudo wrmsr -p [core-id] [msr address] [value]Note:
Please refer to the offical document.
Please refer to the offical document.
First disble hardware prefetcher manually
Set up huge pages
# Disable hardware prefetcher before running
sudo ../utils/disable-prefetcher.sh
# run the experiments
python3 micro-idle-lat.py --run --plot > micro-idle-lat.log# Disable hardware prefetcher before running
sudo ../utils/disable-prefetcher.sh
# run the experiments
python3 micro-bw-matrix.py --run --plot > micro-bw-matrix.logsudo apt install git-lfs
git lfs install
git clone https://huggingface.co/tiiuae/falcon-7bAdd install psutil for python