From 75cb2c66dcfb6812a5223f72545397cd4bac7764 Mon Sep 17 00:00:00 2001 From: sheldonh Date: Wed, 26 Jul 2000 08:51:58 +0000 Subject: Describe the syncer(4)-related sysctls kern.filedelay, kern.dirdelay and kern.metadelay, thanks to mckusick's feedback. --- share/man/man4/syncer.4 | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'share/man/man4/syncer.4') diff --git a/share/man/man4/syncer.4 b/share/man/man4/syncer.4 index 27ece74..95f2246 100644 --- a/share/man/man4/syncer.4 +++ b/share/man/man4/syncer.4 @@ -53,14 +53,22 @@ the .Nm process forces a write out to disk of its dirty buffers. .Pp -Usually, -buffers will be written out no more than -about 30 seconds -after they are dirtied. +The usual delay between the time buffers are dirtied +and the time they are synced +is controlled by the following +.Xr sysctl 8 +tunable variables: +.Bl -column "filedelayXXXX" "DefaultXX" "DescriptionXX" +.It Em Variable Ta Em Default Ta Em Description +.It Va kern.filedelay Ta 30 Ta "time to delay syncing files" +.It Va kern.dirdelay Ta 29 Ta "time to delay syncing directories" +.It Va kern.metadelay Ta 28 Ta "time to delay syncing metadata" +.El .Sh SEE ALSO .Xr sync 2 , .Xr fsck 8 , -.Xr sync 8 +.Xr sync 8 , +.Xr sysctl 8 .Sh HISTORY The .Nm -- cgit v1.1