Article View: fa.netbsd.tech.kern
Article #118Re: Thinking about NCQ support for NetBSD
From: Jonathan A. Kollasch
Date: Wed, 22 May 2013 12:52
Date: Wed, 22 May 2013 12:52
27 lines
2970 bytes
2970 bytes
On Tue, May 21, 2013 at 11:14:03PM -0700, Brian Buhrow wrote: > hello. Recently I've been working on some fixes for the mpt(4) > driver. In the process of getting those fixes working, I began thinking > about how hard it would be to get NCQ tag queueing working for NetBSD. In > the process of getting my head around what is involved, I find I have > questions. If someone wants to share what they know here or privately, > I'd be interested in reading. > > 1. I read a document that discussed ahcisata and its advantages over > traditional IDE mode. One of the advantages it touted was that ahcisata > would support NCQ tag queueing. Is it a requirement in order for NCQ > tag queueing to work that the interface card support it as well? For > example, the viaide(4) driver supports SATA controllers, but says nothing > about NCQ support or the potential for it. Yeah, you need something with more than just wdc(4)/pciide(4)-style registers. ahcisata(4), siisata(4), and mvsata(4) would be capable of NCQ. > 2. Does anyone have any preliminary patches for NCQ support that the never > got into the system? The first issue is the ata(4) layer, which doesn't currently support multiple outstanding commands per drive. What little work I did on it I probably swept away, as nothing useful came of it last I tried. Jonathan Kollasch
Technical Details
Message-ID:
<fa.IuRMk9mIGHMpGjsLdfLBgc4CY6s@ifi.uio.no>Path:
arc1-ca.pugleaf.net!d5ni7871pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mailReferences:
<fa.Liv5Nx1/SqHKRyLhkCIKZGvZp3k@ifi.uio.no>Show Full Headers
Complete Article Headers
X-Google-Thread: b7e13b6095,25529bffdc7b28e7,start
X-Google-Attributes: gidb7e13b6095,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.66.27.44 with SMTP id q12mr620249pag.9.1369227131153;
Wed, 22 May 2013 05:52:11 -0700 (PDT)
Path: arc1-ca.pugleaf.net!d5ni7871pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: Thinking about NCQ support for NetBSD
Date: Wed, 22 May 2013 12:52:10 UTC
Organization: Internet mailing list
Lines: 27
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.IuRMk9mIGHMpGjsLdfLBgc4CY6s@ifi.uio.no>
References: <fa.Liv5Nx1/SqHKRyLhkCIKZGvZp3k@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1369227130 16857 129.240.7.9 (22 May 2013 12:52:10 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Wed, 22 May 2013 12:52:10 +0000 (UTC)
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: tech-kern@netbsd.org
To: Brian Buhrow <buhrow@nfbcal.org>
Delivered-To: tech-kern@netbsd.org
X-Virus-Scanned: amavisd-new at NetBSD.org
In-Reply-To: <201305220614.r4M6E3O8001531@lothlorien.nfbcal.org>
List-Id: tech-kern.NetBSD.org
Original-Date: Wed, 22 May 2013 07:42:50 -0500
Original-Message-Id: <20130522124250.GA9630@tazenda.kollasch.net>
Original-References: <201305220614.r4M6E3O8001531@lothlorien.nfbcal.org>
Bytes: 2678
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline