Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 21:13:51 +0000
From:      Tony Finch <dot@dotat.at>
To:        Kevin Oberman <oberman@es.net>
Cc:        mobile@freebsd.org
Subject:   Re: Any ideas on keeping the disk spun down on laptop
Message-ID:  <20010212211351.F35416@hand.dotat.at>
In-Reply-To: <200102112211.f1BMBCL23187@ptavv.es.net>
References:  <200102112211.f1BMBCL23187@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Oberman <oberman@es.net> wrote:
>
>Has anyone looked into making update(4) not do any disk IO when there
>have been no changes to metadata? And, is there a way to extend the
>update period? Or am I completely off base in my belief that update(4)
>is the source of the continuing disk accesses.

There is a simple patch to extend the time between syncer runs: see
PR#21859. I've been running with this for months now and it works
nicely. In /etc/sysctl.conf I have

kern.syncdelay=250
kern.filedelay=240
kern.dirdelay=230
kern.metadelay=220

and in my kernel configuration file I have

options 	SYNCER_MAXDELAY=1024	# allow up to 17 minutes between syncs

Tony.
-- 
f.a.n.finch    fanf@covalent.net    dot@dotat.at
FAEROES SOUTHEAST ICELAND: WEST 5 OR 6 BACKING SOUTHWEST 6 TO GALE 8. RAIN.
GOOD BECOMING MODERATE.


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




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