Snort mailing list archives
Re: Multiple snorts on its own cpu core?
From: Edward Bjarte Fjellskål <edward.fjellskal () redpill-linpro com>
Date: Fri, 19 Mar 2010 09:55:02 +0100
Chan, Wilson wrote:
What does this do? "schedtool -M 2 -p 10 $PID" Is this really needed? From some quick reading it seems that using "schedtool -a 0x01 $PID" should do the trick for locking the snort pid to cpu1. ==Schedtool man parameters== -M policy for manual/raw mode; policy is the number of the scheduling policy (see above for 0-4). This option is mostly for kernel guys that want to test their new implementations. -p prio specify static priority required for SCHED_FIFO and SCHED_RR. Usually ranged from 1-99. Wilson Chan
LoL Sorry Wilson, for serving you more than you asked for :) Its not really needed, just something I do :) As I said, you should read about schedtools... also: $ man sched_setscheduler or http://linux.die.net/man/2/sched_setscheduler I just use it cuz I dedicate one cpu to snort... All default other processes uses SCHED_OTHER and they also start with an affinity that allows the processes to run on all CPUS, and in this case, leave the one that snort uses alone :) Sorry again for the overload :) E ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Multiple snorts on its own cpu core? Chan, Wilson (Mar 17)
- Re: Multiple snorts on its own cpu core? Eoin Miller (Mar 17)
- Re: Multiple snorts on its own cpu core? Edward Bjarte Fjellskål (Mar 18)
- Re: Multiple snorts on its own cpu core? Chan, Wilson (Mar 18)
- Re: Multiple snorts on its own cpu core? Edward Bjarte Fjellskål (Mar 19)
- Re: Multiple snorts on its own cpu core? Chan, Wilson (Mar 18)