Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2009 18:47:07 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        Daniel O'Connor <doconnor@gsoft.com.au>, freebsd-performance@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: SATA is to slow comparing with linux
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Promise PDC40775 SATA300 controller>
ad4: 953869MB <WDC WD10EADS-00L5B1 01.01A01> at ata2-master SATA300

atapci1: <VIA 6420 SATA150 controller>
ad10: 953869MB <WDC WD10EADS-00L5B1 01.01A01> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090930184707.26203403.lehmann>