From owner-freebsd-hackers Thu May 24 10:30:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by hub.freebsd.org (Postfix) with ESMTP id 44E9737B422 for ; Thu, 24 May 2001 10:30:38 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by maild.telia.com (8.11.2/8.11.0) with ESMTP id f4OHUaN07436 for ; Thu, 24 May 2001 19:30:36 +0200 (CEST) Received: from ertr1013.student.uu.se (h185n2fls20o913.telia.com [212.181.163.185]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id TAA03356 for ; Thu, 24 May 2001 19:30:36 +0200 (CEST) Received: (qmail 11533 invoked by uid 1001); 24 May 2001 17:30:28 -0000 Date: Thu, 24 May 2001 19:30:28 +0200 From: Erik Trulsson 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> Mail-Followup-To: hackers@FreeBSD.ORG References: <3B0C9DBB.35724C09@spnet.com> <20010524004057.V55532-100000@achilles.silby.com> <20010524101813.A563@ted.isi.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010524101813.A563@ted.isi.edu>; from faber@ISI.EDU on Thu, May 24, 2001 at 10:18:13AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 ... -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message