public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan <alan@lxorguk.ukuu.org.uk>
To: "Martin A. Fink" <fink@mpe.mpg.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SATA Performance with Intel ICH6
Date: Fri, 24 Nov 2006 14:30:40 +0000	[thread overview]
Message-ID: <20061124143040.679016d5@localhost.localdomain> (raw)
In-Reply-To: <200611241510.11526.fink@mpe.mpg.de>

On Fri, 24 Nov 2006 15:10:11 +0100
"Martin A. Fink" <fink@mpe.mpg.de> wrote:

> Well this seems to be independend from the file system. I tried to write 
> directly to the raw device, but nevertheless the cpu time was 20% (sys time).

sys time is not neccessarily CPU time.
 
> This is an interessting point. The specification say that I can handle around 
> 120 to 150 MB/s each of the 4 S-ATA ports. With ICH6 the S-ATA ports seem to 

At once ?

> be directly connected to the Southbridge, and the Southbridge is directly 
> connected to Northbridge via PCI Express. So it should be possible to get 150 
> MB/s from north to south and from there in packages of 55 MB/s to the 
> disks ?!

Ask the vendor.
 
> <6>scsi1 : ata_piix
> <5>  Vendor: ATA       Model: WDC WD740GD-75FL  Rev: 21.0
> <5>  Type:   Direct-Access                      ANSI SCSI revision: 05

The PIIX interface needs CPU intervention each command, so in practice
about every 64K or so, and the CPU gets stalled waiting for the disk
during the setup of each I/O. The newer kernels support AHCI which does
not have this overhead, but it is only present on the newest intel
controllers.

> and strace dd... gives among other information
> 6.84s 1004calls syscall: write
> 
> So I spend 45s of 52s within the kernel. Why so long?

Waiting for the disk I would imagine.

Alan


  reply	other threads:[~2006-11-24 14:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-24 13:07 SATA Performance with Intel ICH6 Martin A. Fink
2006-11-24 13:33 ` Alan
2006-11-24 14:10   ` Martin A. Fink
2006-11-24 14:30     ` Alan [this message]
2006-11-24 14:54       ` Martin A. Fink
2006-11-25 19:23     ` Andrew Morton
2006-11-24 14:05 ` Ed Sweetman
2006-11-24 22:10 ` J.A. Magallón
  -- strict thread matches above, loose matches on Subject: below --
2006-11-24 14:30 Daniel J Blueman
2006-11-28 10:09 Martin A. Fink
2006-11-28 10:43 ` Alan

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=20061124143040.679016d5@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=fink@mpe.mpg.de \
    --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