From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263221AbTLDISx (ORCPT ); Thu, 4 Dec 2003 03:18:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263262AbTLDISx (ORCPT ); Thu, 4 Dec 2003 03:18:53 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:25536 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S263221AbTLDISv (ORCPT ); Thu, 4 Dec 2003 03:18:51 -0500 Date: Thu, 4 Dec 2003 09:18:40 +0100 From: Jens Axboe To: Greg Stark , Erik Steffl , linux-kernel@vger.kernel.org Subject: Re: libata in 2.4.24? Message-ID: <20031204081840.GB1086@suse.de> References: <3FCB8312.3050703@rackable.com> <87fzg4ckej.fsf@stark.dyndns.tv> <3FCBB15F.7050505@rackable.com> <3FCBB9F1.2080300@bigfoot.com> <87n0abbx2k.fsf@stark.dyndns.tv> <20031202055336.GO1566@mis-mike-wstn.matchmail.com> <20031202055852.GP1566@mis-mike-wstn.matchmail.com> <87zneb9o5q.fsf@stark.dyndns.tv> <20031202174048.GQ1566@mis-mike-wstn.matchmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031202174048.GQ1566@mis-mike-wstn.matchmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 02 2003, Mike Fedyk wrote: > On Tue, Dec 02, 2003 at 11:31:45AM -0500, Greg Stark wrote: > > > > Mike Fedyk writes: > > > > > > Libata, uses the scsi system instead of the existing ide layer because many > > > > new sata controllers are using an interface that is very similair to scsi > > > > (much like atapi). > > > > Now I have a different question. Does the scsi-like SATA interface include tcq? > > > > Because one of the long-standing issues with IDE drives and Postgres is the > > fact that even after issuing an fsync the data may be sitting in the drive's > > buffer. This doesn't happen with SCSI because the drives aren't forced to lie > > about the data being on disk in order to handle subsequent requests. Turning > > off write-caching on IDE drives absolutely destroys performance. > > There are PATA drives that do TCQ too, but you have to look for that feature > specifically. IDE TCQ is in 2.6, but is still experemental. I think Jens > Axboe was the one working on it IIRC. He would have more details. Yes that was me. PATA TCQ is currently disabled in the 2.6 kernel configs, and it will most likely just go away sometime soonish. It's not a very useful feature, PATA TCQ is pretty broken. I knew this from the beginning, but thought that it would be fun to try it in real life. It's just not worth it, though. SATA host queueing support will be useful. -- Jens Axboe