Jump to content
  • Linux 5.17 To Boast A Big TCP Performance Optimization

    aum

    • 461 views
    • 2 minutes
     Share


    • 461 views
    • 2 minutes

    While the Linux 5.16 merge window just ended and that kernel won't be out until the tail end of the calendar year, already for Linux 5.17 new material is beginning to accumulate in the respective subsystem development trees... One set of changes merged this morning from Google can provide a sizable performance win around TCP performance in the datacenter.


    Merged this morning by David Miller is these TCP optimizations from Eric Dumazet, a Google engineer.


    The most exciting part of these optimizations is this patch in the TCP code to defer SKB freeing after the socket lock is released. The existing kernel code was found to introduce excess latency that can be avoided by not carrying out the SKB freeing while the socket lock is held. Instead they will be freed after the socket lock is released or directly from the BH handler.


    This yields "much improved performance" at least for high volume TCP traffic in the data-center. On a 100Gbit NIC, TCP network throughput tests with a 1500 MTU size went from 55 to 65 Gbit while for a 4096+ MTU went from 82 to 95 Gbit.

     

    image.php?id=2021&image=linux_517_tcp

     

    While only TCP is touched for now, the merge does note that a similar optimization can likely be extended to other protocols. These TCP optimizations will be found in Linux 5.17 next year.

     

    Source


    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...