Subject: bin/15355: ypbind prevents disk idle spindown
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/24/2002 16:52:18
>Number:         15355
>Category:       bin
>Synopsis:       ypbind defeats disk idle spindown
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 24 13:54:00 PST 2002
>Originator:     Matthew Fredette
>Release:        NetBSD 1.5
System: NetBSD the-weight.home 1.5 NetBSD 1.5 (SOFA) #3: Sun Sep 16 12:52:24 EDT 2001 fredette@no.where:/data/home/fredette/project/maestro/sys/arch/i386/compile/SOFA i386

	Even when connected to a stable server, ypbind still "hits
	the disk" at least once a minute.  This defeats setting a
	laptop disk to spin down when idle, because it never truly
	becomes idle.
	Configure a system to spin down its hard drive when idle,
	and do whatever else is necessary to make the system truly
	idle.  Confirm a spun-down disk for least five minutes
	to convince self that system is idle.  Now start ypbind and
	observe that disk no longer stays spun down for five
	minutes at a time.

	Alternately, look at ypbind sources and observe a state
	machine that apparently does some sort of file locking/
	reading/writing on state transitions.
	Either add an option to have ypbind cycle less frequently,
	or otherwise revisit whatever ypbind does with the file(s)
	it touches.