From owner-freebsd-stable@FreeBSD.ORG Sun Jul 7 11:34:05 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8A93AA8D for ; Sun, 7 Jul 2013 11:34:05 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx1.freebsd.org (Postfix) with ESMTP id 471DF1090 for ; Sun, 7 Jul 2013 11:34:04 +0000 (UTC) Received: from mfilter1-d.gandi.net (mfilter1-d.gandi.net [217.70.178.130]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 6A8D141C061; Sun, 7 Jul 2013 13:33:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter1-d.gandi.net Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by mfilter1-d.gandi.net (mfilter1-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id cQoZWu5i+niK; Sun, 7 Jul 2013 13:33:46 +0200 (CEST) X-Originating-IP: 76.102.14.35 Received: from jdc.koitsu.org (c-76-102-14-35.hsd1.ca.comcast.net [76.102.14.35]) (Authenticated sender: jdc@koitsu.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4E4FF41C05A; Sun, 7 Jul 2013 13:33:46 +0200 (CEST) Received: by icarus.home.lan (Postfix, from userid 1000) id 7219873A31; Sun, 7 Jul 2013 04:33:44 -0700 (PDT) Date: Sun, 7 Jul 2013 04:33:44 -0700 From: Jeremy Chadwick To: "Matthew D. Fuller" Subject: Re: make buildworld is now 50% slower Message-ID: <20130707113344.GA53765@icarus.home.lan> References: <20130705145839.GB5449@icarus.home.lan> <20130707101714.GA51445@icarus.home.lan> <20130707104731.GA13386@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130707104731.GA13386@over-yonder.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-stable@freebsd.org Stable" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 11:34:05 -0000 On Sun, Jul 07, 2013 at 05:47:31AM -0500, Matthew D. Fuller wrote: > Apropos of nothing, but... > > On Sun, Jul 07, 2013 at 03:17:14AM -0700 I heard the voice of > Jeremy Chadwick, and lo! it spake thus: > > > > WITHOUT_LIB32=true > > suggests you're running amd64, which I'm pretty sure means > > > - I do increase kern.maxdsiz, kern.dfldsiz, and kern.maxssiz in > > /boot/loader.conf to 2560M/2560M/256M respectively, but that was mainly > > from the days when I ran MySQL and needed a huge userland processes. > > are not necessarily _in_creases, and may well be mostly _de_creases. > e.g., on a RELENG_9 box with 8 gig of physical RAM: > > % sysctl kern.{max{d,s},dfld}siz > kern.maxdsiz: 34359738368 > kern.maxssiz: 536870912 > kern.dfldsiz: 134217728 > > while a -CURRENT box with 16 has dfldsiz blown all the way up too. I > don't recall doing anything to change them at all recently, and a > glance over loader.conf, sysctl.conf, rc.local, and the kernel configs > doesn't turn up anything. Thanks! The settings I mention are from "ancient times" -- specifically RELENG_6 on i386 (I know because I found an old mailing list post of mine discussing the settings with a user). The problem as I said was that mysqld would crap itself (crash and be quite loud about it) if the process allocated too much memory/became too large. I am fairly certain the issue related to the data size, **not** the stack size (but I didn't see the harm in increasing that either). It's good to know I can remove these on amd64. Yay, one less thing in loader.conf I have to deal with... :-) Thanks again! -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Making life hard for others since 1977. PGP 4BD6C0CB |