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

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024

ความคิดเห็น • 7

  • @NimTheHuman
    @NimTheHuman 2 ปีที่แล้ว +1

    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

  • @user-kj4yi8zf2v
    @user-kj4yi8zf2v ปีที่แล้ว

    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.

  • @user-jb2sw3lj6s
    @user-jb2sw3lj6s 10 หลายเดือนก่อน

    where can we get the demo codes?