Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Nov 1998 17:24:51 -0800
From:      Ted Faber <faber@ISI.EDU>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        seggers@semyam.dinoco.de (Stefan Eggers), bf20761@binghamton.edu, freebsd-hackers@FreeBSD.ORG
Subject:   Re: How sync() gets called every 30 seconds? 
Message-ID:  <199811050124.RAA03094@boreas.isi.edu>
In-Reply-To: Your message of "Wed, 04 Nov 1998 16:54:54 %2B0100." <199811041554.QAA19119@labinfo.iet.unipi.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----


Luigi Rizzo wrote:
>speaking of this... is this [update's sync freq.] parametrized ? On a
>laptop, i wonder if syncing every 30s while doing ordinary activities
>(e.g. editing) defeats completely the disk auto-shutdown routines.

The man page from 2.2.7-RELEASE says:

DESCRIPTION
     The update kernel process helps protect the integrity of disk volumes by
     flushing volatile cached filesystem data to disk.  This is done at thirty
     second intervals by default.  The time period may be changed by using
     sysctl(8) to modify the kern.update variable.

So, it looks like it is.  I haven't tried it.  YMMV.

- ----------------------------------------------------------------------
Ted Faber                                                faber@isi.edu
USC/ISI Computer Scientist                   http://www.isi.edu/~faber
(310) 822-1511 x190      PGP Key: http://www.isi.edu/~faber/pubkey.asc


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNkD+YYb4eisfQ5rpAQHbDAQAg7yqokDQsEywFKAd+w263+Iqe8mC8vzB
OoLJUNE4d3izY7rK4yHGMggzPtoG3pCXs2iInmvquTl+Xy17pXfaEwY9kimEcOn/
1ZN35nN5SMpFGnRe39bgnF0KHjiap6nGh81xjh5lR/YQyTCuRgqI9quh7178yEwa
+hfbH/YEFDY=
=POyg
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811050124.RAA03094>