From owner-freebsd-stable@freebsd.org Thu Nov 28 07:26:55 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 CE4AC1C7B07 for ; Thu, 28 Nov 2019 07:26:55 +0000 (UTC) (envelope-from steven@multiplay.co.uk) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 47Nq2l19Plz4C4d for ; Thu, 28 Nov 2019 07:26:54 +0000 (UTC) (envelope-from steven@multiplay.co.uk) Received: by mail-io1-xd30.google.com with SMTP id u24so26116981iob.5 for ; Wed, 27 Nov 2019 23:26:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U9iUccDpm4uCN5S/lr27t6uxqf8POF6Mhywu4/aEXSU=; b=CIUvymTvujVgYnWILjlS2k9w4R2z6mXHoybO932OkMsHxOYbKKn5hDXzK9ZCmkT0R5 k47cZvkS7AlIxv85NNhmXaMMybyGsCi7PPz/BKGZOHIi8AftArnMzMtpH+UYiBTZf+za AT1274PzCKGR1+U5NIaBgDjb8046PGaCdmr1D2cAnCn5cs3S9J1j7kekoyDfYmTEeQcN PwRQhsMJ6ObWv1m7REhHUicm0f9/uqI5K0itB+jCfqqQCxL4y3Kbc0727DjdN+j6gMWW I9R4RlcmcFowBNLpZXtn7zrleZLQEE61KhF9u4g99blhuQYJnmqteoaZh4zmXnZaNQ44 x71Q== 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=U9iUccDpm4uCN5S/lr27t6uxqf8POF6Mhywu4/aEXSU=; b=HwzWH2Oovg7ma+4Cg9gV522AfIpj86aS+KKFAOv9k+dXbkDw0TYAtGOXKm/ecax+i+ tPWYjoa5w1EFEUYKFOCnLWU9AD0u2rSioVvLbhLMskLn/rGBSBYHjJ5Amg4abXEdfes3 hiEK27NtiCDNfn2Pvr44V8azZSpWeUlcdcmES1ingtK1rENbetIInU7xkrU66I5hodq5 bnOTCqldPPtU5KOSLyvpmopplY+PIe4k4mkWERn+6e5mvvcL39gZ7OLn6N8ka1VivHxF mSwH3nDumdFT6hQ2Jd9orp7n46m22UfmGA5ecltukUVJaIIQoOzEp5Sa1eTd3nW3Qv/2 geeQ== X-Gm-Message-State: APjAAAWz84D766h2yLv765FFp5GwiGDCfOeb9rkioYHxEzQ1XVSmQ8TI OhAkdsyuZfHY1sb5uVzjeSgSxZKzkWut79iUhRcA88FQ X-Google-Smtp-Source: APXvYqxd3I/bhVb4frL0ubI6dmVjWLQPdh3BdbewkzSdEcXY2i+1S4j+pVLM60DpjJ7nuuDb2addzEFbdsRIizIx6/c= X-Received: by 2002:a05:6602:2246:: with SMTP id o6mr17676808ioo.225.1574926013609; Wed, 27 Nov 2019 23:26:53 -0800 (PST) MIME-Version: 1.0 References: <01ca3a41-6cd2-823f-a8c1-30a47a0bbc98@grosbein.net> In-Reply-To: <01ca3a41-6cd2-823f-a8c1-30a47a0bbc98@grosbein.net> From: Steven Hartland Date: Thu, 28 Nov 2019 07:26:42 +0000 Message-ID: Subject: Re: Slow zfs destroy To: Eugene Grosbein Cc: FreeBSD stable X-Rspamd-Queue-Id: 47Nq2l19Plz4C4d X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=multiplay-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=CIUvymTv; dmarc=pass (policy=none) header.from=multiplay.co.uk; spf=pass (mx1.freebsd.org: domain of steven@multiplay.co.uk designates 2607:f8b0:4864:20::d30 as permitted sender) smtp.mailfrom=steven@multiplay.co.uk X-Spamd-Result: default: False [-3.75 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[multiplay-co-uk.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[multiplay-co-uk.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[0.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[multiplay.co.uk,none]; FORGED_SENDER(0.30)[killing@multiplay.co.uk,steven@multiplay.co.uk]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.05)[ip: (-5.99), ipnet: 2607:f8b0::/32(-2.26), asn: 15169(-1.95), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[killing@multiplay.co.uk,steven@multiplay.co.uk]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 28 Nov 2019 07:26:55 -0000 As you mentioned it=E2=80=99s on SSD you could be suffering from poor TRIM performance from your devices if you run gstat -pd you=E2=80=99ll be able t= o get an indication if this is the case. On Thu, 28 Nov 2019 at 06:50, Eugene Grosbein wrote: > Hi! > > Is it normal that "zfs destroy" for one ZVOL with attribute "used" equal > to 2112939808 bytes (~2GB) > takes over two minutes waiting on "tx_sync_done_cv"? The pool is RAID1 > over five SSDs encrypted with GELI > having ZIL and Cache on distinct unencrypted SSD. > > 11.3-STABLE/amd64 r354667. System has 360G RAM and vfs.zfs.arc_max=3D160g= . > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >