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

Hardware tuning

Hardware
3
14
832
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.
  • A
    Antibiotic
    last edited by Apr 30, 2024, 12:10 PM

    Hello,
    pfsense turning have a tip for igb cards: kern.ipc.nmbclusters="1000000"
    Will this work for igc cards or any other tweaks for this cards?

    pfSense plus 24.11 on Topton mini PC
    CPU: Intel N100
    NIC: Intel i-226v 4 pcs
    RAM : 16 GB DDR5
    Disk: 128 GB NVMe
    Brgds, Archi

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Apr 30, 2024, 6:13 PM

      You almost certainly don't need 1M nmbclusters. The automatically defined value is almost always correct.

      The same goes the igc tunables. We upstreamed a few changes to the defaults, what is set there now should be good.

      Steve

      A T 2 Replies Last reply Apr 30, 2024, 7:01 PM Reply Quote 0
      • A
        Antibiotic @stephenw10
        last edited by Apr 30, 2024, 7:01 PM

        @stephenw10 Oki

        pfSense plus 24.11 on Topton mini PC
        CPU: Intel N100
        NIC: Intel i-226v 4 pcs
        RAM : 16 GB DDR5
        Disk: 128 GB NVMe
        Brgds, Archi

        1 Reply Last reply Reply Quote 0
        • T
          tomashk @stephenw10
          last edited by Apr 30, 2024, 11:50 PM

          @stephenw10 by "now" you mean latest plus version of pfsense? If yes, is it different when compared to latest CE version? I wonder what changed especially if there is something I can apply to my 2.7.2

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by May 1, 2024, 12:27 AM

            Check the max interrupt rate:

            [24.03-RELEASE][admin@4200.stevew.lan]/root: sysctl hw.igc
            hw.igc.max_interrupt_rate: 20000
            hw.igc.eee_setting: 1
            hw.igc.sbp: 1
            hw.igc.smart_pwr_down: 0
            hw.igc.rx_abs_int_delay: 66
            hw.igc.tx_abs_int_delay: 66
            hw.igc.rx_int_delay: 0
            hw.igc.tx_int_delay: 66
            hw.igc.disable_crc_stripping: 0
            
            T A 2 Replies Last reply May 1, 2024, 3:55 PM Reply Quote 1
            • T
              tomashk @stephenw10
              last edited by May 1, 2024, 3:55 PM

              @stephenw10 Thank you. Apparently I have the same values, or maybe for my I225-V I have one more than your list:

              hw.igc.rx_process_limit: 100
              
              A 1 Reply Last reply May 1, 2024, 3:57 PM Reply Quote 0
              • A
                Antibiotic @tomashk
                last edited by May 1, 2024, 3:57 PM

                @tomashk said in Hardware tuning:

                hw.igc.rx_process_limit: 100

                What the benefit from this?
                Are you put this in boot,conf or system tunable?

                pfSense plus 24.11 on Topton mini PC
                CPU: Intel N100
                NIC: Intel i-226v 4 pcs
                RAM : 16 GB DDR5
                Disk: 128 GB NVMe
                Brgds, Archi

                T 1 Reply Last reply May 1, 2024, 8:46 PM Reply Quote 0
                • A
                  Antibiotic @stephenw10
                  last edited by May 1, 2024, 4:07 PM

                  @stephenw multi queue support for this NIC? in default settings or can add:

                  hw.igc.rx_process_limit="-1"
                  hw.igc.tx_process_limit="-1"

                  pfSense plus 24.11 on Topton mini PC
                  CPU: Intel N100
                  NIC: Intel i-226v 4 pcs
                  RAM : 16 GB DDR5
                  Disk: 128 GB NVMe
                  Brgds, Archi

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by May 1, 2024, 5:58 PM

                    It defaults to 100. Yes it's multiqueue.

                           hw.igc.rx_process_limit
                    	       Maximum	number	of received packets to process at a time.  De-
                    	       fault is	100.  A	value of -1 means unlimited.
                    

                    Unlikely you will see any advantage to setting that over 100 IMO. But you can try it.

                    A 1 Reply Last reply May 1, 2024, 6:01 PM Reply Quote 0
                    • A
                      Antibiotic @stephenw10
                      last edited by Antibiotic May 1, 2024, 6:04 PM May 1, 2024, 6:01 PM

                      @stephenw10 Yea, i think you reply to other guy)))
                      In my settings pfSense 24.03, do not have this option: hw.igc.rx_process_limit

                      sysctl hw.igc
                      hw.igc.max_interrupt_rate: 20000
                      hw.igc.eee_setting: 1
                      hw.igc.sbp: 1
                      hw.igc.smart_pwr_down: 0
                      hw.igc.rx_abs_int_delay: 66
                      hw.igc.tx_abs_int_delay: 66
                      hw.igc.rx_int_delay: 0
                      hw.igc.tx_int_delay: 66
                      hw.igc.disable_crc_stripping: 0

                      pfSense plus 24.11 on Topton mini PC
                      CPU: Intel N100
                      NIC: Intel i-226v 4 pcs
                      RAM : 16 GB DDR5
                      Disk: 128 GB NVMe
                      Brgds, Archi

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by May 1, 2024, 7:05 PM

                        Yes because it defaults to 100. You asked about setting it to -1 which is unlimited I don't think that will make any difference as 100 is sufficient. But it's also unlikely to cause a problem so you can try it.

                        A 1 Reply Last reply May 1, 2024, 7:37 PM Reply Quote 0
                        • A
                          Antibiotic @stephenw10
                          last edited by May 1, 2024, 7:37 PM

                          @stephenw10 I mean in my settings 100 is absent at all

                          pfSense plus 24.11 on Topton mini PC
                          CPU: Intel N100
                          NIC: Intel i-226v 4 pcs
                          RAM : 16 GB DDR5
                          Disk: 128 GB NVMe
                          Brgds, Archi

                          1 Reply Last reply Reply Quote 0
                          • T
                            tomashk @Antibiotic
                            last edited by May 1, 2024, 8:46 PM

                            @Antibiotic said in Hardware tuning:

                            @tomashk said in Hardware tuning:

                            hw.igc.rx_process_limit: 100

                            What the benefit from this?
                            Are you put this in boot,conf or system tunable?

                            I haven't set it. It was there by default. I mentioned it because it wasn't present in listing provided by @stephenw10

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by May 2, 2024, 2:44 AM

                              Right because it now is the default so you don't need to set it. You can try setting it to something different as a test if you want but I don't believe it will make any difference.

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