Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Sylvain LEVEQUE <kag@laposte.net>
Cc: linux-ide@vger.kernel.org, justin@jmicron.com
Subject: Re: Performance issue with SATA port multiplier
Date: Thu, 24 Feb 2011 16:21:52 +0100	[thread overview]
Message-ID: <20110224152152.GR7840@htj.dyndns.org> (raw)
In-Reply-To: <AANLkTimWhSbb8i1qPUCiZhGjQpdx1kWG_wyE3-hVScY+@mail.gmail.com>

(cc'ing Justin)

Hello,

On Thu, Feb 24, 2011 at 03:32:50PM +0100, Sylvain LEVEQUE wrote:
> I own a Venus T5C mini box based on a JMicron JM393 controller, used
> in pure port multiplier mode (no JBOD, no RAID). It is plugged in
> eSATA to a QNAP TS-119 NAS which runs a 2.6.37 kernel on a Marvell
> Kirkwood 88F6281.
> 
> When I first started copying data on any disk of the external box, I
> realized the write speed was low (read speed is OK). Testing with dd
> and various block sizes shows that the larger the block size, the
> higher the throughput is. On my NAS, I determined the work buffer size
> of the cp command to be approximately 8KB.
> 
> With a 8KB blocksize, when writing a 16MB file with dd on one of the
> disks, I average at 6,5 MB/s write speed. It is already a great
> improvement compared to the 393 KB/s write speed I obtained on a
> 2.6.36 kernel, but it is low compared to results I obtain with higher
> blocksizes (52,4 MB/s with 4MB blocksize) or using other hardware
> (laptop with Intel ICH9M-E/M controller reaches 286 MB/s with 8KB
> blocksize using a 2.6.31 kernel).
> 
> When I take one of the disks out and connect it in eSATA with a basic
> external case, I reach 37,6 MB/s with 8KB blocksize. This result is
> pretty constant whatever the blocksize value I tested (from 1KB to
> 16MB, doubling each time).

Sounds like a latency related issue.  Is NCQ being used?

-- 
tejun

  reply	other threads:[~2011-02-24 15:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 14:32 Performance issue with SATA port multiplier Sylvain LEVEQUE
2011-02-24 15:21 ` Tejun Heo [this message]
2011-02-24 16:30   ` Sylvain LEVEQUE
2011-03-10 12:30   ` Sylvain LEVEQUE

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=20110224152152.GR7840@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=justin@jmicron.com \
    --cc=kag@laposte.net \
    --cc=linux-ide@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