[Oisf-users] Improved PF_RING support, please test!
Victor Julien
victor at inliniac.net
Tue Mar 8 09:25:04 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks Luca, I guess we'll find out soon enough if ppl run into perf
issues... I think we have results for 16 and 24 soon.
Cheers,
Victor
On 03/08/2011 08:42 AM, Luca Deri wrote:
> 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:
>
> 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
>>>>>
>>>>
>
>
> ---
> Keep looking, don't settle - Steve Jobs
- --
- ---------------------------------------------
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/
iEYEARECAAYFAk119fAACgkQiSMBBAuniMf0vACfTb+qGwitelqoYNpn9QRqsb3Z
hWQAnjWvWagt310OGdcIzV73clbC0SPB
=zwNN
-----END PGP SIGNATURE-----
More information about the Oisf-users
mailing list