Intel Gigabit Ethernet Driver To Speed-Up With AF_XDP Zero-Copy For Linux 6.14

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67385

    Intel Gigabit Ethernet Driver To Speed-Up With AF_XDP Zero-Copy For Linux 6.14

    Phoronix: Intel Gigabit Ethernet Driver To Speed-Up With AF_XDP Zero-Copy For Linux 6.14

    Queued up into the networking subsystem's "net-next" branch last week ahead of the Linux 6.14 kernel cycle is AF_XDP zero-copy support for the common Intel Gigabit Ethernet "IGB" driver. With this the AF_XDP performance improvements can be quite dramatic in leveraging this zero-copy path...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • Kjell
    Senior Member
    • Apr 2019
    • 691

    #2
    Is there a list of hardware which supports zero-copy operations in Linux?

    This could be useful for a low latency DIY router

    Comment

    • aviallon
      Senior Member
      • Dec 2022
      • 294

      #3
      You can try Wikipedia and then the kernel's source code
      Safe from that, I don't think it exists yet.

      Comment

      • microcode
        Senior Member
        • Mar 2013
        • 2378

        #4
        How does this compare, efficiency-wise (for say, a bulk TCP application), to IO_URING?

        Comment

        • Jumbotron
          Senior Member
          • Jul 2015
          • 1266

          #5
          Originally posted by microcode View Post
          How does this compare, efficiency-wise (for say, a bulk TCP application), to IO_URING?
          To dovetail off this, would this have any effect with online gaming ? And if so, would it be negligible or significant ?

          Comment

          • LtdJorge
            Senior Member
            • Sep 2020
            • 190

            #6
            Originally posted by Jumbotron View Post

            To dovetail off this, would this have any effect with online gaming ? And if so, would it be negligible or significant ?
            No, because it requires explicit use by the application.

            Comment

            • LtdJorge
              Senior Member
              • Sep 2020
              • 190

              #7
              I got excited for a bit, then I remembered I'm using IGB for my management network, my main one is on 10Gb Atlantic...

              Comment

              • microcode
                Senior Member
                • Mar 2013
                • 2378

                #8
                Originally posted by Jumbotron View Post
                To dovetail off this, would this have any effect with online gaming ? And if so, would it be negligible or significant ?
                In practice no, because it would involve the game or game server process taking over the whole NIC. IO_URING on the other hand can help with games, both for network IO and for disk IO... but that still requires the games being written for it, which would likely be limited to very niche Linux native games or game servers (though perhaps somebody could do something in the upstream commercial game engines to make use of it, unreal has built-in UDP netcode that could probably benefit).

                Comment

                • Kjell
                  Senior Member
                  • Apr 2019
                  • 691

                  #9
                  Originally posted by microcode View Post

                  In practice no, because it would involve the game or game server process taking over the whole NIC. IO_URING on the other hand can help with games, both for network IO and for disk IO... but that still requires the games being written for it, which would likely be limited to very niche Linux native games or game servers (though perhaps somebody could do something in the upstream commercial game engines to make use of it, unreal has built-in UDP netcode that could probably benefit).
                  Couldn't WINE use IO_URING for networking in games?

                  Comment

                  • microcode
                    Senior Member
                    • Mar 2013
                    • 2378

                    #10
                    Originally posted by Kjell View Post
                    Couldn't WINE use IO_URING for networking in games?
                    wine could use IO_URING to emulate IOCP, but it wouldn't necessarily be that fast, then again it might be totally fine!

                    Comment

                    Working...
                    X