A Beginner's Guide to eBPF Programming for Networking - Liz Rice, Isovalent

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 8

  • @NimTheHuman
    @NimTheHuman 2 года назад +2

    Thank you, Liz Rice! This was very informative.
    Similar to your "Containers From Scratch" talk, this was very beginner-friendly, yet somewhat low-level.

  • @pyndtv
    @pyndtv Год назад

    Perfect demonstration..! I know a lot more and a lot better now! Thanks.

  • @jhonwick1234
    @jhonwick1234 Год назад

    super video

  • @ኬንቶ
    @ኬንቶ Год назад

    Wow awesome

  • @indiantechnologyguy
    @indiantechnologyguy 2 года назад

    Great demostration Liz.
    Quick question:
    compare time for ping in both cases.
    without traffic control (tc) 00:15:43 time=0.095
    with traffic control(tc) 00:21:46 time=0.230
    with tc it should have been quicker as we skip network stack in container, but it was other way around.
    My take would be trace messages printing may have added delay but not sure about it.
    Will recreate the setup and validate my claim.
    Would like to know form others what they think about this ?

    • @fabracht
      @fabracht 2 года назад +2

      Took 6 months to get to me, but anyways.
      First, to answer your question I'm going to ignore the fact that it's just one ping, so there's no standard dev. This would mean that you can't really say if the values are different or not. So, just for the fun of commenting on code, here we go:
      I would say that the major contributor is overhead from the ping reply. Didn't look at the source code, but that clone might be the guy you're looking for. Running with an operf and then a opannotate should give you the answer.
      Ping, if I'm not mistaken, is answered by the ICMP module in the kernel. So it's pretty darn fast. In fact, you can disable it with ```sysctl -w net.ipv4.icmp_echo_ignore_all=1```. Gonna need sudo for that. If you hit a ping localhost after that you'll see that your ping doesn't get any answers.
      The printing might cause some delay, yes, but you have printing in both cases.

  • @李锦龙-n3d
    @李锦龙-n3d Год назад

    where can we get the demo codes?

    • @BDyoungster1997
      @BDyoungster1997 2 месяца назад

      Get the book learning eBPF under O'Reilly publication
      It's free officially I think
      This lady is the author there if I remember right