public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: linux-kernel@vger.kernel.org
Cc: g.danti@assyoma.it
Subject: AHCI maximum transfer size
Date: Thu, 11 Sep 2014 16:32:00 +0200	[thread overview]
Message-ID: <a39687c7cc1c7137f0187aea4ee38676@assyoma.it> (raw)

Hi all,
I searched the list and the internet for this question, but I did not 
find a definitive answer.

I wonder what is the maximum AHCI transfer size for kernel 2.6.32.x
Let me explain: using a command as "dd if=/dev/zero of=/dev/sda bs=2M" I 
can see, via iostat, that request-size is at 2M (as expected). However 
it seems to me that the effective transfer size is way lower: disabling 
writeback cache on the target disk, I see very low performance even for 
big-chunk transfers.

Googling, I found this post on stackoverflow stating that maximum 
observerd AHCI transfer size (with a SATA protocol analyzer) is 128KB: 
http://stackoverflow.com/questions/24053662/how-to-enlarge-sata-transfer-size-in-linux-ahci-driver.
The stackoverflow post seems to agree with this old LWN.net article: 
http://lwn.net/Articles/77981/

Anyone has any idea of how to find (and eventually change) the used AHCI 
transfer size without touching the code?

NOTE: please CC me directly.
Regards.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

             reply	other threads:[~2014-09-11 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 14:32 Gionatan Danti [this message]
2014-09-16  8:56 ` AHCI maximum transfer size Gionatan Danti
2014-11-12  9:54   ` Gionatan Danti

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=a39687c7cc1c7137f0187aea4ee38676@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=linux-kernel@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