Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 19:30:28 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        hackers@FreeBSD.ORG
Subject:   Re: general speed differences between 4.1.1-RELEASE and 4.3-RELEASE
Message-ID:  <20010524193028.A11478@student.uu.se>
In-Reply-To: <20010524101813.A563@ted.isi.edu>; from faber@ISI.EDU on Thu, May 24, 2001 at 10:18:13AM -0700
References:  <3B0C9DBB.35724C09@spnet.com> <20010524004057.V55532-100000@achilles.silby.com> <20010524101813.A563@ted.isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 24, 2001 at 10:18:13AM -0700, Ted Faber wrote:
> On Thu, May 24, 2001 at 12:48:02AM -0500, Mike Silbersack wrote:
> > Write caching is now off by default.  man ata to see how to turn it back
> > on.
> 
> Ummmm.  I setting hw.ata.wc=1 and got:
> 
> ted:~$ sudo sysctl -w hw.ata.wc=1
> sysctl: oid 'hw.ata.wc' is read only
> 
> I'm assuming that this is because my controller doesn't support write
> caching.  Can anyone confirm this?  If that's why the oid is
> read-only, a one-liner in the ata man page (that I'm happy to write)
> would be a good thing.

Nope, that error is beacuse it is only settable from within the
loader(8). You cannot set it with sysctl(8)
The relevant one-liner from the ata(4) man page is:

       The following tunables are setable from the loader:
...
       hw.ata.wc
...




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


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?20010524193028.A11478>