From nobody Sun Sep 03 19:25:19 2023 X-Original-To: freebsd-current@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 4Rf1v502Jsz4s4q9 for ; Sun, 3 Sep 2023 19:25:21 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rf1v45Hv0z4Hl1 for ; Sun, 3 Sep 2023 19:25:20 +0000 (UTC) (envelope-from mjguzik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-573921661a6so511202eaf.1 for ; Sun, 03 Sep 2023 12:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693769119; x=1694373919; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7sDDqkgg+i1u3ScTDpSb9m1/WWVKiBBZT+/nRsFgZPA=; b=arG7+ezofVQlu1vqpES0KzsdnGNSKCp0qep/TSOx94xWFSKjsCkbBFqiFcTbQuf72+ meM5yXYA4hTm2H/yu57IliE6XCLLjOnuFTIFiSteKzGBAhtu4YzLMr+vDxN3v7FQim1r gWLa9CrasjbSxyDeTBAN7JNrOSRTtDjuTlfREH7YRNf/zxzrj1vhd5CyEYVytRpctbps wDiq+rakx9DJdg8lt06yJguhohHmoBQME7Le/UkooIoBYAtFClbp2Nd/rOQyE7t59OiT n2ZGJ/qMmu0vgdpGDBaPMqMO8RzXCprV2cGt1Hke1KGo0IjbeQFdZ3hAsoD6Vx8vdBfN CHmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693769119; x=1694373919; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7sDDqkgg+i1u3ScTDpSb9m1/WWVKiBBZT+/nRsFgZPA=; b=BySKNr+YtuDrXVFxZ/IX3dT6I1MvIF7S1mss0lahwn4UJmIaVxPKEvzkE3kS/DBFIv SpaZUHgsgmhIvVmbvO5XLrRD9ACL82SMzqZO3mK7XNl+owdqjszBwQ2GnM3ZfMH4XMz2 LNzXmo6LBR1uKaKiLDnykbKXz40w1+VUixpCQPAkxhzFqRQT7ixX7EVPnh4dwTrWaryP fySWJJektfPH4ZrshaYFhx33c4jbux3UvAEaNm7syptmttTMXlzZUEW+3trrIGNyOzJY b14sQj2T6lEUo834oa4o0jsNAkvv7IVmm+7F6i62BpD1oc2tzDliAjxANRezNqzzBFzF Py9w== X-Gm-Message-State: AOJu0Yx2LIEPAsFLhYLPv8QRqJbLd9qMFAPJrzTmM3YCXdXqwroeFfM0 cy8H1EClYL3YPnxurwhyINS6ceaouR2a2yzgmyA= X-Google-Smtp-Source: AGHT+IGvgDuPjUW80W8im1KF6/NMEcGx0L91F3SdZUcPvTPzrkLtlgssN58KeAwX6ksJSpvPvW0/8syAp2hxN7J/Aak= X-Received: by 2002:a4a:275c:0:b0:571:1fad:ebe2 with SMTP id w28-20020a4a275c000000b005711fadebe2mr5395027oow.7.1693769119670; Sun, 03 Sep 2023 12:25:19 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: by 2002:a8a:60c:0:b0:4f0:1250:dd51 with HTTP; Sun, 3 Sep 2023 12:25:19 -0700 (PDT) In-Reply-To: <5528e510-2d79-ebc9-b3f4-79d5fb80f38f@gmail.com> References: <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> <23c596e7-d710-c17d-a4e7-b21c99a4fe00@gmail.com> <5528e510-2d79-ebc9-b3f4-79d5fb80f38f@gmail.com> From: Mateusz Guzik Date: Sun, 3 Sep 2023 21:25:19 +0200 Message-ID: Subject: Re: kernel 100% CPU To: Graham Perrin Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Rf1v45Hv0z4Hl1 On 9/3/23, Graham Perrin wrote: > On 03/09/2023 17:55, Mateusz Guzik wrote: >> On 9/3/23, Graham Perrin wrote: >>> On 02/09/2023 18:31, Mateusz Guzik wrote: >>>> On 9/2/23, Graham Perrin wrote: >>>>> =E2=80=A6 I began the trace /after/ the issue became observable. >>>>> Will it be more meaningful to begin a trace and then reproduce the >>>>> issue >>>>> (before the trace ends)? >>>>> >>>>> =E2=80=A6 >>>> Looks like you have a lot of unrelated traffic in there. >>>> >>>> =E2=80=A6 >>> Instead, the >>> two files from 09:21 this morning. Are these useful? >>> >>> Before this run of DTrace, I quit Firefox and other applications that >>> might be causing noise (and the OS has been restarted since my last run >>> of poudriere-bulk(8)). >>> >>> dtrace -x stackframes=3D100 -n 'profile-997 /arg0/ { @[stack()] =3D cou= nt(); >>> } tick-60s { exit(0); }' -o out.kern_stacks >>> >> Post your "sysctl -a" somewhere. >> > sysctl-a-2023-09-03-18-22.txt added to the MEGA folder is complete, > including TSLOG-related lines. > > Alternatively, tslog under > is automatically > pruned to exclude such lines. Hopefully not excessively pruned. > > TSLOG is one of three things in a Git stash that I apply before most > builds, . > Sorry mate, neglected to specify: collect sysctl -a once you run into the problem. Once I look at that I'm probably going to ship some debug patches to narrow it down. --=20 Mateusz Guzik