Date: Sun, 7 Jul 2013 04:33:44 -0700 From: Jeremy Chadwick <jdc@koitsu.org> To: "Matthew D. Fuller" <fullermd@over-yonder.net> Cc: "freebsd-stable@freebsd.org Stable" <freebsd-stable@freebsd.org> Subject: Re: make buildworld is now 50% slower Message-ID: <20130707113344.GA53765@icarus.home.lan> In-Reply-To: <20130707104731.GA13386@over-yonder.net> References: <E1Uv1lv-0000wY-9K@kabab.cs.huji.ac.il> <CE93BC6C-31DE-4549-B257-004D3DFE4294@FreeBSD.org> <20130705145839.GB5449@icarus.home.lan> <E1Uvkft-0007jb-O6@kabab.cs.huji.ac.il> <20130707101714.GA51445@icarus.home.lan> <20130707104731.GA13386@over-yonder.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130707113344.GA53765>