From nobody Sun Jul 30 18:12:58 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RDTy11sj0z4pHHR for ; Sun, 30 Jul 2023 18:13:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RDTxl2D9Cz3GMY for ; Sun, 30 Jul 2023 18:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690740779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lild+PyY1A+dy5Dbx53jRrSkrWLDQqL4Dilhc8pf4oQ=; b=pm+KvQaWJtAbmvFJOjsnKrvKsbswW7J/zRDDgTlSKcNJFJSefIH9bpVmVJ7KAolDu/FFjN 2N+6cEcgXU+o6wMjsayQKFQ/MemJyLULP3d3LbkPLOOZoNMMFQcmuNWt0rFiNDtQnGxco0 ajPXsPiPdwziuP0ibrYBuDm/lSmEomImTgNtI+RO9BvpJXBPacbIBLDKvQcxfcWvgB2sZ6 tpHCMzewRLR8HFHaMlKLJXDNvlDRp47xfy6yvesCH2BITr9vXD6oCRXF5p70pzLFPc17z5 lOgesAg/Kjos3KVt2a6qvdn+T14aHtQAwq9/9dD0VwwSgqekOxp74fNltup9Ew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690740779; a=rsa-sha256; cv=none; b=beoi7hCRyJy2s0U1Eqv+ZL7IIxBBh8oE07q4qvh/+7JWreTuL19AXGu42iqTCBf30lc1t2 Kr3E8Cfp+Ub5ElUJZfIOSx/vdeVV2s4yTmzk9tiCOhGwDvcqgxp0mZsGvWHVDiyWwsO/Bk qNMS1UTiRtLV53fMsDAaaqzG58Vl5O9V3WQfdVjMMdEdu+fBgwvOBWFW6Oq9Sdiyki4ut9 otndwxCrnQ5YtnegZMBmgAJtGuZFsrHPJURRGotNnUh5WMLN70XG53GzPlcc1y+NIwvO6K ULCHCrEjbEGWTinZSERss8wcqLq6VS8EgZfMTNyjZgqMI+mSW/ZpBxg7/+S80A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RDTxk4HY0zPb9 for ; Sun, 30 Jul 2023 18:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36UICwcO065700 for ; Sun, 30 Jul 2023 18:12:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36UICwK0065699 for bugs@FreeBSD.org; Sun, 30 Jul 2023 18:12:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272818] hv_kvp_daemon high CPU usage on Internet router Date: Sun, 30 Jul 2023 18:12:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wencey@apernet.io X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272818 Bug ID: 272818 Summary: hv_kvp_daemon high CPU usage on Internet router Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: wencey@apernet.io The `hv_kvp_daemon` runs scripts such as: ``` sh -c "netstat -rn | grep hn1 | awk '/default/ {print $2 }'" ``` to collect the gateway configuration. However, on systems used as an Internet router that contain millions of rou= tes, this approach drains the CPU, causing Hyper-V Manager to freeze. Additional= ly, the script itself is not multi-fib aware. --=20 You are receiving this mail because: You are the assignee for the bug.=