cvs commit: src/usr.sbin/syslogd syslogd.c
Simon L. Nielsen
simon at FreeBSD.org
Sun Jul 4 12:20:25 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040704/093d7a17/attachment.bin
More information about the cvs-src
mailing list