Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-6848

RFE - implement ifmib_max_num_ifaces Config option

    • rhel-sst-cs-system-management
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      Can the following upstream patch be applied.

      commit 6624b240e034e8f8a85acd09d19519150df2c0a3
      Author: Sam Tannous stannous@cumulusnetworks.com
      Date: Wed Nov 13 11:20:46 2019 -0800

      This patch introduces a new config option "ifmib_max_num_ifaces NUM"
      This patch sets the maximum number of interfaces included in IF-MIB
      data collection. For servers with a large number of interfaces
      (ppp, dummy, bridge, etc) the IF-MIB processing will take a large
      chunk of CPU for ioctl calls (on Linux). Setting a reasonable
      maximum number of ifaces for the CPU used will reduce the CPU
      load for IF-MIB processing. For example, configuring
      "ifmib_max_num_ifaces 500" will include only the first 500
      interfaces based on ifindex and ignore all others for IF-MIB
      processing.

      Signed-off-by: Sam Tannous stannous@cumulusnetworks.com
      [ bvanassche: combined two patches into one and removed one unused variable ]

      We have a customer that has alot of interfaces and is getting around 20% load because of this issue.

              jridky Josef Řídký
              rhn-support-jnikolak Jon Nikolakakis (Inactive)
              rhel-cs-system-management-subsystem-qe Bot rhel-cs-system-management-subsystem-qe Bot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: