From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chr Subject: Re: [patch 2.6.22-rc6] ATA: add a PCI ID for Intel Santa Rosa PATA controller Date: Fri, 6 Jul 2007 21:45:01 +0200 Message-ID: <200707062145.01928.chunkeey@web.de> References: <39B20DF628532344BC7A2692CB6AEE070181E0EA@orsmsx420.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from fmmailgate03.web.de ([217.72.192.234]:33903 "EHLO fmmailgate03.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762135AbXGFToF (ORCPT ); Fri, 6 Jul 2007 15:44:05 -0400 In-Reply-To: <39B20DF628532344BC7A2692CB6AEE070181E0EA@orsmsx420.amr.corp.intel.com> Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: "Gaston, Jason D" Cc: Thorsten Leemhuis , Thorsten Leemhuis , Chuck Ebbert , Jeff Garzik , IDE/ATA development list , Alan Cox , linux-kernel@vger.kernel.org On Friday, 6. July 2007, Gaston, Jason D wrote: > >> > On the other hand, we can leave it, because of a > >"off-by-one error" in ata_piix.c, > >> > do_pata_set_dmamode, line ~770: > >> > [...] > >> > > > >Thanks, > > Chr. > > > > > > I quickly tried this patch on an ICH7-R system with an ATA133 Maxtor HD > and it did not seem to do anything bad. I see no difference in function > or performance with the patch. > > Jason > Thanks for testing, but you forgot some numbers. ;) (bonnie++? hdparm -i && hdparm -t...) Because, I don't think that Maxtor HD's mechanics is faster than 100MB/s.. The only thing that can keep up with > 100MB/s are the few MB of Cache on every HDD... (so, does anyone have a good idea to check the HDD's cache performance? hdparm -t reads too much data) I came up with something like: "dd if=/dev/sdX of=/dev/null bs=4M count=1 iflag=direct" and run it 10 times in a row. here's a test run with a SATA I WD2500YD-01N ( hdparm -t performance: ~57MB/s) 4194304 bytes (4.2 MB) copied, 0.0897687 seconds, 46.7 MB/s 4194304 bytes (4.2 MB) copied, 0.0776731 seconds, 54.0 MB/s 4194304 bytes (4.2 MB) copied, 0.0711224 seconds, 59.0 MB/s 4194304 bytes (4.2 MB) copied, 0.0679675 seconds, 61.7 MB/s 4194304 bytes (4.2 MB) copied, 0.0603272 seconds, 69.5 MB/s 4194304 bytes (4.2 MB) copied, 0.0543068 seconds, 77.2 MB/s 4194304 bytes (4.2 MB) copied, 0.0522881 seconds, 80.2 MB/s 4194304 bytes (4.2 MB) copied, 0.0520612 seconds, 80.6 MB/s 4194304 bytes (4.2 MB) copied, 0.0444805 seconds, 94.3 MB/s 4194304 bytes (4.2 MB) copied, 0.0338407 seconds, 124 MB/s 4194304 bytes (4.2 MB) copied, 0.0333174 seconds, 126 MB/s Thanks, Chr