From owner-freebsd-stable@freebsd.org Tue Sep 24 16:27:34 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 147B712A556 for ; Tue, 24 Sep 2019 16:27:34 +0000 (UTC) (envelope-from john@spikefishsolutions.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46d66X5pphz4dMt for ; Tue, 24 Sep 2019 16:27:32 +0000 (UTC) (envelope-from john@spikefishsolutions.com) Received: by mail-lf1-x12e.google.com with SMTP id q11so1885748lfc.11 for ; Tue, 24 Sep 2019 09:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spikefishsolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2q2OTlGNpN8YCAhG8N6owpQ86yqoyFL7vU5QQ4MBGkU=; b=CLiM2VhyZHvvsEOVCb7B7x1IgdU1Z37CAzZMWur2oJ70T3JkTQoooi+u3Coii+UL3g s1n12pNiq/xz3k1KndhrissohFyeAR2jFWyOgI5FN7eZnciILgUtSmECEcpxsbPcslVU xuuG4F8d8stbf+cOEGVJ6rtcKU3yHv0o1c3fY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2q2OTlGNpN8YCAhG8N6owpQ86yqoyFL7vU5QQ4MBGkU=; b=AcKiBEmPaG9UyGh12TDzeK8ckv0CI3oo/xKxGR69GXesXlCokl+RQUDlFmO52X8YT/ hT/TjK9to7nBMFQ+vEEoivMU51E7vLQqvNdYt8I0VarzVrA8/L5ZNuT+aIdGHioMf4Nj R0BEPbwo/Wz/ltXB0etxeLwbIa4kwguC9m+TdWWLqnfIdOGbds/2kkQikVXQYf4UHN8L RFysAFumestpQQTqbf4vYQbE/ycRqWy6V88QKKtVoIoRPYpXazw4TJ914gX0JbelBsDB LE+9qbdFIypidxpve7BL6eaDNEc1afhgTJna964eJ1+8zioXmix47zKRqzUajhixoYQj pm4A== X-Gm-Message-State: APjAAAVL28LIdV9ZGwM6shiGbZw9uaTX+1KdLpOnzw+d3mZrhc7YZ8wt YnPSF6gDsVp+hNsjGP6gQK37xX0i0b8IJRa3DGQ0aw== X-Google-Smtp-Source: APXvYqzwwOMYw5jiDgNxW9Bj3lXd1dzfU27owspB49ncjLxxVcOFE3C9/ZcDpUo2xBhG9pVUvvZ19psBLLk7n4Nhh24= X-Received: by 2002:ac2:4552:: with SMTP id j18mr2529486lfm.120.1569342450911; Tue, 24 Sep 2019 09:27:30 -0700 (PDT) MIME-Version: 1.0 References: <9415ff89-a36a-86ee-3f3f-47e9b807059e@nomadlogic.org> In-Reply-To: <9415ff89-a36a-86ee-3f3f-47e9b807059e@nomadlogic.org> From: John Fleming Date: Tue, 24 Sep 2019 12:27:19 -0400 Message-ID: Subject: Re: Question about bottle neck in storage To: Pete Wright Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 46d66X5pphz4dMt X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=spikefishsolutions.com header.s=google header.b=CLiM2Vhy; dmarc=none; spf=pass (mx1.freebsd.org: domain of john@spikefishsolutions.com designates 2a00:1450:4864:20::12e as permitted sender) smtp.mailfrom=john@spikefishsolutions.com X-Spamd-Result: default: False [-5.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[spikefishsolutions.com:s=google]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[spikefishsolutions.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[spikefishsolutions.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[e.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.85)[ip: (-9.11), ipnet: 2a00:1450::/32(-2.91), asn: 15169(-2.20), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2019 16:27:34 -0000 On Tue, Sep 24, 2019 at 12:05 PM Pete Wright wrote: > > > > On 9/24/19 8:45 AM, John Fleming wrote: > > Is there anyway to see how busy a SAS/Sata controller is vs disks? I > > have a R720 with 14 Samsung 860 EVOs in it (its a lab server) in raid > > 10 ZFS. > > > > When firing off a dd I (bs=1G count=10) seems like the disks never go > > above %50 busy. I'm trying to figure out if i'm maxing out SATA 3 BW > > or if its something else (like terrible dd options). > > > > my setup is Dell R720 with 2 x LSI 9361 cards. Each card is going to a > > dedicated 8 drive board inside the front of the R720. Basically i'm > > just saying its not a single SAS cable to 14 drives. > > > > Don't have cpu info hand.. zeon something. DDR3-1600 (128GB) > > > > Both controllers are in 8x slots running PCIe gen 3. > > might want to take a look at sysutils/intel-pcm > (https://github.com/opcm/pcm). I *think* this should give you metrics > on PCIe bus utilization among other useful status. > ok I can check that, but to be clear what i meant was like have i maxed out SATA3 bw on the card not so much PCIe bw. > Also, lookup the bandwidth for the PCIe bus and see if your aggregate > disk throughput on one of the PCIe lanes is saturating the bus (pcm > should also help here). You can also run "zpool iostat -v 2" to see per > disk i/o metrics to help determine if this is an issue. > I think i've looked at that before but i'll check again. > > > BTW i'm sure this has been asked a million times but what would be > > some decent benchmark tests while i'm at it? > > I generally run several tests and then compare results, for example > bonnie++, iozone, iperf (writing over the wire and to disk) as well as > some more realistic scripts based on the use-case i'm building a > solution for. hope that helps. > I've done iperf just across network IO. I'm getting 4x25 Gb/sec so i'm good there i think (Mellonox Connectx4 ethernet mode). I'll poke around with bonnie++ and iozone. I used bonnie++ once but didn't really get what it was telling me but I really didn't put much into it. Thanks! > -pete > > -- > Pete Wright > pete@nomadlogic.org > @nomadlogicLA >