From owner-freebsd-current@freebsd.org Mon Nov 30 21:38:14 2020 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 F1C324A8D6B for ; Mon, 30 Nov 2020 21:38:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4ClJWB5Hccz4krL for ; Mon, 30 Nov 2020 21:38:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id B3A594A8C7D; Mon, 30 Nov 2020 21:38:14 +0000 (UTC) Delivered-To: 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 B36C44A8D6A for ; Mon, 30 Nov 2020 21:38:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4ClJWB2m0cz4kp4 for ; Mon, 30 Nov 2020 21:38:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 0AULc7r7069157 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 30 Nov 2020 23:38:10 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 0AULc7r7069157 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 0AULc7JT069156 for current@freebsd.org; Mon, 30 Nov 2020 23:38:07 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 30 Nov 2020 23:38:07 +0200 From: Konstantin Belousov To: current@freebsd.org Subject: Re: Laptop exhibits erratic responsiveness Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4ClJWB2m0cz4kp4 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Mon, 30 Nov 2020 21:38:15 -0000 On Mon, Nov 30, 2020 at 01:22:45PM -0800, David Wolfskill wrote: > On Mon, Nov 30, 2020 at 11:03:29PM +0200, Konstantin Belousov wrote: > > ... > > > I suppose I will be commenting out that DIAGNOSTIC option now.... :-} > > > > Try to just set debug.vmem_check to 0 and see if it helps. > > ... > > OK; I rebooted the new(er) laptop with the previous kernel (that was > built with "option DIAGNOSTIC") and reproduced the issue: > > --- albert.catwhisker.org ping statistics --- > 37 packets transmitted, 37 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 0.451/13.832/178.867/41.904 ms > > Then: > > g1-216(13.0-C)[2] sudo sysctl debug.vmem_check > Password: > debug.vmem_check: 1 > g1-216(13.0-C)[3] sudo sysctl debug.vmem_check=0 > debug.vmem_check: 1 -> 0 > > On recheck: > > --- albert.catwhisker.org ping statistics --- > 60 packets transmitted, 60 packets received, 0.0% packet loss > round-trip min/avg/max/stddev = 0.411/0.551/1.051/0.084 ms > > which looks pretty good to me. I wanted to change the default some time ago. Do not remember why it did not happen.