From owner-svn-src-head@freebsd.org Sat Jun 9 00:26:17 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B465FE3A06; Sat, 9 Jun 2018 00:26:17 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (glebi.us [198.45.61.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebi.us", Issuer "cell.glebi.us" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BE297935C; Sat, 9 Jun 2018 00:26:17 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebi.us (localhost [127.0.0.1]) by cell.glebi.us (8.15.2/8.15.2) with ESMTPS id w58IGglL017967 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 8 Jun 2018 11:16:42 -0700 (PDT) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebi.us (8.15.2/8.15.2/Submit) id w58IGgne017966; Fri, 8 Jun 2018 11:16:42 -0700 (PDT) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebi.us: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 8 Jun 2018 11:16:42 -0700 From: Gleb Smirnoff To: Kubilay Kocak Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r334819 - head/sys/vm Message-ID: <20180608181641.GN1005@FreeBSD.org> References: <201806080015.w580F8fM062154@repo.freebsd.org> <77e67765-4244-e207-ff8d-aa6156c985b8@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77e67765-4244-e207-ff8d-aa6156c985b8@FreeBSD.org> User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 00:26:17 -0000 On Fri, Jun 08, 2018 at 03:07:07PM +1000, Kubilay Kocak wrote: K> > UMA memory debugging enabled with INVARIANTS consists of two things: K> > trashing freed memory and checking that allocated memory is properly K> > trashed, and also of keeping a bitset of freed items. Trashing/checking K> > creates a lot of CPU cache poisoning, while keeping debugging bitsets K> > consistent creates a lot of contention on UMA zone lock(s). The performance K> > difference between INVARIANTS kernel and normal one is mostly attributed K> > to UMA debugging, rather than to all KASSERT checks in the kernel. K> > K> > Add loader tunable vm.debug.divisor that allows either to turn off UMA K> K> Is 'sample interval' a standard/common enough term for this kind of K> mechanism to name the sysctl with it rather than the implementation? K> K> Or 'sample frequency' Interval definitely doesn't fit here. Frequency is closer, but still not the right term, IMHO. Native speaker required here to judge. I am okay if anyone who is confident changes wording here. -- Gleb Smirnoff