linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Grant Grundler" <grundler@google.com>
To: Mark Lord <liml@rtr.ca>
Cc: Justin Piszcz <jpiszcz@lucidpixels.com>,
	Jeff Garzik <jeff@garzik.org>,
	linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-raid@vger.kernel.org
Subject: Re: Marvell 88SX7042 [4 Port SATA PCI-Express x4] Support/Questions
Date: Mon, 26 May 2008 17:34:25 -0700	[thread overview]
Message-ID: <da824cf30805261734g6dbd43yfda62124973b98cf@mail.gmail.com> (raw)
In-Reply-To: <4839A63E.4050409@rtr.ca>

On Sun, May 25, 2008 at 10:47 AM, Mark Lord <liml@rtr.ca> wrote:
...
> Sure, if the bus and memory are fast enough.  You'll hit the Linux/libata
> transactions/sec limit at some point, but I don't know what that is.
>
> Eg. Here's a 4X (I think) card in my PCIe video slot:
>
> beefy:~# mdadm --create /dev/md0 --chunk=256 -l 0 --raid-devices=4
> /dev/sd[bcde]
> mdadm: array /dev/md0 started.
>
> beefy:~# hdparm -t --direct /dev/sd[bcde] /dev/md0
>
> /dev/sdb:
> Timing O_DIRECT disk reads:  218 MB in  3.01 seconds =  72.46 MB/sec
>
> /dev/sdc:
> Timing O_DIRECT disk reads:  256 MB in  3.01 seconds =  85.00 MB/sec
>
> /dev/sdd:
> Timing O_DIRECT disk reads:  192 MB in  3.01 seconds =  63.79 MB/sec
>
> /dev/sde:
> Timing O_DIRECT disk reads:  256 MB in  3.01 seconds =  85.07 MB/sec
>
> /dev/md0:
> Timing O_DIRECT disk reads:  768 MB in  3.00 seconds = 255.69 MB/sec

The bottle neck here is with the four disks.
Modern 1TB 7200 rpm disks have raw throughput rates up to around
100MB/s. Anything in the last 4-5 years should do better than 60MB/s.

In theory, ~16 disks (4 disks per 7042 port using Port Mulitpliers),
one should be able to hit 200+ MB/s per 7042 port and approach 900MB/s
total. Getting more than 900Mb/s will depend on the chipset. IIRC, the
MMRBC of 128 bytes will result in about 15% protocol overhead in the
PCI-e link.
Bigger PCI-e "burst" will result in dramatically less overhead (IIRC,
256Byte == 9% overhead.)

hth,
grant

      parent reply	other threads:[~2008-05-27  0:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-25 12:03 Marvell 88SX7042 [4 Port SATA PCI-Express x4] Support/Questions Justin Piszcz
2008-05-25 17:47 ` Mark Lord
2008-05-25 19:43   ` Andre Tomt
2008-05-27  0:34   ` Grant Grundler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=da824cf30805261734g6dbd43yfda62124973b98cf@mail.gmail.com \
    --to=grundler@google.com \
    --cc=jeff@garzik.org \
    --cc=jpiszcz@lucidpixels.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).