Date: Tue, 14 Dec 2021 06:57:12 +0100 From: Bertrand Petit <freebsd-hackers@phoe.frmug.org> To: Stefan Blachmann <sblachmann@gmail.com> Cc: Alan Somers <asomers@freebsd.org>, Johannes Totz <jo@bruelltuete.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Weak disk I/O performance on daX compared to adaX, was: Re: dd performance [was Re: Call for Foundation-supported Project Ideas] Message-ID: <20211214055711.GT33211@memo2.memo.frmug.org> Resent-Message-ID: <20211214060545.GA30665@memo2.memo.frmug.org> In-Reply-To: <CACc-My2vOQk0cfdViBcTKXSCeBZQgkWKpGLs=hME7xUBg_DVFw@mail.gmail.com> References: <CACc-My2vOQk0cfdViBcTKXSCeBZQgkWKpGLs=hME7xUBg_DVFw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 14, 2021 at 04:06:50AM +0100, Stefan Blachmann wrote: > > So my questions: > - Why does FreeBSD use the da driver instead of the ada driver for > drives on SATA ports 1-4? A look at the Z240 block diagram in the maintenance and service guide (document number 669531-005) reveals the presence of two different HBAs. First there is one raid controller (Intel or LSI depending on the bought options) and, secondly, a plain AHCI adapter. One can only boot from the first controller. It is usual for HP/HPe machines to provide a firmware setting permitting the disablement of the raid controller. When used, this setting morphs the controller to a plain AHCI HBA. Doing this on my Proliants did improve I/O performances up to the satisfying point of the disks themselves becoming the bottleneck. I recommend using the AHCI mode, especially if you are storing zpools. You should also be aware that not all SATA ports are made equal on this motherboard. In the manual some are marked as 6 Gb/s while other are 3 Gb/s. (SATA 3 vs. SATA 2?) Some ports can also be configured for eSATA operation, this should be checked. -- %!PS -- Bertrand Petit /D{def}def/E{exch}D/G{get}D/I{2 div}D/U{dup}D/L{roll}D/Y{setgray}D/N{newpath}D /O{N 0 0 moveto}D/P{pop}D/T{translate}D currentpagedevice/PageSize G U 0 G/w E D 1 G /h E D w I h I T 0 Y 1 setlinewidth 0 1 2 { P 120 rotate 2 4 w U mul h U mul add sqrt I 50 add {N 50 0 3 2 L 0 360 arc stroke}for}for/s{O true charpath pathbbox exch 4 -1 L E sub I 3 1 L sub I} D /l(bp)D 0.94 Y /Helvetica findfont 22 scalefont setfont l s P(x)s exch P T O l show showpage
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211214055711.GT33211>