[Snort-users] CPU Affinity

Craig Merchant cmerchant at ...16022...
Sat Jan 26 14:36:31 EST 2013

Thanks, Livio...  So, we use PF-RING with the DNA/Libzero drivers.  But Snort uses the pcap DAQ to access the Libzero interfaces, not the pf_ring DAQ.

Does that make any difference?



From: Livio Ricciulli [mailto:livio at ...15149...]
Sent: Friday, January 25, 2013 10:05 PM
To: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] CPU Affinity

According to our empirical measurements using PF-RING (if that's what you are using), DON'T use CPU affinity; DON'T bind CPUs. Let the Linux scheduler do what it wishes..
The definite proof is to compare identical runs using different setups on your hardware, with your rules, with your traffic..
However, i would bet that what I recommended above will win..

On 1/25/2013 1:59 PM, Craig Merchant wrote:
We have a Snort sensor that runs 28 instances.  Their CPU utilization tends average between 25% and 95%+.  I've read opinions both ways for setting CPU affinity.  What are the benefits/drawbacks of setting CPU affinity?




Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,

MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current

with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft

MVPs and experts. ON SALE this month only -- learn more at:



Snort-users mailing list

Snort-users at lists.sourceforge.net<mailto:Snort-users at lists.sourceforge.net>

Go to this URL to change user options or unsubscribe:


Snort-users list archive:


Please visit http://blog.snort.org to stay current on all the latest Snort news!


Livio Ricciulli

MetaFlows Inc.

(408) 835-5005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20130126/f6f2d318/attachment.html>

More information about the Snort-users mailing list