From owner-freebsd-stable@freebsd.org Mon Jan 22 19:48:49 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71835ED22F0 for ; Mon, 22 Jan 2018 19:48:49 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7AEF6B3F0 for ; Mon, 22 Jan 2018 19:48:48 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x22e.google.com with SMTP id g72so12104577lfg.5 for ; Mon, 22 Jan 2018 11:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=yXAAwGATUZ0DyDThWHqn8yp2TJAO6184+tY+/PwEJZY=; b=Mrox6G9lBrDNRFJHEisxW5dUgzFB0HyvRCK5imiM2ZTqo+y4YS0UyXm74kyHcqlvV+ TMAlHEo4FmfT/+rthPuCbII4RSRrS9hpoQZvzYClRvc3nRVAW9F2yZfZC1/nlzOSDbkm p/cifEyu4Cb4HyGWG/NcLIcDUy7cPzxCO2KdHVBB/UD9vJ2+KTIjjqCzH/morgo7mFgl K3niGZhQLSmavtQaR4w8qMMAHYLl+X4N+IWUAS6jo6qiBdbP/KWuZ7Y+HsV9FP7NzEin 3fPGgpZr6x12ZNC3P8i/bvBeBqxHlGTb0axVmpbuJQY4k0ZrIFkuuq9i9IPQ73TTOPF2 nqpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=yXAAwGATUZ0DyDThWHqn8yp2TJAO6184+tY+/PwEJZY=; b=ETC80Cg3xcYxGAxJDOf9ea4VL56V4t6yFvOHSTTLgpOqRyQplgsZ8iz7ktS6E/2X4e sj2EUFObuEkR50MxcxDDigCivQtqrBmDiNZxQuwC7YY7mxqC6oyn6pDxRkcRxZIXtXUX SGx5h5nORWj7spl4npBIlvbeN7tt9NyHM7IYp6+ISelo6I3gaBOXdM/A+oQUhPyoYxs4 49zY7JWEG1laKPcq6SwBBBiwySYQZnUb9jjQrrrPNAj2RJnIaUJu4/zvVfZm02abZG+9 i11YNjQbfrlAYG1N/YgHP16H8TPs9F/ij9vcB6IUPPC91CBxMQWhspfD7vckWPdtCQjs 5t0A== X-Gm-Message-State: AKwxytfC1nA7ZPyMPXysmeVrk83ESlf8XV1IP3pRPq/tSPlK8z2z3Oel W9TiEYeO1wSGv3F7zz2scEm3dg55n/ZUbH4CVhc= X-Google-Smtp-Source: AH8x225y7hDMP6iHXD1YvH2S/z/HjkchKNO18KydqJh5s91sCbPlXEAMe8mBgNAgdpcgexKpnnJF9kZS+v0lqf65kWc= X-Received: by 10.25.178.217 with SMTP id t86mr4076238lfk.51.1516650526449; Mon, 22 Jan 2018 11:48:46 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.179.87.131 with HTTP; Mon, 22 Jan 2018 11:48:45 -0800 (PST) In-Reply-To: References: From: Alan Somers Date: Mon, 22 Jan 2018 12:48:45 -0700 X-Google-Sender-Auth: 3n-Jx79bC_WzEMaKVEc47RcCjg0 Message-ID: Subject: Re: AHCI and Highpoint Rocket 750 To: FF Cc: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 19:48:49 -0000 On Mon, Jan 22, 2018 at 12:05 PM, FF wrote: > oh nice! so it "just works" -- is there any way to verify it? > Not easily. You could try putting a load on those disks, then use "gstat -a" to watch the queue depth (the "L(q)" column). If it's >1, that means that geom is trying to use queued commands. A more accurate but more difficult method would be to use a benchmark program like benchmarks/fio to do a random write test on a single disk. If the throughput is higher when fio is using a queue depth > 1, then that would indicate that queued commands are making it all the way to the drive. OTOH, it would probably be a better use of your time just to benchmark whatever application you're using. Only if that's too slow should you dig into minutiae like this. With 40 drives, you may have plenty of IOPs even without NCQ. > > Is there any reason to use the highpoint driver when the native FreeBSD > one seems to work? > Nope. > > thanks!! > > On Mon, Jan 22, 2018 at 1:26 PM, Alan Somers wrote: > >> On Mon, Jan 22, 2018 at 11:08 AM, FF wrote: >> >>> I have a machine with the Highpoint card and motherboard based SATA >>> drives. >>> The drives from the MB support AHCI and appear as ada0-8. The drives on >>> the >>> highpoint card whether using native FreeBSD support or the Highpoint >>> provided driver show up as da9-39. >>> >>> It is my understanding that AHCI is needed to support NCQ... I'm >>> wondering >>> what I need to do to get AHCI enabled. This seems to happen in both >>> FreeBSD >>> 9 and FreeBSD 10. >>> >>> thanks in advance! >>> >> >> AHCI has nothing to do with it. The driver presents itself to the OS as >> a SCSI HBA, even though the drives are SATA. In fact, it might actually be >> using a SCSI IC, but firmware-restricted to only connect to SATA drives. >> In any case, the OS is going to try to use TCQ, and either the driver or >> the firmware is going to translate those queued commands into NCQ. You >> don't need to change anything. >> >> -Alan >> >> > > > -- > FF >