Re: [tcpdump-workers] best strategy for receiving millions-packets-per-second

2020-05-04 Thread Montorsi, Francesco via tcpdump-workers
--- Begin Message --- Hi Ray, >On 04/05/2020 11:08, Montorsi, Francesco wrote: >> a) what's the best way to load-balance received packets across a pool of >> threads / CPU cores: libpcap API is single-thread right? > >Assuming Linux (since you mentioned DPDK) yes, right - I forgot to mention t

Re: [tcpdump-workers] best strategy for receiving millions-packets-per-second

2020-05-04 Thread Montorsi, Francesco via tcpdump-workers
--- Begin Message --- Hi Anders, > Why "as an alternative to the DPDK framework"? I think there is code to use > DPDK in libpcap. Actually there's no code in libpcap 1.9.1 to use DPDK... I just grepped through the tarball.. > I also think there has been efforts to use CP fanout and similar have

[tcpdump-workers] best strategy for receiving millions-packets-per-second

2020-05-04 Thread Montorsi, Francesco via tcpdump-workers
--- Begin Message --- Hi all, I hope this is the right mailing list for this kind of questions (also I couldn't find an "archive search" option so please forgive me if these questions have already been answered)... I'm evaluating libpcap as an alternative to the DPDK framework (https://www.d