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

[RHEL-9] nft -t list set super slow

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-9.5
    • rhel-9.5
    • nftables
    • nftables-1.0.9-3.el9
    • None
    • Important
    • rhel-sst-networking-core
    • ssg_networking
    • 22
    • 3
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • None
    • Release Note Not Required
    • x86_64
    • None

      What were you trying to do that didn't work?

      When a SET is full of a large amount elements,
      e.g.
      table inet t {
              set myset

      {                 type ipv4_addr . inet_service . ipv4_addr . inet_service . inet_proto                 size 838860800                 flags dynamic,timeout                 timeout 1d         }

      }
       

      1. nft -t list inet t myset
        It returned super slow, I expected it could be as fast as 
      2. nft -t list ruleset
        returned in a second.
         

        Please provide the package NVR for which bug is seen:

      5.14.0-457.el9.x86_64

      nftables-1.0.9-1.el9.x86_64

      How reproducible:

      always

      Steps to reproduce

      1. Prepare a SET with a large mount of elements.
      2. nft -t list inet t <set name>
      3.  

      Expected results

      Expect this list set could return as fast as 

      1. nft -t list ruleset

        Actual results

      super slow

              psutter@redhat.com Phil Sutter
              rhn-support-yiche Yi Chen
              Phil Sutter Phil Sutter
              Yi Chen Yi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: