Setting the L2 I-Cache/D-Cache Separation Policy by Thread
Adopt different L2 I-cache/D-cache separation tuning policies for processes and threads.
The preceding core binding solution is used as an example. Configure L2 I-cache/D-cache separation for CPU cores 81 to 85 on the physical machine.
./devcman -m l2-restrict --start_cpu 80 --end_cpu 81 --d-mask 0xxxx --i-mask 0xxxx ./devcman -m l2-restrict --start_cpu 82 --end_cpu 83 --d-mask 0xxxx --i-mask 0xxxx ./devcman -m l2-restrict --start_cpu 84 --end_cpu 85 --d-mask 0xxxx --i-mask 0xxxx
In the preceding command example, 0xxxx indicates the specific L2 I-cache/D-cache separation settings. For details, see Setting the L2 I-Cache/D-Cache Configuration of CPU Cores.
Parent topic: Reference Example