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

Will Metcalf william.metcalf at gmail.com
Mon Mar 7 18:28:13 UTC 2011


> 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?

This value is hardset in kernel/linux/pf_ring.h

#define CLUSTER_LEN 8

Modify accordingly, maybe Luca would be kind enough to increase the
default value?

Regards,

Will

>On Mon, Mar 7, 2011 at 11:47 AM, Victor Julien <victor at inliniac.net> 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
>
> --
> ---------------------------------------------
> Victor Julien
> http://www.inliniac.net/
> PGP: http://www.inliniac.net/victorjulien.asc
> ---------------------------------------------
>
> _______________________________________________
> Oisf-users mailing list
> Oisf-users at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
>



More information about the Oisf-users mailing list