From owner-freebsd-current@freebsd.org Sun Mar 28 20:21:32 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 69C885AD66F for ; Sun, 28 Mar 2021 20:21:32 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7nDD2W8Jz3KJD; Sun, 28 Mar 2021 20:21:32 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p200300cd5f31b2004c17410e7f93834e.dip0.t-ipconnect.de [IPv6:2003:cd:5f31:b200:4c17:410e:7f93:834e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id E0324216A4; Sun, 28 Mar 2021 20:21:31 +0000 (UTC) (envelope-from se@freebsd.org) To: Andriy Gapon References: <58bea0f0-5c3d-4263-ebee-f939a7e169e9@freebsd.org> From: Stefan Esser Cc: FreeBSD CURRENT Subject: Re: Strange behavior after running under high load Message-ID: Date: Sun, 28 Mar 2021 22:21:30 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HXyJ655E7viEVZgHwwqwiV0njfOct2N8o" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Mar 2021 20:21:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HXyJ655E7viEVZgHwwqwiV0njfOct2N8o Content-Type: multipart/mixed; boundary="hmtZoen9R5nym1vFwn9dESdAzveeZWJ8Q"; protected-headers="v1" From: Stefan Esser To: Andriy Gapon Cc: FreeBSD CURRENT Message-ID: Subject: Re: Strange behavior after running under high load References: <58bea0f0-5c3d-4263-ebee-f939a7e169e9@freebsd.org> In-Reply-To: --hmtZoen9R5nym1vFwn9dESdAzveeZWJ8Q Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 28.03.21 um 17:44 schrieb Andriy Gapon: > On 28/03/2021 17:39, Stefan Esser wrote: >> After a period of high load, my now idle system needs 4 to 10 seconds = to >> run any trivial command - even after 20 minutes of no load ... >> >> >> I have run some Monte-Carlo simulations for a few hours, with initiall= y 35 >> processes running in parallel for some 10 seconds each. >=20 > I saw somewhat similar symptoms with 13-CURRENT some time ago. > To me it looked like even small kernel memory allocations took a very l= ong time. > But it was hard to properly diagnose that as my favorite tool, dtrace, = was also > affected by the same problem. That could have been the case - but I had to reboot to recover the system= =2E I had let it sit idle fpr a few hours and the last "time uptime" before the reboot took 15 second real time to complete. Response from within the shell (e.g. "echo *") was instantaneous, though.= I tried to trace the program execution of "uptime" with truss and found, that the loading of shared libraries proceeded at about one or two per second until all were attached and then the program quickly printed the expected results. I could probably recreate the issue by running the same set of programs that triggered it a few hours ago, but this is a production system and I need it to be operational through the week ... Regards, STefan --hmtZoen9R5nym1vFwn9dESdAzveeZWJ8Q-- --HXyJ655E7viEVZgHwwqwiV0njfOct2N8o Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmBg5UoFAwAAAAAACgkQR+u171r99URP bAf+PACjMW3eihheMoyKzVltIAAXSlMhUGrKvRPBtMioi4IdQxtfq/Hg0ES+MCaRfqH6axrJWNXX tMkTSJ5g6mn/unABsI/eflDTnQ8LHKh4hHmKz0dl81D5QHqT2V4IBwAZjKOSP/BBh5+GF+OExTFR J+ty6z0P2cfz24RKllKzvXPHPjXJa1KMRfbhcZVpddrjCBxGaV45bUCSu5ZhBuScn6OtbLDrik2U elokyDM4d6MGv8wCwhHzwt4G0FY93UzqKraNFosxJIneugezAK8GLgg2df9s3DhzkhqmNIX/UaCy Vu9CYqJXO6n07MIwqkuD6OaU9GGtjeGwmD7WklgWVw== =WFzl -----END PGP SIGNATURE----- --HXyJ655E7viEVZgHwwqwiV0njfOct2N8o--