[Oisf-users] Improved PF_RING support, please test!
Luca Deri
deri at ntop.org
Tue Mar 8 07:42:54 UTC 2011
Victor
this is just a define you can increase. However note that clusters were designed to handle a few apps, thus if you increase the value to a much higher value, we better review the code and see if it is still efficient enough for your purposes
Regards Luca
On Mar 7, 2011, at 9:49 PM, Victor Julien wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thanks for figuring that out Will!
>
> Luca, can we have a higher (or no) limit? I keep hearing stories of ppl
> with 24 cores :)
>
> Cheers,
> Victor
>
> On 03/07/2011 07:28 PM, Will Metcalf wrote:
>>> 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
>>>
>>
>
>
> - --
> - ---------------------------------------------
> Victor Julien
> http://www.inliniac.net/
> PGP: http://www.inliniac.net/victorjulien.asc
> - ---------------------------------------------
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk11RNMACgkQiSMBBAuniMd87QCfca48WnvolpXELmru4cq2P0f5
> m4AAn3zoIPx1Pa6NJVT0jbivrMmquJ11
> =rATG
> -----END PGP SIGNATURE-----
---
Keep looking, don't settle - Steve Jobs
More information about the Oisf-users
mailing list