主页:https://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html
github: https://github.com/intel/intel-cmt-cat
安装:https://github.com/intel/intel-cmt-cat/blob/master/INSTALL
wiki:https://github.com/intel/intel-cmt-cat/wiki
使用:https://github.com/intel/intel-cmt-cat/wiki/Usage-Examples
[root@localhost user]# cat config_rdt.sh
#!/bin/bash
HP_COS=4
LP_COS=5
HP_CORES="0-7"
LP_CORES="8-17"
LP_CAT_CONFIG=$1
LP_MBA_CONFIG=$2
pqos -R
mask=$(((1<<${LP_CAT_CONFIG})-1))
pqos -a "llc:${HP_COS}=${HP_CORES}"
pqos -a "llc:${LP_COS}=${LP_CORES}"
pqos -e "llc:${LP_COS}=${mask}"
pqos -e "mba:${LP_COS}=${LP_MBA_CONFIG}"