Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. New article!

New article!

Scheduled Pinned Locked Moved Uncategorized
11 Posts 7 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

    New article! A user *cough* @aras *cough* is reporting full system freezes while using Superluminal on Linux. What do you do? Cry? Well, we did a little bit.

    But we also dove into the kernel...again, this time finding & fixing several issues in eBPF's spinlock implementation. Read all about it:

    Link Preview Image
    A tale about fixing eBPF spinlock issues in the Linux kernel | Ritesh Oedayrajsingh Varma

    A system freeze led us deep into Linux spinlock internals, where we helped find not one but three bugs in the kernel's resilient locking code used by eBPF.

    favicon

    (rovarma.com)

    agersant@mastodon.gamedev.placeA This user is from outside of this forum
    agersant@mastodon.gamedev.placeA This user is from outside of this forum
    agersant@mastodon.gamedev.place
    wrote last edited by
    #2

    @rovarma @aras excellent read, thank you for explaining all this in an approachable and easy to read format! 👏👏

    1 Reply Last reply
    0
    • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

      New article! A user *cough* @aras *cough* is reporting full system freezes while using Superluminal on Linux. What do you do? Cry? Well, we did a little bit.

      But we also dove into the kernel...again, this time finding & fixing several issues in eBPF's spinlock implementation. Read all about it:

      Link Preview Image
      A tale about fixing eBPF spinlock issues in the Linux kernel | Ritesh Oedayrajsingh Varma

      A system freeze led us deep into Linux spinlock internals, where we helped find not one but three bugs in the kernel's resilient locking code used by eBPF.

      favicon

      (rovarma.com)

      morten_skaaning@mastodon.gamedev.placeM This user is from outside of this forum
      morten_skaaning@mastodon.gamedev.placeM This user is from outside of this forum
      morten_skaaning@mastodon.gamedev.place
      wrote last edited by
      #3

      @rovarma @aras what a journey 😊 best wishes for pushing Superluminal to be excellent for Linux🥇

      1 Reply Last reply
      0
      • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

        New article! A user *cough* @aras *cough* is reporting full system freezes while using Superluminal on Linux. What do you do? Cry? Well, we did a little bit.

        But we also dove into the kernel...again, this time finding & fixing several issues in eBPF's spinlock implementation. Read all about it:

        Link Preview Image
        A tale about fixing eBPF spinlock issues in the Linux kernel | Ritesh Oedayrajsingh Varma

        A system freeze led us deep into Linux spinlock internals, where we helped find not one but three bugs in the kernel's resilient locking code used by eBPF.

        favicon

        (rovarma.com)

        ca1ne@mastodon.gamedev.placeC This user is from outside of this forum
        ca1ne@mastodon.gamedev.placeC This user is from outside of this forum
        ca1ne@mastodon.gamedev.place
        wrote last edited by
        #4

        @rovarma @aras Great article!....and now my anticipation for Superluminal on Linux is even higher. Take my money! 😄

        1 Reply Last reply
        0
        • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

          New article! A user *cough* @aras *cough* is reporting full system freezes while using Superluminal on Linux. What do you do? Cry? Well, we did a little bit.

          But we also dove into the kernel...again, this time finding & fixing several issues in eBPF's spinlock implementation. Read all about it:

          Link Preview Image
          A tale about fixing eBPF spinlock issues in the Linux kernel | Ritesh Oedayrajsingh Varma

          A system freeze led us deep into Linux spinlock internals, where we helped find not one but three bugs in the kernel's resilient locking code used by eBPF.

          favicon

          (rovarma.com)

          aras@mastodon.gamedev.placeA This user is from outside of this forum
          aras@mastodon.gamedev.placeA This user is from outside of this forum
          aras@mastodon.gamedev.place
          wrote last edited by
          #5

          @rovarma great post! (kinda proud of myself that my very eyeball-y guess “200ms stalls” turned out to be almost exactly correct :))

          Would be good to clarify why only certain kernel versions were affected, since now not clear why only I could see the problem initially

          rovarma@mastodon.gamedev.placeR 1 Reply Last reply
          0
          • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

            New article! A user *cough* @aras *cough* is reporting full system freezes while using Superluminal on Linux. What do you do? Cry? Well, we did a little bit.

            But we also dove into the kernel...again, this time finding & fixing several issues in eBPF's spinlock implementation. Read all about it:

            Link Preview Image
            A tale about fixing eBPF spinlock issues in the Linux kernel | Ritesh Oedayrajsingh Varma

            A system freeze led us deep into Linux spinlock internals, where we helped find not one but three bugs in the kernel's resilient locking code used by eBPF.

            favicon

            (rovarma.com)

            davidgmbb@mastodon.socialD This user is from outside of this forum
            davidgmbb@mastodon.socialD This user is from outside of this forum
            davidgmbb@mastodon.social
            wrote last edited by
            #6

            @rovarma Great post. I can't wait to use Superluminal on Linux 🙂

            1 Reply Last reply
            0
            • aras@mastodon.gamedev.placeA aras@mastodon.gamedev.place

              @rovarma great post! (kinda proud of myself that my very eyeball-y guess “200ms stalls” turned out to be almost exactly correct :))

              Would be good to clarify why only certain kernel versions were affected, since now not clear why only I could see the problem initially

              rovarma@mastodon.gamedev.placeR This user is from outside of this forum
              rovarma@mastodon.gamedev.placeR This user is from outside of this forum
              rovarma@mastodon.gamedev.place
              wrote last edited by
              #7

              @aras Good point! Added a bit about that in the conclusion.

              TL;DR: usage of rqspinlock in the ebpf ring buffer was introduced with kernel 6.15, and our development machines (and most of our alpha testers) are on Ubuntu, which runs an older kernel than that (6.14).

              It would eventually have shown up for us too, once Ubuntu caught up.

              rovarma@mastodon.gamedev.placeR aras@mastodon.gamedev.placeA 2 Replies Last reply
              0
              • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

                @aras Good point! Added a bit about that in the conclusion.

                TL;DR: usage of rqspinlock in the ebpf ring buffer was introduced with kernel 6.15, and our development machines (and most of our alpha testers) are on Ubuntu, which runs an older kernel than that (6.14).

                It would eventually have shown up for us too, once Ubuntu caught up.

                rovarma@mastodon.gamedev.placeR This user is from outside of this forum
                rovarma@mastodon.gamedev.placeR This user is from outside of this forum
                rovarma@mastodon.gamedev.place
                wrote last edited by
                #8

                @aras I’m planning on switching my dev machine to Arch, which is on the bleeding edge kernel usually, so that we’ll spot issues like this faster locally in the future

                1 Reply Last reply
                0
                • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

                  @aras Good point! Added a bit about that in the conclusion.

                  TL;DR: usage of rqspinlock in the ebpf ring buffer was introduced with kernel 6.15, and our development machines (and most of our alpha testers) are on Ubuntu, which runs an older kernel than that (6.14).

                  It would eventually have shown up for us too, once Ubuntu caught up.

                  aras@mastodon.gamedev.placeA This user is from outside of this forum
                  aras@mastodon.gamedev.placeA This user is from outside of this forum
                  aras@mastodon.gamedev.place
                  wrote last edited by
                  #9

                  @rovarma nice! And again, oh man what a debugging story. Massive props both for writing it down, and for working with kernel folks to actually fix it. ❤️

                  1 Reply Last reply
                  0
                  • rovarma@mastodon.gamedev.placeR rovarma@mastodon.gamedev.place

                    New article! A user *cough* @aras *cough* is reporting full system freezes while using Superluminal on Linux. What do you do? Cry? Well, we did a little bit.

                    But we also dove into the kernel...again, this time finding & fixing several issues in eBPF's spinlock implementation. Read all about it:

                    Link Preview Image
                    A tale about fixing eBPF spinlock issues in the Linux kernel | Ritesh Oedayrajsingh Varma

                    A system freeze led us deep into Linux spinlock internals, where we helped find not one but three bugs in the kernel's resilient locking code used by eBPF.

                    favicon

                    (rovarma.com)

                    A This user is from outside of this forum
                    A This user is from outside of this forum
                    aachrisg@mastodon.gamedev.place
                    wrote last edited by
                    #10

                    @rovarma @aras Will a cheap rs232 to ethernet adapter + rs232 card work for kernel debuggjng? The advantage would be that you only need this on the target machine to gain access to it from any computer that can see its ip addr.

                    rovarma@mastodon.gamedev.placeR 1 Reply Last reply
                    0
                    • A aachrisg@mastodon.gamedev.place

                      @rovarma @aras Will a cheap rs232 to ethernet adapter + rs232 card work for kernel debuggjng? The advantage would be that you only need this on the target machine to gain access to it from any computer that can see its ip addr.

                      rovarma@mastodon.gamedev.placeR This user is from outside of this forum
                      rovarma@mastodon.gamedev.placeR This user is from outside of this forum
                      rovarma@mastodon.gamedev.place
                      wrote last edited by
                      #11

                      @aachrisg @aras it might, but honestly a regular rs232 card is not expensive either, so it doesn’t matter much 🙂

                      1 Reply Last reply
                      0
                      • R relay@relay.infosec.exchange shared this topic
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups