From owner-freebsd-current@FreeBSD.ORG Thu Jun 1 05:04:12 2006 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 D49A116A597 for ; Thu, 1 Jun 2006 05:04:12 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp105.biz.mail.re2.yahoo.com (smtp105.biz.mail.re2.yahoo.com [206.190.52.174]) by mx1.FreeBSD.org (Postfix) with SMTP id 6983D43D48 for ; Thu, 1 Jun 2006 05:04:11 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 4207 invoked from network); 1 Jun 2006 05:04:10 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp105.biz.mail.re2.yahoo.com with SMTP; 1 Jun 2006 05:04:10 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id D16AA629E; Thu, 1 Jun 2006 01:04:09 -0400 (EDT) X-Virus-Scanned: amavisd-new at noacks.org Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gzq8EpvLebSP; Thu, 1 Jun 2006 01:04:08 -0400 (EDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id A331B628A; Thu, 1 Jun 2006 01:04:08 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.6/8.13.6) with ESMTP id k51547ZB061457; Thu, 1 Jun 2006 01:04:07 -0400 (EDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <447E7540.8070904@alumni.rice.edu> Date: Thu, 01 Jun 2006 01:04:00 -0400 From: Jonathan Noack User-Agent: Thunderbird 1.5.0.2 (X11/20060422) MIME-Version: 1.0 To: Giorgos Keramidas References: <20060522211223.GA3621@xor.obsecurity.org> <20060522231437.GC1446@odin.ac.hmc.edu> <20060523133037.GA2908@gothmog.pc> <20060523143013.GA11472@ci0.org> <20060523194106.GA46634@xor.obsecurity.org> <20060524203645.GB13500@gothmog.pc> <20060524203747.GA88742@xor.obsecurity.org> <20060524204617.GA13701@gothmog.pc> <20060601002024.GA1453@gothmog.pc> In-Reply-To: <20060601002024.GA1453@gothmog.pc> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5FF8FB766EAF604A0C0A2A8A" Cc: freebsd-current@freebsd.org, Kris Kennaway Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 05:04:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5FF8FB766EAF604A0C0A2A8A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/31/06 20:20, Giorgos Keramidas wrote: > The following diff should be sufficient for enabling -o async for > the MFS /tmp and MFS /var filesystems we support in our current > rc.d stuff: >=20 > %%% > Index: share/man/man5/rc.conf.5 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- share/man/man5/rc.conf.5 (revision 99) > +++ share/man/man5/rc.conf.5 (revision 101) > @@ -24,7 +24,7 @@ > .\" > .\" $FreeBSD: src/share/man/man5/rc.conf.5,v 1.298 2006/05/30 16:20:48= matteo Exp $ > .\" > -.Dd May 29, 2006 > +.Dd Jun 1, 2006 > .Dt RC.CONF 5 > .Os > .Sh NAME > @@ -241,12 +241,13 @@ > .Pa /tmp > is created. > The default is > -.Dq Li "-S -M" , > +.Dq Li "-S -M -o async" , > which inhibits the use of softupdates on > .Pa /tmp > to waste as little space as possible > -and creates a pure memory backed disk, which will never be swapped out= , > -for maximum performance and system stability at low memory conditions.= > +and creates a pure memory-backed disk, which uses asynchronous I/O > +and will never be swapped out, for maximum performance and system > +stability at low memory conditions. Given recent posts about panics with malloc-backed mds under low-memory conditions (see the "kmem leak in tmpmfs?" thread on stable@), I'm not sure keeping '-M' as the default for tmpmfs and varmfs is advisable. Here is the rather ominous note on using malloc-backed mds in mdconfig(8)= : "Storage for this type of memory disk is allocated with malloc(9). This limits the size to the malloc bucket limit in the kernel. If the -o reserve option is not set, creating and filling a large malloc-backed memory disk is a very easy way to panic a system." -Jonathan --=20 Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig5FF8FB766EAF604A0C0A2A8A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEfnVGUFz01pkdgZURAtF2AJ4mgpr5APUyucPcL6u8fhV7WtNBQwCfUE4R l75fgA4EQgWw587nAs0noTA= =+Kr1 -----END PGP SIGNATURE----- --------------enig5FF8FB766EAF604A0C0A2A8A--