Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10245

lnetctl --cpt does not assosiate cpt properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.10.1
    • None
    • 3
    • 9223372036854775807

    Description

      [root@fre805 tests]# cat  /sys/devices/system/cpu/online
      0-1
      
      [root@fre805 tests]# lnetctl net show --verbose
      net:
          - net type: lo
            local NI(s):
              - nid: 0@lo
                status: up
                statistics:
                    send_count: 0
                    recv_count: 0
                    drop_count: 0
                tunables:
                    peer_timeout: 0
                    peer_credits: 0
                    peer_buffer_credits: 0
                    credits: 0
                lnd tunables:
                tcp bonding: 0
                dev cpt: 0
                CPT: "[0]"
          - net type: tcp
            local NI(s):
              - nid: 192.168.108.5@tcp
                status: up
                interfaces:
                    0: eth0
                statistics:
                    send_count: 276723
                    recv_count: 316655
                    drop_count: 0
                tunables:
                    peer_timeout: 180
                    peer_credits: 8
                    peer_buffer_credits: 0
                    credits: 256
                lnd tunables:
                tcp bonding: 0
                dev cpt: -1
                CPT: "[0]"
              - nid: 192.168.118.5@tcp
                status: up
                interfaces:
                    0: eth1
                statistics:
                    send_count: 0
                    recv_count: 0
                    drop_count: 0
                tunables:
                    peer_timeout: 180
                    peer_credits: 8
                    peer_buffer_credits: 0
                    credits: 256
                lnd tunables:
                tcp bonding: 0
                dev cpt: -1
                CPT: "[0]"
      [root@fre805 tests]# 
      
      [root@fre805 tests]# lnetctl net add --net tcp --if eth2 --cpt [0, 1]
      
      [root@fre805 tests]# lnetctl net show --verbose
      net:
          - net type: lo
            local NI(s):
              - nid: 0@lo
                status: up
                statistics:
                    send_count: 0
                    recv_count: 0
                    drop_count: 0
                tunables:
                    peer_timeout: 0
                    peer_credits: 0
                    peer_buffer_credits: 0
                    credits: 0
                lnd tunables:
                tcp bonding: 0
                dev cpt: 0
                CPT: "[0]"
          - net type: tcp
            local NI(s):
              - nid: 192.168.108.5@tcp
                status: up
                interfaces:
                    0: eth0
                statistics:
                    send_count: 276843
                    recv_count: 316775
                    drop_count: 0
                tunables:
                    peer_timeout: 180
                    peer_credits: 8
                    peer_buffer_credits: 0
                    credits: 256
                lnd tunables:
                tcp bonding: 0
                dev cpt: -1
                CPT: "[0]"
              - nid: 192.168.118.5@tcp
                status: up
                interfaces:
                    0: eth1
                statistics:
                    send_count: 0
                    recv_count: 0
                    drop_count: 0
                tunables:
                    peer_timeout: 180
                    peer_credits: 8
                    peer_buffer_credits: 0
                    credits: 256
                lnd tunables:
                tcp bonding: 0
                dev cpt: -1
                CPT: "[0]"
              - nid: 192.168.128.5@tcp
                status: up
                interfaces:
                    0: eth2
                statistics:
                    send_count: 0
                    recv_count: 0
                    drop_count: 0
                tunables:
                    peer_timeout: 180
                    peer_credits: 8
                    peer_buffer_credits: 0
                    credits: 256
                lnd tunables:
                tcp bonding: 0
                dev cpt: -1
                CPT: "[0]"
      [root@fre805 tests]# 
      

      nid 192.168.128.5@tcp is not associated with CPT [1]

      Attachments

        Activity

          People

            wc-triage WC Triage
            egryaznova Elena Gryaznova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: