Closed wingo closed 5 years ago
Current output for example on snabb2:
$ sudo ./snabb lwaftr run --cpu 7 --conf program/lwaftr/tests/data/icmp_on_fail.conf --on-a-stick 82:00.0
program/lwaftr/tests/data/icmp_on_fail.conf: loading compiled configuration from program/lwaftr/tests/data/icmp_on_fail.o
program/lwaftr/tests/data/icmp_on_fail.conf: compiled configuration is up to date.
Migrating instance 'test' to '82:00.0'
Bound main process to NUMA node: 1 (CPU 6)
Binding data-plane PID 20412 to CPU 7.
Warning: Expected performance scaling governor for CPU 7, but got "powersave"
This patch extends the NUMA module to be able to run some self-checks when it is used to reserve a CPU for a data plane, for example checking the CPU frequency scaling governor or the set of isolated CPUs.