|
@@ -15,13 +15,13 @@ Intel’s Cache Allocation Technology (CAT) helps address shared resource concer
|
|
|
|
|
|
### Monitoring
|
|
|
|
|
|
-Show current configuration
|
|
|
+- Show current configuration
|
|
|
|
|
|
```bash
|
|
|
sudo pqos -s -v
|
|
|
```
|
|
|
|
|
|
-Monitor LLC occupancy for group of cores (e.g. [0-2] and [3-5])
|
|
|
+- Monitor LLC occupancy for group of cores (e.g. [0-2] and [3-5])
|
|
|
|
|
|
```bash
|
|
|
sudo pqos -m "all:[0-2],[3-5];"
|
|
@@ -29,6 +29,25 @@ sudo pqos -m "all:[0-2],[3-5];"
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
+- Set COS 1 to the first 4 cache ways and COS 2 to the next 8 cache ways:
|
|
|
+
|
|
|
+```bash
|
|
|
+pqos -e "llc:1=0x000f;llc:2=0x0ff0;"
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+- Set COS 1 on all sockets, COS 2 on socket 0 and 1 and COS 3 on sockets 2 to 3:
|
|
|
+
|
|
|
+```bash
|
|
|
+pqos -e "llc:1=0x000f;llc@0,1:2=0x0ff0;llc@2-3:3=0x3c"
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+- Associate cores 0, 2, and 6 to 10 with COS 1 and core 1 to COS 2:
|
|
|
+
|
|
|
+```bash
|
|
|
+pqos -a "llc:1=0,2,6-10;llc:2=1;"
|
|
|
+```
|
|
|
|
|
|
|
|
|
## F.A.Q.
|