From owner-freebsd-hackers Wed Jul 14 21: 8: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id D7F6E15152 for ; Wed, 14 Jul 1999 21:08:00 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id NAA22702; Thu, 15 Jul 1999 13:07:36 +0900 (JST) Message-ID: <378D5ABF.74B3DB2@newsguy.com> Date: Thu, 15 Jul 1999 12:51:27 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: Robert Elz Cc: freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org Subject: Re: Replacement for grep(1) (part 2) References: <20351.931984551@cs.mu.OZ.AU> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert Elz wrote: > > Note that all this (large) VM I have described was filled with real data > (except for the odd times hen innd or named had just forked), none of it > could be overcommitted and just ignored. Whatever policy was in place, > the physical VM resources would have run out. In a standard Unix system, with standard Unix programs, it is very unlikely that "all this VM" was filled with real data. Take, for instance, the stacks. > Now, with overcommit mode, we get an extra 30 seconds of life, because > no doubt there are a few pages floating around that have been allocated > to some process, but nothing has bothered to write into yet. An extra 30 > seconds if we're lucky (except if we followed the advice given here > earlier which would indicate that only 1/8 the amount of swap space would > be needed, in which case these processes would never have gotten started > in the first place). After that short grace period, during which the Which is what I claim. Have you run it in overcommit mode? Did you actually get just 30 extra seconds? Sure as hell, the AIX systems I ran would have gotten a LOT more than 30 extra seconds going from non-overcommit to overcommit. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "Would you like to go out with me?" "I'd love to." "Oh, well, n... err... would you?... ahh... huh... what do I do next?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message