From owner-freebsd-stable Fri Jul 13 18:30:27 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 84BE937B406 for ; Fri, 13 Jul 2001 18:30:16 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id SAA03362; Fri, 13 Jul 2001 18:29:59 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda03359; Fri Jul 13 18:29:47 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.4/8.9.1) id f6E1TeQ03651; Fri, 13 Jul 2001 18:29:40 -0700 (PDT) Received: from UNKNOWN(10.1.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdCx3649; Fri Jul 13 18:28:56 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.4/8.9.1) id f6E1Stx06358; Fri, 13 Jul 2001 18:28:55 -0700 (PDT) Message-Id: <200107140128.f6E1Stx06358@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpddH6352; Fri Jul 13 18:28:02 2001 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: "Albert D. Cahalan" Cc: freebsd-stable@FreeBSD.ORG, jfortin@akalink.com Subject: Re: Regarding New FreeBSD BenchMark From Sysadmin Mag (left out a fiew tuning options) In-reply-to: Your message of "Thu, 12 Jul 2001 22:05:00 EDT." <200107130205.f6D250Y136048@saturn.cs.uml.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Jul 2001 18:28:02 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200107130205.f6D250Y136048@saturn.cs.uml.edu>, "Albert D. Cahalan" writes: > > Jonathan Fortin writes: > > > It is regarding the new benchmark (FreeBSD-tuned), > > > > They forgot to enable write-cache behind (enabled by default in windows2000 > > and linux) and a bit other options I would liked of seened. > > > > hw.ata.wc = 1 > > That is for ATA. They used SCSI. > SCSI write back cache is enabled in the drive's firmware. Linux and Windows enable it by default To enable SCSI write back cache you'll need to edit the WCE (Write Cache Enable) bit in modepage 0x08, camcontrol modepage da0 -m 0x08 -e -P 3 You will be entered into a vi session. Change the WCE value from 0 to 1 to enable write back cache and save. Once set, the drive will remember the value across reboots and power cycles. I suppose there might be some way to automate this through a camcontrol cmd command. Alternatively you can install the SCSI drive on a Linux or NT system first. Both will enable WCE from the get go. Then install the drive on a FreeBSD system. Some SCSI drive manufacturers ship their drives with WCE enabled. Other SCSI drive manufacturers, who are more concerned with data integrity as opposed to performance figures, will ship their drives with WCE disabled. The default your drive will be shipped with depends on the drive's manufacturer. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message