From owner-cvs-all@FreeBSD.ORG Sun Jul 4 19:20:25 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A61716A4CF; Sun, 4 Jul 2004 19:20:25 +0000 (GMT) Received: from zaphod.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31B2D43D55; Sun, 4 Jul 2004 19:20:25 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 7F96B119B7; Sun, 4 Jul 2004 21:20:15 +0200 (CEST) Date: Sun, 4 Jul 2004 21:20:15 +0200 From: "Simon L. Nielsen" To: Colin Percival Message-ID: <20040704192014.GC862@zaphod.nitro.dk> References: <200407041913.i64JDw0A055270@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline In-Reply-To: <200407041913.i64JDw0A055270@repoman.freebsd.org> User-Agent: Mutt/1.5.6i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 19:20:25 -0000 --9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004.07.04 19:13:58 +0000, Colin Percival wrote: > cperciva 2004-07-04 19:13:58 UTC >=20 > FreeBSD src repository >=20 > Modified files: > usr.sbin/syslogd syslogd.c=20 > Log: > Where syslogd would have fsync()ed a file in the past, instead set a fl= ag > FFLAG_NEEDSYNC and fsync the file when select() next returns zero. This > dramatically speeds up the process of logging large amounts of data, wh= ile > leaving the essential semantics (that data can be expected to be on disk > if we crash) unchanged. > =20 > In my tests, this speeds up the rc phase of booting by 18-20%. [1] Cool! :-). --=20 Simon L. Nielsen FreeBSD Documentation Team --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA6Fhuh9pcDSc1mlERAm9vAJ4rrWA86O2AddJBnyR08yhbHdeF+gCeLwQw ppGkREMm3x7UpWO9tYDx9hw= =yCI7 -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A--