Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    how to change ring buffer to 4096

    Scheduled Pinned Locked Moved TNSR
    7 Posts 2 Posters 676 Views
    Loading More Posts
    • 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.
    • C
      c_cloud
      last edited by

      Hi,

      how can I change ring buffer rx / tx from eg. default 512 to 4096 in dataplane ?

      From the control plane via ethtool I can have no access to this devices ( because of DPDK ).

      Thx

      fractal_boyF 1 Reply Last reply Reply Quote 1
      • fractal_boyF
        fractal_boy @c_cloud
        last edited by

        @c_cloud this should make it

        8200-test tnsr(config)# dataplane dpdk dev 0000:02:00.0 network num-rx-queues 4096 
        Changes to dataplane startup settings require a dataplane restart to take effect.
        8200-test tnsr(config)# dataplane dpdk dev 0000:02:00.0 network num-tx-queues 4096
        Changes to dataplane startup settings require a dataplane restart to take effect.
        8200-test tnsr(config)# serv datapl rest
        8200-test tnsr(config)# wr
        

        documentation for details

        may I know your use case? why do you need to adjust the default settings?

        C 1 Reply Last reply Reply Quote 0
        • C
          c_cloud @fractal_boy
          last edited by

          @fractal_boy

          Hi, ring buffer are note queues - afaik.

          With your settings, I would set 4096 queues ;-) won't work.

          use case is: I'm getting rx miss count rising.

          Settings ring buffer should be e.g. ( as I found out )

          dataplane dpdk dev 0000:02:00.0 network num-tx-desc 4096
          
          fractal_boyF 2 Replies Last reply Reply Quote 1
          • fractal_boyF
            fractal_boy @c_cloud
            last edited by

            @c_cloud yep, I meant desc! I'm glad that worked for you.

            1 Reply Last reply Reply Quote 0
            • fractal_boyF
              fractal_boy @c_cloud
              last edited by

              @c_cloud 4096 is a big number though... I recommend submitting a TAC case so the support team can help you adjust your system.

              C 1 Reply Last reply Reply Quote 0
              • C
                c_cloud @fractal_boy
                last edited by

                @fractal_boy

                wrote a ticket to TAC. Let's see what they bring up.

                C 1 Reply Last reply Reply Quote 1
                • C
                  c_cloud @c_cloud
                  last edited by

                  this was their answer:

                  "If you get 3 Full Views, please check this guide: https://docs.netgate.com/tnsr/en/latest/dynamicrouting/bgp/tuning.html"

                  well... yes thank you.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.