Date: Sun, 4 Jul 2004 21:20:15 +0200 From: "Simon L. Nielsen" <simon@FreeBSD.org> To: Colin Percival <cperciva@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.c Message-ID: <20040704192014.GC862@zaphod.nitro.dk> In-Reply-To: <200407041913.i64JDw0A055270@repoman.freebsd.org> References: <200407041913.i64JDw0A055270@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On 2004.07.04 19:13:58 +0000, Colin Percival wrote: > cperciva 2004-07-04 19:13:58 UTC > > FreeBSD src repository > > Modified files: > usr.sbin/syslogd syslogd.c > Log: > Where syslogd would have fsync()ed a file in the past, instead set a flag > FFLAG_NEEDSYNC and fsync the file when select() next returns zero. This > dramatically speeds up the process of logging large amounts of data, while > leaving the essential semantics (that data can be expected to be on disk > if we crash) unchanged. > > In my tests, this speeds up the rc phase of booting by 18-20%. [1] Cool! :-). -- Simon L. Nielsen FreeBSD Documentation Team [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA6Fhuh9pcDSc1mlERAm9vAJ4rrWA86O2AddJBnyR08yhbHdeF+gCeLwQw ppGkREMm3x7UpWO9tYDx9hw= =yCI7 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040704192014.GC862>
