From nobody Sat Jun 28 10:33:15 2025 X-Original-To: net@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 4bTpfk1kCPz5yrMQ for ; Sat, 28 Jun 2025 10:33:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bTpfj6bCHz3v16 for ; Sat, 28 Jun 2025 10:33:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751106797; 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=/biUXlGSe01fEarJJrWDOXXY2pBM0tr8xrJXn1R9MOM=; b=cIN+gMxn2/ve1VQErRZq5eciVaVoDqfdtq0hWBvRzVGWiZWgOUE5PZGoKygKHGE30mPPUY ZKeP8k+2pf9b+HfM+H/w5vtqvaKtsZ9O/hJBXknt0HjDmXunA3OmEBqNvSS99V7OviIwtY 7wx0k8vKAGYVIRJU7kXQgs/9A6i5oX3tbGSGA1KtoiLF27LI2wHECZOQrSliBYa+ceko1t zdsPKOK7K2ZLFTN+p/ijI6QjD8WAwPsKtjqhCS/EqzR2mI+X43gk6jjrNHzB9CpwWdRe1z 7rCRfNCjQygZw9WT1vvrxxigefGwCYA8myW8pXsrXMR1IFuEUSa/dhTDxy0nxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751106797; 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=/biUXlGSe01fEarJJrWDOXXY2pBM0tr8xrJXn1R9MOM=; b=Hqp+KMRkc2Wy6oGUse9PcuT7B2LuIAZ3mU1T4LE4wQG9G6TRWJ7ayAeC1e+FiHB4seSJTQ g7/NIiqT+U1BF/Y4j7iVAwXvTXsOnzHrNGcN46WiKH6bJ6CQfVBMFiT4mECZrbuxjcfYVb o+wcbA29ojbuN7atA27BN23Bjqb0rfyDNkiEbk43Xk14a6j9gs82YiCsdxTnFigwvBOuIP CqZ/ww7qbcFecfBtw794/xkhbkMOnH4LfT0RapMW2RF85yyf/CSRxJEfRHlRb7QtQ6qPjS lzjsCpBFGemVGlT5fJjjowP3ppzBFcLSK/MFDKnPql0IvzkuDkqN6WXVCGhF+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751106797; a=rsa-sha256; cv=none; b=vzJIveL2mEV4XdTkyQoBevcoG5PjlwDkYjOujtJTe53gmj2JJrslvMbaEQv7LOqaKUDeDS FBoLAW76mEdgDq55wgHs67wCn6OcWJpdwBbAHsP6Ou2H1r98BDAf4wZwvYGVSrKX9Wzbw9 u7flFwuSKWnRAFa19Tg/xgnravQLoYz0AU8y3nsPzuqeJjcHYNhiNUNT6s0W++3Hu9+IX6 QuvH8FZIJItZnf0uF42d+/eMkFzwktnn2CqGTYJ154ajZy61yF2mrZfKlAU7Znwb4U7B9d VradE3rhbqQObvURT4Es22aSVaVRbVVtsmkxl/f++UhE2ChyqIKF/trN2nqwYA== 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 4bTpfj63bqzTwB for ; Sat, 28 Jun 2025 10:33:17 +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 55SAXHWF093638 for ; Sat, 28 Jun 2025 10:33:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 55SAXHh8093637 for net@FreeBSD.org; Sat, 28 Jun 2025 10:33:17 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: net@FreeBSD.org Subject: [Bug 287872] boot time regression related to netlink and devd Date: Sat, 28 Jun 2025 10:33:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@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 cc Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D287872 Bug ID: 287872 Summary: boot time regression related to netlink and devd Product: Base System Version: 14.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: net@FreeBSD.org Reporter: eugen@freebsd.org CC: melifaro@FreeBSD.org I have an old HP ProLiant DL120 G6 server that ran FreeBSD 13.5-STABLE/amd64 just fine until today I updated it to 14.3-STABLE/amd64 using sources of stable/14 as of June, 11. The upgrade process went just fine but after rebo= ot start of devd took over 17.6 minutes, then system proceeded to boot normally and now runs just fine. This is UFS2-only system. CPU: Intel(R) Xeon(R) CPU X3470 @ 2.93GHz (2926.10-MHz K8-class CPU) Mem: 1716M Active, 2244M Inact, 690M Wired, 326M Buf, 11G Free Swap: 14G Total, 14G Free I have a custom rc.d script that starts before devd and creates over 800 vl= ans with integrated bge0 interface as a parent.=20 For a test, in multiuser mode I destroy all vlans, stop devd, rerun my scri= pt to recreate all vlans and use "service devd start", and the problem reprodu= ces and mentioned command takes same long time again. During that time, "top -SHPz" shows: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 12 root -60 - 0B 336K CPU1 1 22:53 97,01% intr{irq= 16: ehci0 bge0} 0 root 8 - 0B 720K CPU3 3 0:01 5,27% kernel{netlink_socket (PID} 2 root -60 - 0B 64K WAIT 2 0:12 0,77% clock{cl= ock (0)} 15765 root 68 0 21M 7808K wait 1 0:00 0,11% devd Note, there are less than 200 kilobytes/s of traffic over bge0 meantime. Af= ter "service devd start" finishes, the load of "intr{irq16: ehci0 bge0}" drops = to about zero. More details follow. --=20 You are receiving this mail because: You are the assignee for the bug.=