From owner-freebsd-i386@FreeBSD.ORG Mon Nov 29 12:32:20 2004 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4438F16A4D1 for ; Mon, 29 Nov 2004 12:32:20 +0000 (GMT) Received: from web41204.mail.yahoo.com (web41204.mail.yahoo.com [66.218.93.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 1D08143D55 for ; Mon, 29 Nov 2004 12:32:20 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 76754 invoked by uid 60001); 29 Nov 2004 12:32:20 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=GR88nNM83nBBgYyBsvxZ6bBSl7doiJrs6bk24Bxk/8Qi9t5lZtJeWk6KrskI8LXbh0iOrkB/cX4xhmTKjVMkg62f4J67V26j2mo1DXrCcd0EerftPYolB03T0Ua71bSca4hf6u7IAtpVitsTUZPfkxABOh5MqnK0EkKCRObDRKw= ; Message-ID: <20041129123220.76752.qmail@web41204.mail.yahoo.com> Received: from [83.129.249.192] by web41204.mail.yahoo.com via HTTP; Mon, 29 Nov 2004 04:32:20 PST Date: Mon, 29 Nov 2004 04:32:20 -0800 (PST) From: Arne "Wörner" To: freebsd-i386@freebsd.org In-Reply-To: <20041129113851.270446278@mail.alpha-tierchen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: RE: i386/74074: hw.ata.wc=0 / but write cache still enabled X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 12:32:20 -0000 --- Björn König wrote: > Perform a small benchmark, e.g. with /usr/ports/benchmark/bonnie (bonnie -d > /usr -s ). Perhaps the write cache is turned off, > but it's not shown correctly. If your write transfer rates around 10 MB/s > then the write cache might be disabled. Show the complete result and tell > also your CPU model. > I use an AMD Athlon(tm) XP 2400+ (2000MHz). Here are bonnie's results: AFTER my "dd if=/dev/ad1 bs=512k count=1000 of=/dev/null"-trick (somehow this trick seems to change the write speed dramatically (factor 5; /opt/tmp is on /dev/ad1)) WITH hw.ata.wc=0: neo# bonnie -d /opt/tmp -s 1024 -m Athlon2400 -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU Athlon24 1024 47464 55.1 46720 24.9 17561 9.7 44685 56.0 43861 26.5 146.4 2.8 WITHOUT the "trick" AFTER a fresh boot WITH hw.ata.wc=1: neo# bonnie -d /opt/tmp -s 1024 -m Athlon2400 -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU Athlon24 1024 6540 7.3 47957 23.9 15591 11.6 46357 57.1 44280 23.3 142.4 3.6 AFTER previous test WITH hw.ata.wc=1: -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU Athlon24 1024 46270 57.7 47708 24.4 17995 9.5 44864 55.5 43965 23.5 150.2 2.2 AFTER fresh boot WITHOUT trick WITH hw.ata.wc=0 -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU Athlon24 1024 6570 14.4 47726 24.0 15634 13.7 46413 57.1 43569 15.5 155.6 1.2 AFTER previous test WITH hw.ata.wc=0 -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU Athlon24 1024 48619 54.4 46796 37.1 15268 19.7 45892 59.7 44151 16.0 159.8 1.2 -Arne __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com