<div dir="ltr">Hello,<div><br></div><div>I tried pull request <a href="https://github.com/OISF/suricata/pull/3616" target="_blank">https://github.com/OISF/suricata/pull/3616</a> . </div><div>But it didn't help to increate number of software rings for ix0+</div><div><br></div><div>Any help ?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 4, 2019 at 9:21 PM Carlos Lopez <<a href="mailto:clopmz@outlook.com">clopmz@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="ES">
<div class="gmail-m_-7099639452049343815WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I need to test it, but maybe you can try <a href="https://github.com/OISF/suricata/pull/3616" target="_blank">https://github.com/OISF/suricata/pull/3616</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black">C. L. Martinez </span>
<span lang="EN-US"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">Oisf-users <<a href="mailto:oisf-users-bounces@lists.openinfosecfoundation.org" target="_blank">oisf-users-bounces@lists.openinfosecfoundation.org</a>> on behalf of Özkan KIRIK <<a href="mailto:ozkan.kirik@gmail.com" target="_blank">ozkan.kirik@gmail.com</a>><br>
<b>Date: </b>Monday, 4 February 2019 at 09:42<br>
<b>To: </b>"<a href="mailto:oisf-users@lists.openinfosecfoundation.org" target="_blank">oisf-users@lists.openinfosecfoundation.org</a>" <<a href="mailto:oisf-users@lists.openinfosecfoundation.org" target="_blank">oisf-users@lists.openinfosecfoundation.org</a>><br>
<b>Subject: </b>[Oisf-users] Suricata 4.1.2 - Netmap does sw_ring support multi threads ?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">Hello, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm using suricata 4.1.2 with netmap. I am testing on both FreeBSD 11.2 and FreeBSD 12.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">My configuration is as below:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">netmap:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> - interface: ix0<br>
threads: 8 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">copy-mode: ips<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">copy-iface: ix0+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> - interface: ix0+<br>
threads: 8 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">copy-mode: ips<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">copy-iface: ix0<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">But suricata opens 8 threads for ix0, but opens only 1 thread for ix0+ (sw_ring) interface. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Also i tried <a href="https://github.com/OISF/suricata/pull/3596" target="_blank">https://github.com/OISF/suricata/pull/3596</a> pull request. It also behaves same.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I need to increase number of threads for ix0+ (sw_ring part) because of throughput needs. Each thread can handle about 1.3Gbps. I want to reach to 10Gbps.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is it possible to configure number of threads for ix0+ ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you. Regards<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>