From owner-freebsd-current@FreeBSD.ORG Sat Sep 25 21:42:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A576816A4CE for ; Sat, 25 Sep 2004 21:42:43 +0000 (GMT) Received: from smtp1.powertech.no (smtp1.powertech.no [195.159.0.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE74343D1F for ; Sat, 25 Sep 2004 21:42:40 +0000 (GMT) (envelope-from frode@nordahl.net) Received: from [192.168.1.35] (ti211110a080-2537.bb.online.no [80.212.201.233]) by smtp1.powertech.no (Postfix) with ESMTP id 3078680E8; Sat, 25 Sep 2004 23:42:39 +0200 (CEST) In-Reply-To: <4155DC3F.5070904@freesurf.ch> References: <4155DC3F.5070904@freesurf.ch> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Frode Nordahl Date: Sat, 25 Sep 2004 23:42:38 +0200 To: Mauro Triulzi X-Mailer: Apple Mail (2.619) cc: freebsd-current@freebsd.org Subject: Re: ATA disk performance (ICH2 controller), some tests and comparison with Linux 2.6.5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2004 21:42:43 -0000 On Sep 25, 2004, at 22:59, Mauro Triulzi wrote: > b) Now the same under Linux (kernel 2.6.5) > > Write performance > > linux:/usr # date && dd if=/dev/zero of=deleteme.now count=1000000 && > date > Sat Sep 25 21:38:30 CEST 2004 > 1000000+0 records in > 1000000+0 records out > Sat Sep 25 21:38:35 CEST 2004 > > deleteme.now is about 488 MB, rate about 100 MB/sec!! I'm pretty sure you have more than 488 MB memory, so the data will never actually be written to disk during this test. You should write a file at least twice the size of your memory, and rerun it three times to get any good results, running sync immedialtely after the dd will not hurt neither. In general, your test is obviously run on a disk in a multiboot situation, this will not work. As FreeBSD and Linux will be put on different parts of the disk which has different characteristics when it comes to available performance. Mvh, Frode Nordahl