Using docker_container.running to do CPU and Memory isolation on NUMA nodes #9301
Replies: 2 comments
-
If you haven't already, I would start with pinning Suricata and Zeek to the NUMA node that services your sniffing NIC: |
Beta Was this translation helpful? Give feedback.
-
Yup, already doing that :)
I've modified the init.sls's for Elasticsearch, zeek, suricata and logstash, Suricata and zeek on the numa node with the NICs, the ELK/Logstash on the node with the NVMe, and
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking at https://docs.saltproject.io/en/latest/ref/states/all/salt.states.docker_container.html and I observed that Cpu and memory pinning look to be options, but I'm not sure how to implement these on my minion state (sorry if using the wrong terms, new to salt). I'm doing CPU isolation on the kernel, but using Numatop is revealing that java processes are using memory on the isolated CPUs and while I don't believe it's a problem for me, I'd like to squeeze as much water of out this rock as possible :)
Before rebuilding with security onion, I had the ELK stack running one Numa node 0, using numactl commands to run them on that node, and suricata was running on node 1.
Any insights into modifying the docker_running in my minion config file would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions