<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br> <BR><div><hr id="stopSpelling"><div dir="ltr">Hello<br> <br>I've been reading up on CPU affinity settings for Suricata. I have my system configured correctly (I think). Would it be possible for someone to suggest what they would configure with the following spec server?</div><div dir="ltr"> </div><div dir="ltr">HP DL380 Gen 9 fitted with 256G RAM</div><div dir="ltr"> </div><div dir="ltr">Architecture: x86_64<br>CPU op-mode(s): 32-bit, 64-bit<br>Byte Order: Little Endian<br>CPU(s): 40<br>On-line CPU(s) list: 0-39<br>Thread(s) per core: 2<br>Core(s) per socket: 10<br>Socket(s): 2<br>NUMA node(s): 2<br>Vendor ID: GenuineIntel<br>CPU family: 6<br>Model: 63<br>Model name: Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz<br>Stepping: 2<br>CPU MHz: 1430.000<br>BogoMIPS: 4600.51<br>Virtualization: VT-x<br>L1d cache: 32K<br>L1i cache: 32K<br>L2 cache: 256K<br>L3 cache: 25600K<br>NUMA node0 CPU(s): 0-9,20-29<br>NUMA node1 CPU(s): 10-19,30-39</div><div dir="ltr"> </div><div dir="ltr"> </div><div dir="ltr">The Intel NIC I'm using is using NUMA node 1 according to /sys/class/net/ens5f0/device/numa_node</div><div dir="ltr"> </div><div dir="ltr">I'm running Centos 7.1</div><div dir="ltr"> </div><div dir="ltr">Any suggestions would be appreciated.</div><div dir="ltr"> </div><div dir="ltr">The following is what I currently have in the yaml file</div><div dir="ltr"> </div><div dir="ltr"> cpu-affinity:<br> - management-cpu-set:<br> cpu: [ 0 ] # include only these cpus in affinity settings<br> - receive-cpu-set:<br> cpu: [ 0 ] # include only these cpus in affinity settings<br> - decode-cpu-set:<br> cpu: [ "3-19" ]<br> mode: "balanced"<br> - stream-cpu-set:<br> cpu: [ "3-19" ]<br> - detect-cpu-set:<br> cpu: [ "3-19" ]<br> mode: "exclusive" # run detect threads in these cpus</div><div dir="ltr"> </div><div dir="ltr"> </div><div dir="ltr"> </div><div dir="ltr"><br> <br> <br>Regards<br>Lee<br><br> </div></div> </div></body>
</html>