From owner-freebsd-performance@FreeBSD.ORG Wed Sep 30 16:47:09 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9865A10656D2 for ; Wed, 30 Sep 2009 16:47:09 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id F1EB98FC29 for ; Wed, 30 Sep 2009 16:47:08 +0000 (UTC) Received: (qmail 70692 invoked by uid 89); 30 Sep 2009 16:47:06 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 30 Sep 2009 16:47:06 -0000 Date: Wed, 30 Sep 2009 18:47:07 +0200 From: Oliver Lehmann To: Robert Noland Message-Id: <20090930184707.26203403.lehmann@ans-netz.de> In-Reply-To: <1254304611.2268.962.camel@balrog.2hip.net> References: <20090930060202.45527.qmail@avocado.salatschuessel.net> <200909301646.35019.doconnor@gsoft.com.au> <20090930075357.49914.qmail@avocado.salatschuessel.net> <1254304611.2268.962.camel@balrog.2hip.net> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 30 Sep 2009 16:57:23 +0000 Cc: Daniel O'Connor , freebsd-performance@freebsd.org, freebsd-stable@freebsd.org Subject: Re: SATA is to slow comparing with linux X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 16:47:09 -0000 Robert Noland wrote: > I would also be curious how that ahci driver from -CURRENT is performing > relative to other implementations. I tried 8.0-RC1-i386.iso but the ahci driver didn't picked up my promise nor my VIA controller. So all the numbers now for the "old" ata driver. CPU: AMD Athlon(tm) 64 Processor 3500+ (2200.10-MHz K8-class CPU) usable memory = 2138615808 (2039 MB) atapci0: ad4: 953869MB at ata2-master SATA300 atapci1: ad10: 953869MB at ata5-master SATA150 A simple "dd if=/dev/zero of=/mntpoint/test.dd bs=1M count=4069" showed: FreeBSD 8.0-RC1-i386 (LiveCD) Promise: 42 MB/sec VIA: 43 MB/sec FreeBSD 7.2-STABLE-amd64 Promise: 39 MB/sec VIA: 40 MB/sec Knoppix Linux 2.6 (LiveCD) Promise: 52 MB/sec VIA: 57 MB/sec I only have bonnie results for Knoppix (where installing aplications works) and FreeBSD 7.2 since 8.0 was a LiveCD... FreeBSD 7.2-STABLE-amd64 Promise: Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP kartoffel.salats 4G 588 99 41062 5 17618 2 1150 97 47672 3 201.2 2 Latency 26548us 72687us 1032ms 31840us 75449us 2497ms Version 1.96 ------Sequential Create------ --------Random Create-------- kartoffel.salatschu -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 956 1 +++++ +++ 1921 2 1022 1 +++++ +++ 1800 2 Latency 32679us 73us 56709us 41386us 154us 3340us FreeBSD 7.2-STABLE-i386 VIA: Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP kartoffel.salats 4G 507 99 41771 5 18176 2 1031 96 47754 4 204.7 2 Latency 27839us 92373us 1027ms 59450us 75962us 192ms Version 1.96 ------Sequential Create------ --------Random Create-------- kartoffel.salatschu -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 1006 1 +++++ +++ 1937 2 1029 1 +++++ +++ 1908 3 Latency 38776us 97us 77620us 39084us 60us 3998us Knoppix Linux 2.6 (LiveCD) Promise: Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP Microknoppix 4G 337 99 49887 15 30244 8 940 97 80670 10 213.8 3 Latency 32400us 1258ms 1080ms 60634us 35019us 317ms Version 1.96 ------Sequential Create------ --------Random Create-------- Microknoppix -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 24364 46 +++++ +++ +++++ +++ 29360 56 +++++ +++ 30707 50 Latency 31943us 33392us 33427us 18530us 33391us 33425us Knoppix Linux 2.6 (LiveCD) VIA: Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP Microknoppix 4G 355 99 55556 16 31982 8 1098 97 80977 10 215.4 2 Latency 25281us 1307ms 703ms 37743us 30772us 299ms Version 1.96 ------Sequential Create------ --------Random Create-------- Microknoppix -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 14013 27 +++++ +++ +++++ +++ 31883 60 +++++ +++ +++++ +++ Latency 36642us 2973us 30053us 12843us 30014us 30030us As you can see linux has a much higher data transfer rate on both controller than FreeBSD offers. Any sugestions? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/