[Oisf-users] Improved PF_RING support, please test!

Joshua White - Everis Inc jwhite at everisinc.com
Mon Mar 7 20:41:26 UTC 2011


I seem to be scaleing fine up to 8 threads. Load doesn't seem ballanced though. 
It's on a partially loaded line ~1Gbps of traffic. I will try increasing the 
"#define CLUSTER_LEN 8" to 16 first then 24.

- Josh

On Monday, March 07, 2011 12:47:37 pm Victor Julien wrote:
> On 03/07/2011 06:15 PM, Chris Wakelin wrote:
> > On 28/02/11 20:23, Victor Julien wrote:
> >> Hey guys,
> >> 
> >> I know a couple of you are running PF_RING in a high speed environment.
> >> The attached patch means to improve it's performance. It adds a new
> >> option called "pfring.threads" that controls the number of reader
> >> threads the pfring code uses. I've tested (lightly) with 1, 4 and 8
> >> which all worked fine. There are some more improvements, including the
> >> removal of one memcpy per packet...
> > 
> > OK, giving it a go with 4 threads ...
> 
> It seems that the maximum is 8 threads here. Not sure if that can be set
> higher if the number of slots in pfring are increased. Anyone try that?
> 
> Cheers,
> Victor



More information about the Oisf-users mailing list