From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: SATA kernel-buffered read VERY slow (not raid, Promise TX300 card); 2.6.23.1(vanilla) Date: Tue, 01 Jan 2008 11:06:04 -0500 Message-ID: <477A64EC.40401@rtr.ca> References: <4777E08C.4000603@shaw.ca> <4779870E.5070507@tlinx.org> <47798A28.2010301@shaw.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from rtr.ca ([76.10.145.34]:1132 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753889AbYAAQGH (ORCPT ); Tue, 1 Jan 2008 11:06:07 -0500 In-Reply-To: <47798A28.2010301@shaw.ca> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Robert Hancock Cc: Linda Walsh , LKML , ide >>>> I wanted to use the newer pata support in the SATA lib, but >>>> got frustrated "real fast" by the lack of disk-parameter support >>>> in the new pata library (hdparm is mostly broken; and the SCSI >>>> utils aren't really intended for ATA(or SATA?) disks using the >>>> SCSI interface. ... Most hdparm flags work perfectly fine with libata, unless perhaps you're using Fedora, which for some odd reason was using a 2+ year old copy of hdparm until very very recently. As others noted, the only things not working are things that libata itself chooses not to allow from userspace because libata has better low-level drivers that can set those things automatically in a more reliable fashion than we ever could with drivers/ide: DMA, 32-bit I/O, PIO/DMA xfer rates, hotplug stuff. The rest, including acoustic and power-saving parameters, work just fine with libata. Cheers