mirror of https://github.com/OISF/suricata
affinity: initialize CPU sets with online CPUs only
When no CPU set is explicitly defined, switch from UtilCpuGetNumProcessorsConfigured() (which counts all existing CPU cores, even offline ones) to UtilCpuGetNumProcessorsOnline() (only the available cores). If Suricata initializes more threads than online CPUs it oversubscribes the system. As Suricata does not support any runtime live reconfiguration Suricata initializes only as many cores as online CPU cores. Ticket: 7790pull/13541/head
parent
bb12f197bc
commit
acbd02699e
Loading…
Reference in New Issue