libteam icon indicating copy to clipboard operation
libteam copied to clipboard

teamd high cpu usage

Open icebluey opened this issue 5 years ago • 9 comments

I compiled teamd from source, and install it successfully. It works, but tasks too high cpu usage (60%~90%). libteam version: libteam-git.95037b1 OS: RHEL 7.8

icebluey avatar May 15 '20 00:05 icebluey

For comparison I am having a high cpu usage problem on debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956803

No other reports have been seen on my end.

I have not tried compiling it from source yet.

hachi avatar May 27 '20 11:05 hachi

You should try to compile it from src code.

icebluey avatar May 27 '20 17:05 icebluey

@icebluey Try to run strace -p <pid_of_teamd> to check that teamd is doing?

pavel-shirshov avatar Jun 17 '20 22:06 pavel-shirshov

@hachi, I've just got a high CPU usage problem, seems the same. strace -p PID: tmp.log teamd was compiled from sources. The configuration looks like this:

{
    "device": "team1",
    "runner": {
        "name": "loadbalance",
        "tx_hash": [
            "eth"
        ]
    },
    "link_watch": {
        "name": "ethtool"
    },
    "ports": {
        "eth3": {},
        "eth5": {},
        "eth7": {}
    }
}

ltWolfik avatar Jul 20 '20 16:07 ltWolfik

Seems, reverting "teamd: Disregard current state when considering port enablement" (deadb5b715227429a1879b187f5906b39151eca9) fixes the problem with high CPU usage. I don't know why - this is experimental result.

ltWolfik avatar Jul 20 '20 18:07 ltWolfik

Hi @ltWolfik Can you please send your bugreport to [email protected] https://lists.fedorahosted.org/archives/list/[email protected]/ github issues are not checked by Jiri

pavel-shirshov avatar Jul 20 '20 19:07 pavel-shirshov

@pavel-shirshov, I've sent.

ltWolfik avatar Jul 21 '20 10:07 ltWolfik

I am also having this issue. I reported it on fedora bugzilla here https://bugzilla.redhat.com/show_bug.cgi?id=1873128

systemdarena avatar Aug 28 '20 12:08 systemdarena

This issue has been open for almost a year and it can still be reproduced on 1.31.

Evernow avatar Mar 24 '21 00:03 Evernow