Page MenuHomePhabricator

Slow response from show commands when using Intel g73131 and SNMP
Closed, ResolvedPublic

Asked by agustafson on Jan 16 2018, 10:43 PM.

Details

When I run show interfaces it takes 10+ seconds to complete and the vyatta-show-int process uses 30+% CPU. This behavior is only present if I am running snmpd with an Intel g73131. If I kill -9 snmpd the show interfaces command works as expected.

I wasn't aware of a previous bug for this but I would be happy to open one and provide more details.

I see this on both 1.1.7 and 1.1.8.

Config:

vyos@vyos:~$ cat /config/config.boot 
interfaces {
    ethernet eth0 {
        duplex auto
        hw-id b8:ca:3a:68:c1:a4
        smp_affinity auto
        speed auto
    }
    ethernet eth1 {
        duplex auto
        hw-id b8:ca:3a:68:c1:a2
        smp_affinity auto
        speed auto
    }
    ethernet eth2 {
        duplex auto
        hw-id b8:ca:3a:68:c1:a0
        smp_affinity auto
        speed auto
    }
    ethernet eth3 {
        duplex auto
        hw-id b8:ca:3a:68:c1:a5
        smp_affinity auto
        speed auto
    }
    ethernet eth4 {
        duplex auto
        hw-id b4:96:91:0b:53:14
        smp_affinity auto
        speed auto
    }
    ethernet eth5 {
        duplex auto
        hw-id b4:96:91:0b:53:16
        smp_affinity auto
        speed auto
    }
    loopback lo {
    }
}
service {
    snmp {
        community public {
            authorization ro
        }
        community publixc {
            authorization ro
        }
    }
    ssh {
        port 22
    }
}
system {
    config-management {
        commit-revisions 20
    }
    console {
        device ttyS0 {
            speed 9600
        }
    }
    host-name vyos
    login {
        user vyos {
            authentication {
                encrypted-password $1$5HsQse2v$VQLh5eeEp4ZzGmCG/PRBA1
                plaintext-password ""
            }
            level admin
        }
    }
    ntp {
        server 0.pool.ntp.org {
        }
        server 1.pool.ntp.org {
        }
        server 2.pool.ntp.org {
        }
    }
    package {
        auto-sync 1
        repository community {
            components main
            distribution helium
            password ""
            url http://packages.vyos.net/vyos
            username ""
        }
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone UTC
}


/* Warning: Do not remove the following line. */
/* === vyatta-config-version: "cluster@1:config-management@1:conntrack-sync@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@4:nat@4:qos@1:quagga@2:system@6:vrrp@1:wanloadbalance@3:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: VyOS 1.1.8 */
vyos@vyos:~$

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.