<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Threading on Inliniac</title>
    <link>https://inliniac.net/blog/tag/threading/</link>
    <description>Recent content in Threading on Inliniac</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 10 Jul 2012 15:22:02 +0000</lastBuildDate>
    <atom:link href="https://inliniac.net/blog/tag/threading/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Suricata on Myricom capture cards</title>
      <link>https://inliniac.net/blog/2012/07/10/suricata-on-myricom-capture-cards/</link>
      <pubDate>Tue, 10 Jul 2012 15:22:02 +0000</pubDate>
      <guid>https://inliniac.net/blog/2012/07/10/suricata-on-myricom-capture-cards/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://inliniac.net/blog/blog/wp-content/uploads/2012/07/myricom-sync-adapter-1.png&#34;&gt;&lt;img src=&#34;https://inliniac.net/blog/blog/wp-content/uploads/2012/07/myricom-sync-adapter-1.png?w=300&#34; alt=&#34;&#34;&gt;&lt;/a&gt; Myricom and OISF just &lt;a href=&#34;http://www.openinfosecfoundation.org/index.php/component/content/article/1-latest-news/158-myricom-joins-oisf&#34;&gt;announced&lt;/a&gt; that Myricom joined to OISF consortium to support the development of Suricata. The good folks at Myricom already sent me one of their cards earlier. In this post I&amp;rsquo;ll describe how you can use these cards already, even though Suricata doesn&amp;rsquo;t have native Myricom support yet. So in this guide I&amp;rsquo;ll describe using the Myricom libpcap support.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Getting started&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m going to assume you installed the card properly, installed the Sniffer driver and made sure that all works. Make sure that in your &lt;em&gt;dmesg&lt;/em&gt; you see that the card is in sniffer mode:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Suricata scaling improvements</title>
      <link>https://inliniac.net/blog/2012/05/29/suricata-scaling-improvements/</link>
      <pubDate>Tue, 29 May 2012 15:52:52 +0000</pubDate>
      <guid>https://inliniac.net/blog/2012/05/29/suricata-scaling-improvements/</guid>
      <description>&lt;p&gt;For the Suricata 1.3beta1 release, one of our goals was to improve the scalability of the engine when running on many cores. As the graph below shows, we made a good deal of progress.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://inliniac.net/blog/blog/wp-content/uploads/2012/05/suri11vs13.png&#34;&gt;&lt;img src=&#34;https://inliniac.net/blog/blog/wp-content/uploads/2012/05/suri11vs13.png&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The blue line is an older 1.1 version, the yellow line is 1.3dev. It clearly shows that 1.1 peaked at 4 cores, then started to get serious contention issues. 1.3dev scales nicely beyond that, up to 24 cores in this test (four 6core AMD cpu&amp;rsquo;s). Tilera recently demonstrated Suricata on their many core systems, running a single Suricata process per cpu. Their cpu&amp;rsquo;s have 36 real cores.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Suricata runmode changes</title>
      <link>https://inliniac.net/blog/2012/03/23/suricata-runmode-changes/</link>
      <pubDate>Fri, 23 Mar 2012 07:31:45 +0000</pubDate>
      <guid>https://inliniac.net/blog/2012/03/23/suricata-runmode-changes/</guid>
      <description>&lt;p&gt;Yesterday I pushed a patch that changes the default runmode from &amp;ldquo;auto&amp;rdquo; to &amp;ldquo;autofp&amp;rdquo;. The autofp name stands for &amp;ldquo;auto flow pinning&amp;rdquo; and it automatically makes sure all packets belonging to a flow are processed by the same stream, detection and output thread. Until now, the assignment was done with a simple hash calculation. The problem with that is that it doesn&amp;rsquo;t take into account how busy a thread may be.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Listening on multiple interfaces with Suricata</title>
      <link>https://inliniac.net/blog/2010/12/24/listening-on-multiple-interfaces-with-suricata/</link>
      <pubDate>Fri, 24 Dec 2010 13:13:24 +0000</pubDate>
      <guid>https://inliniac.net/blog/2010/12/24/listening-on-multiple-interfaces-with-suricata/</guid>
      <description>&lt;p&gt;A question I see quite often is, can I listen on multiple interfaces with a single Suricata instance? Until now the answer always was &amp;ldquo;no&amp;rdquo;. I&amp;rsquo;d suggest trying the &amp;ldquo;any&amp;rdquo;-pseudo interface (suricata -i any), with an bpf to limit the traffic or using multiple instances of Suricata. That last suggestion was especially painful, as one of the goals of Suricata is to allow a single process to process all packets using all available resources.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
