[iovisor-dev] Tracing eBPF programs use only one core

Paul Chaignon paul.chaignon at gmail.com
Wed Sep 13 20:41:11 UTC 2017


On 13/09/2017 17:01, Fabio Salvini wrote:
>
> Thanks for your suggestions.
>
>
> Sorry for the naive question: any idea how can I distribute the 
> traffic among different cores?
>
> If my NIC supports RSS mechanism should it do automatically, right?
>
Yes, if you have multiple flows in your incoming traffic.
You might want to check this blog post:
https://blog.packagecloud.io/eng/2016/06/22/monitoring-tuning-linux-networking-stack-receiving-data/
>
>
> Thanks again your answer,
>
>
> Fabio
>
>
> ------------------------------------------------------------------------
> *Da:* Paul Chaignon <paul.chaignon at gmail.com>
> *Inviato:* mercoledì 13 settembre 2017 10:58
> *A:* Fabio Salvini
> *Cc:* iovisor-dev at lists.iovisor.org
> *Oggetto:* Re: [iovisor-dev] Tracing eBPF programs use only one core
>
>
> On Wed, Sep 13, 2017 at 8:59 AM, Fabio Salvini via iovisor-dev 
> <iovisor-dev at lists.iovisor.org <mailto:iovisor-dev at lists.iovisor.org>> 
> wrote:
>
>     Hi,
>
>
>     I have written a simple tracing program, attached to kprobe
>     "__netif_receive_skb_core", to analyze some sk_buff fields.
>
>     I have done some stress tests and I have always seen only one core
>     works. Should eBPF programs split work on multiple cores, right?
>
>     Do I miss some informations?
>
> Are you sure you're receiving packets on multiple cores?
>
>
>     Cheers,
>
>     Fabio
>
>
>     _______________________________________________
>     iovisor-dev mailing list
>     iovisor-dev at lists.iovisor.org <mailto:iovisor-dev at lists.iovisor.org>
>     https://lists.iovisor.org/mailman/listinfo/iovisor-dev
>     <https://lists.iovisor.org/mailman/listinfo/iovisor-dev>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iovisor.org/pipermail/iovisor-dev/attachments/20170913/4a67ae08/attachment-0001.html>


More information about the iovisor-dev mailing list