Single core on multiple threads requests
-
Hi,
I have an APU4 running 23.05.1, when I run an iperf through the box between vlans "iperf3.exe -c 172.16.0.203 -t 30 -p 5201 -P 32" which should be using multiple threads, while monitoring the CPU on the box "top -p" i can see that only one of the CPU cores is being pegged, is this expected?
I was under the impression that the PfSense software took advantage of all core under multi-thread scenarios.
-
@Mr_JinX Three of those are 98+% used…? (2% idle)
-
I'm looking at cpu 3 under the system column,
-
I suspect the process does not have enough work for all of the CPUs to use 100%. Ideally you do not want a thread hopping cores as this tends to invalidate the core's cache. It is common to see busy systems with a core or 2 with less work.
-
system vs interrupt load. 3 cores there are pegged though. The loading from pf itself appears as interrupt load.
Check the NICs are using more than one queue.
Try testing between different NICs rather than VLANs on the same NIC, which share the same queues.