From owner-freebsd-current@FreeBSD.ORG Sun Jul 24 19:25:42 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F1AB16A41F for ; Sun, 24 Jul 2005 19:25:42 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8723F43D49 for ; Sun, 24 Jul 2005 19:25:41 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j6OJPaNV009866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 24 Jul 2005 15:25:36 -0400 Received: from obsecurity.dyndns.org (fields.fields.utoronto.ca [128.100.216.11]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j6OJPY6P013163; Sun, 24 Jul 2005 15:25:35 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A104551272; Sun, 24 Jul 2005 15:25:31 -0400 (EDT) Date: Sun, 24 Jul 2005 15:25:30 -0400 From: Kris Kennaway To: Oliver Lehmann Message-ID: <20050724192530.GB84677@xor.obsecurity.org> References: <200507200149.52721.max@love2party.net> <20050720114331.868A64E704@pipa.profix.cz> <20050722191337.269d965b.lehmann@ans-netz.de> <20050723.130438.81409618.imp@bsdimp.com> <20050723211349.269cd3b7.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline In-Reply-To: <20050723211349.269cd3b7.lehmann@ans-netz.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, dandee@volny.cz, "M. Warner Losh" Subject: Re: -current kernel can't be complied for 3 days X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jul 2005 19:25:42 -0000 --7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 23, 2005 at 09:13:49PM +0200, Oliver Lehmann wrote: > M. Warner Losh wrote: >=20 > > Chances are you are running out of memory. Can you try the build w/o > > -jN? Large values of N can easily run a body out of swap space, > > yeilding a build failure when the tree is perfectly fine. > >=20 > > Persoanally, I never do a -j larger then 4 or 8. top shows that the > > system that I have is giant bound when I do, so why add more people to > > the list of Giant waiters? >=20 > Hi Warner, >=20 > I don't think that i ran out of memory. At least swapper didn't sayed > sth. like that. Back in Dec 2001 I even had a -j100 running (for fun) and > it build successfully. This was on a dual PII 333 with 320MB of memoty > compiling a 4.XX on a 4.XX. > Why shouldn't a -j16 on a dual PIII 850 with 640MB of memory compiling a > 6.0 on a 5.4 doesn't work then? I know there are many differences between > 4.X and 5.X but why got it worse? > A -j4 worked btw (at least the one time I tried it) There is a default limit of 16 simultaneous execs that can be easily saturated on an SMP system (further execs cause aborts as you are seeing). Increase the value of the vm.exec_map_entries tunable. Kris --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC4+spWry0BWjoQKURAnM/AKD2LHFGU7feF4a3ec8GtCDnCzvUWwCgta6Q Ov92GYid3AGyGsUiNK+4aFE= =TUeK -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2--