All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Pocock <daniel@pocock.com.au>
To: linux-ide@vger.kernel.org
Subject: very slow write to AHCI device
Date: Mon, 07 May 2012 18:16:35 +0200	[thread overview]
Message-ID: <4FA7F563.4040708@pocock.com.au> (raw)



Hi,

I'm testing a problem with the following combination:
- SB700/SB800 type controller in AHCI mode (in a HP Microserver N36L)
- Seagate Barracuda 1TB 7k2 drive with NCQ

I've got a fresh 256MB partition, formatted ext4, mounted
barrier=1,data=ordered, write-cache enabled (hdparm -W 1 /dev/sdb) and
shared over NFS.

When the NFS client writes,
- unpacking a source tarball, many small files, iostat reports speeds
under 500kBytes/sec
- dd conv=fsync, iostat reports about 50MB/sec

If I set up a USB disk on the same box, with a partition formatted
exactly the same way, the iostat reports the write speed (unpacking the
same tarball) is over 5MBytes/sec - not so fast, but 10 times faster
than the AHCI device.

Is there anything I can do to troubleshoot this issue?

Or should I just stop using this onboard SATA and go to something like
an Adaptec 1405?

Regards,

Daniel



             reply	other threads:[~2012-05-07 16:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 16:16 Daniel Pocock [this message]
2012-05-07 18:10 ` very slow write to AHCI device Martin Mokrejs
2012-05-07 18:11   ` Daniel Pocock
2012-05-07 18:27     ` Martin Mokrejs
2012-05-07 23:30       ` Daniel Pocock
2012-05-08  8:21         ` Martin Mokrejs

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=4FA7F563.4040708@pocock.com.au \
    --to=daniel@pocock.com.au \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.