From owner-freebsd-questions Thu Aug 30 4:48:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by hub.freebsd.org (Postfix) with SMTP id AF55837B405 for ; Thu, 30 Aug 2001 04:48:30 -0700 (PDT) (envelope-from rmardo@yahoo.com) Received: from unknown (HELO 8189779819) (203.167.105.4) by smtp.mail.vip.sc5.yahoo.com with SMTP; 30 Aug 2001 11:48:27 -0000 X-Apparently-From: Message-ID: <000b01c1314b$533d0260$0469a7cb@8189779819> From: "Rino Mardo" To: "Mike Meyer" , "Trevin Chow" Cc: References: <15245.52453.614096.245669@guru.mired.org><20010830004542.A80091-100000@benny.geektank.org> <15245.62127.417241.42347@guru.mired.org> Subject: Re: Performance tuning and adding RAM Date: Thu, 30 Aug 2001 18:28:51 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 is "hdparm" any different from this disk caches you're talking about? i noticed (with linux) in my p100 box that if i don't use hdparm the hd system runs about 30% slower. will using hdparm (in /etc/rc.local) make any difference? - ----- Original Message ----- From: Mike Meyer To: Trevin Chow Cc: Mike Meyer ; Sent: Thursday, August 30, 2001 4:00 PM Subject: Re: Performance tuning and adding RAM > Trevin Chow types: > > On Thu, 30 Aug 2001, Mike Meyer wrote: > > > > > For IDE drives, you disable this by setting the sysctl > > > hw.ata.wc to 0, but it has to be done from the boot loader at > > > boot time. If you are running 4.3-RELEASE, it's set off by > > > default. If you're running something prior to 4.3-RELEASE, you > > > may not be able to set it at all. The drive manufacturer may > > > provide a DOS utility that will let you turn it off as well. > > > > > > If you are using SCSI disks, you can use the camcontrol > > > modepage command to check and disable it. It's the WCE value on > > > page 8; use "camcontrol modepage daX -m 8 -e" to start an > > > editor, change the 1 to a 0, and then exit. > > What will provide a "bigger" performance boost? Soft updates or > > IDE Cache (hw.ata.wc)? > > Oh, leaving the disk caching enabled is definitely faster. After > all, it's sort of like running a RAM disk through a slow interface. > If > you're going to do that, mount your file systems async buy a UPS, > and make more frequent backups. > > -- > Mike Meyer http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more > information. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use iQA/AwUBO42k43ri0wX1dLwtEQLYGwCgy638w3/PIqPmW/lBxqJESnJtUIIAn3d8 PeIDqvAynNNQ8S3kTeGsy7ZF =OgDI -----END PGP SIGNATURE----- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message