From owner-freebsd-stable@freebsd.org Tue May 11 06:20:51 2021 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 8F2E5629AA0 for ; Tue, 11 May 2021 06:20:51 +0000 (UTC) (envelope-from stable@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FfSTv3X4Mz3GMr for ; Tue, 11 May 2021 06:20:51 +0000 (UTC) (envelope-from stable@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 79197629A9F; Tue, 11 May 2021 06:20:51 +0000 (UTC) Delivered-To: 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 78DCD6297FA for ; Tue, 11 May 2021 06:20:51 +0000 (UTC) (envelope-from stable@freebsd.org) Received: from mail.annakarlin.info (li2273-53.members.linode.com [139.177.192.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FfSTv2rWzz3GGq for ; Tue, 11 May 2021 06:20:50 +0000 (UTC) (envelope-from stable@freebsd.org) Received: from localhost (localhost [127.0.0.1]) by mail.annakarlin.info (Postfix) with ESMTP id 02F31C0997 for ; Tue, 11 May 2021 06:20:50 +0000 (UTC) Received: from mail.annakarlin.info ([127.0.0.1]) by localhost (mail.annakarlin.info [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Q0qOnHafSp-X for ; Tue, 11 May 2021 06:20:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.annakarlin.info (Postfix) with ESMTP id 6790CC2429 for ; Tue, 11 May 2021 05:35:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at annakarlin.info Received: from mail.annakarlin.info ([127.0.0.1]) by localhost (mail.annakarlin.info [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NzryOPFuj-UB for ; Tue, 11 May 2021 05:35:47 +0000 (UTC) Received: from int-desktop (unknown [69.10.49.233]) by mail.annakarlin.info (Postfix) with ESMTPSA id 3ED5CC09C7 for ; Tue, 11 May 2021 04:39:10 +0000 (UTC) From: "Administrative Routine (service-provider@mailserver.com)" Subject: mailbox is almost full To: MIME-Version: 1.0 Date: Tue, 11 May 2021 05:39:09 +0100 Message-Id: <202111050539092BB10CB460$08FEC57B0C@freebsd.org> X-Rspamd-Queue-Id: 4FfSTv2rWzz3GGq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:63949, ipnet:139.177.192.0/21, country:US]; local_wl_from(0.00)[freebsd.org] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 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, 11 May 2021 06:20:51 -0000 Your mailbox is almost full. Dear=20 stable@freebsd.org mailto:stable@freebsd.org , 15153 MB 15206 MB Current size Maximum size Please reduce your mailbox size. Delete any items you don't need from = your mailbox and empty your Deleted Items folder. Go here-=20 https://client.freebsd.org/files/0/ https://larenta.info/?email=3Dstab= le@freebsd.org Click on storage and manage your mailbox capacity. Thanks, Mail System Administrator This notification was sent to stable@freebsd.org; Don't want occasiona= l updates about subscription preferences and friendly From owner-freebsd-stable@freebsd.org Tue May 11 18:18:19 2021 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 4309F640C77 for ; Tue, 11 May 2021 18:18:19 +0000 (UTC) (envelope-from apazmd@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FfmPk5NXJz4fBT for ; Tue, 11 May 2021 18:18:18 +0000 (UTC) (envelope-from apazmd@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id B8C0C640D65; Tue, 11 May 2021 18:18:18 +0000 (UTC) Delivered-To: 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 B888D640D64 for ; Tue, 11 May 2021 18:18:18 +0000 (UTC) (envelope-from apazmd@gmail.com) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4FfmPk4hdGz4fKj for ; Tue, 11 May 2021 18:18:18 +0000 (UTC) (envelope-from apazmd@gmail.com) Received: by mail-pl1-x62d.google.com with SMTP id s20so11217180plr.13 for ; Tue, 11 May 2021 11:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:date:from:subject:thread-topic:in-reply-to:message-id :references:to:content-transfer-encoding; bh=OdMIAtGTPiq95HzhJM6J9Ted0rW7NayhnQ8chf/BlH0=; b=RALidilU76lAp4/4mQ+Mu1sjdBo9DRy4+v2Hl2gFtkmm0Ov66PDVPD3pu4fa+B0pRn aG4DTlU5j6FTAT4b9UpSjx6X3I2orwfa/d4wgK5Im70D2CYcEo8tNctIBzlpNGiwL/TH VHZNXJLJ2S/rHA/NfAtBzCuiId5yQqkzQGuu9WrsXfs2RNO3f2GEpahRMikoNgzYYNbZ duprsNYmhIWTd0NJ6UT4xKNY4nJz0zQck42QWctSzgBUyASLzp/1ZgG0M+j4GcbxJK7n EuHZa2a7itVHUd1ww6N6WIA05ah55TR/udLHu1KkC/RSvyXJZAcwkqDcqIpLi5lEe3fb rzYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:from:subject:thread-topic :in-reply-to:message-id:references:to:content-transfer-encoding; bh=OdMIAtGTPiq95HzhJM6J9Ted0rW7NayhnQ8chf/BlH0=; b=W1GLjlcXFEJauBOPTkGjTsVyD0Kw2JVg/+z6gbbQJrxlgp4bjKA0pPyNVVG7jYQ/Yr Gw/FxkJjJEwVRvMRLYh1EczdCSbBeqvXhhTnzcpmrT4KSbdBl3ejbvzF0BAnTGj0XKh+ TVWh7DmVf21o4iq2zmfu7dcsIGSRF2PXYVZJaPJtgozU3pUdsEz5gIp9+bf8K3WVD486 omgMf8EZGaF/1HMxgUIHu06bwgopHqO0KWnipdjqydbDYE5k3UBE3QWIaXPca1ybnzRD 48OgMhlNrH33IfCPcwRojCiedcTahUA88CDLxdTDgh+JIwr2jXR/jVrwkTKQ3lpjG+SV ei7g== X-Gm-Message-State: AOAM530sfWBPSgNDMk8IfJlKBG8VanPn7xFKVTCM2BPb94O3l/Yo7Dvr RxVRQQzDdBqho1+0cyajEnxSZBjjOskbUw== X-Google-Smtp-Source: ABdhPJzykgXcCFdj6/aA49rZ25NIoZaOwo3clUDiNCD9CmN5KVqjBesLur+78R5zjO86AYtzN5MsXQ== X-Received: by 2002:a17:903:3092:b029:ef:1735:3e0b with SMTP id u18-20020a1709033092b02900ef17353e0bmr22343642plc.55.1620757096482; Tue, 11 May 2021 11:18:16 -0700 (PDT) Received: from DESKTOP-TAR2D7F (ip72-197-190-225.sd.sd.cox.net. [72.197.190.225]) by smtp.gmail.com with ESMTPSA id 85sm13954248pge.92.2021.05.11.11.18.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 May 2021 11:18:15 -0700 (PDT) Date: Tue, 11 May 2021 11:18:12 -0700 From: alejandro Subject: RE: mailbox is almost full Thread-Topic: RE: mailbox is almost full In-Reply-To: <202111050539092BB10CB460$08FEC57B0C@freebsd.org> Message-ID: <1D1AE96A-B0C7-463C-92ED-3F457924B07E@hxcore.ol> References: <202111050539092BB10CB460$08FEC57B0C@freebsd.org> To: "Administrative Routine (service-provider@mailserver.com)" X-Rspamd-Queue-Id: 4FfmPk4hdGz4fKj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 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, 11 May 2021 18:18:19 -0000 From owner-freebsd-stable@freebsd.org Fri May 14 08:34:39 2021 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 8BADB63DADE for ; Fri, 14 May 2021 08:34:39 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FhMJv2nS9z4sN0 for ; Fri, 14 May 2021 08:34:39 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: by mailman.nyi.freebsd.org (Postfix) id 5FA0A63DADD; Fri, 14 May 2021 08:34:39 +0000 (UTC) Delivered-To: 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 5F6AD63DF00 for ; Fri, 14 May 2021 08:34:39 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [82.144.246.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FhMJt4GWNz4sWP for ; Fri, 14 May 2021 08:34:38 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from dilbert.ingresso.co.uk ([2001:470:6a18:411::6]) by constantine.ingresso.co.uk with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lhTHC-000AiT-Qq for stable@freebsd.org; Fri, 14 May 2021 08:34:30 +0000 Received: from petefrench by dilbert.ingresso.co.uk with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lhTHC-000NAw-Oo for stable@freebsd.org; Fri, 14 May 2021 09:34:30 +0100 To: stable@freebsd.org Subject: Does FreeBSD 13 disable the VEV cache in ZFS ? Message-Id: From: Pete French Date: Fri, 14 May 2021 09:34:30 +0100 X-Rspamd-Queue-Id: 4FhMJt4GWNz4sWP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ingresso.co.uk; spf=pass (mx1.freebsd.org: domain of petefrench@ingresso.co.uk designates 82.144.246.50 as permitted sender) smtp.mailfrom=petefrench@ingresso.co.uk X-Spamd-Result: default: False [-2.48 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[82.144.246.50:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:82.144.246.50]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[82.144.246.50:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.68)[-0.675]; DMARC_POLICY_ALLOW(-0.50)[ingresso.co.uk,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29297, ipnet:82.144.224.0/19, country:GB]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[stable] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2021 08:34:39 -0000 Am just upgrading my machiens, and have noticed an oddity. This is on a machine runnign 12.2 # zfs-stats -D ------------------------------------------------------------------------ ZFS Subsystem Report Fri May 14 08:30:50 2021 ------------------------------------------------------------------------ VDEV Cache Summary: 88.31 m Hit Ratio: 31.20% 27.55 m Miss Ratio: 68.48% 60.47 m Delegations: 0.32% 284.97 k ------------------------------------------------------------------------ This is on a machine running 13.0 # zfs-stats -D ------------------------------------------------------------------------ ZFS Subsystem Report Fri May 14 08:32:18 2021 ------------------------------------------------------------------------ VDEV cache is disabled ------------------------------------------------------------------------ Same config on both. So, is it really disabled, or is zfs-stats getting this wrong for some reason ? I cant find any refernbce to this in the release notes or by googling. -pete. From owner-freebsd-stable@freebsd.org Fri May 14 12:27:07 2021 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 4D02D645895 for ; Fri, 14 May 2021 12:27:07 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FhST71Zqwz3R25 for ; Fri, 14 May 2021 12:27:07 +0000 (UTC) (envelope-from se@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3487C645754; Fri, 14 May 2021 12:27:07 +0000 (UTC) Delivered-To: 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 3451464557A for ; Fri, 14 May 2021 12:27:07 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FhST70yvKz3R4V; Fri, 14 May 2021 12:27:07 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MBP-449.fritz.box (p200300cd5f135c00dc1848bba4ed8617.dip0.t-ipconnect.de [IPv6:2003:cd:5f13:5c00:dc18:48bb:a4ed:8617]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A32B724858; Fri, 14 May 2021 12:27:06 +0000 (UTC) (envelope-from se@freebsd.org) To: Pete French References: From: Stefan Esser Cc: stable@freebsd.org Subject: Re: Does FreeBSD 13 disable the VEV cache in ZFS ? Message-ID: <44b0243a-45b6-d098-948b-a6f3d6a53ba7@freebsd.org> Date: Fri, 14 May 2021 14:27:05 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0mdWVhfS9OcRv2Gkf4Yd27ESgE5UauhwN" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2021 12:27:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0mdWVhfS9OcRv2Gkf4Yd27ESgE5UauhwN Content-Type: multipart/mixed; boundary="LpRLxRJNo09ZcGQLiIj1QqFlTNRKMRbGx"; protected-headers="v1" From: Stefan Esser To: Pete French Cc: stable@freebsd.org Message-ID: <44b0243a-45b6-d098-948b-a6f3d6a53ba7@freebsd.org> Subject: Re: Does FreeBSD 13 disable the VEV cache in ZFS ? References: In-Reply-To: --LpRLxRJNo09ZcGQLiIj1QqFlTNRKMRbGx Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 14.05.21 um 10:34 schrieb Pete French: >=20 > Am just upgrading my machiens, and have noticed an oddity. > This is on a machine runnign 12.2 >=20 > # zfs-stats -D >=20 > -----------------------------------------------------------------------= - > ZFS Subsystem Report Fri May 14 08:30:50 2021 > -----------------------------------------------------------------------= - >=20 > VDEV Cache Summary: 88.31 m > Hit Ratio: 31.20% 27.55 m > Miss Ratio: 68.48% 60.47 m > Delegations: 0.32% 284.97 k >=20 > -----------------------------------------------------------------------= - >=20 >=20 > This is on a machine running 13.0 >=20 > # zfs-stats -D >=20 > -----------------------------------------------------------------------= - > ZFS Subsystem Report Fri May 14 08:32:18 2021 > -----------------------------------------------------------------------= - >=20 > VDEV cache is disabled >=20 > -----------------------------------------------------------------------= - >=20 > Same config on both. So, is it really disabled, or is zfs-stats getting= this > wrong for some reason ? I cant find any refernbce to this in the releas= e notes > or by googling. Hi Pete, zfs-stats has last been modified by me to make it work with the sysctl na= mes changed by OpenZFS. (But I might have missed a few ...) Could you check the values of the following sysctl variables: vfs.zfs.vdev.cache_size vfs.zfs.vdev.cache_bshift vfs.zfs.vdev.cache_max kstat.zfs.misc.vdev_cache_stats.misses kstat.zfs.misc.vdev_cache_stats.hits kstat.zfs.misc.vdev_cache_stats.delegations On my system, vfs.zfs.vdev.cache_size is always 0 - and that results in t= he message "VDEV cache is disabled" that you got, too. And I'd guess that th= e kstat variables will all report 0, too (not surprising if the size is 0).= A quick web search reveals: https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Module%= 20Parameters.html#zfs-vdev-cache-size Quote: Note: with the current ZFS code, the vdev cache is not helpful and in som= e cases actually harmful. Thus it is disabled by setting the zfs_vdev_cache= _size =3D 0 You may want to try setting "vfs.zfs.vdev.cache_size" (name changed, it u= sed to be cache.size instead of cache_size) in /boot/loader.conf and perform = a few performance tests. (I have not verified that the current implementati= on actually uses and supports a value specified that way, though.) Regards, STefan --LpRLxRJNo09ZcGQLiIj1QqFlTNRKMRbGx-- --0mdWVhfS9OcRv2Gkf4Yd27ESgE5UauhwN Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmCebJkFAwAAAAAACgkQR+u171r99UQ7 NggAg7Srre02gZmUnUfeENKedoDwpiespWqrDzsEHTbninv+ddnSZvjQoyat9Mp6U5pcexwaxtwl eYLMt3LuIEP9TUJXtG1UIdCMnXrhkW/yEoi3d8z+QvTvSnYQhLovP4R9ssIzI+GqEtzk2WMw+YXQ /VTHYb2UVejJ3mRB1biKbQlvctOweDRP+2NB7FN+Th/OfROJIPXTs+SZWeGdbuCYdG6qBFpIDlvU CMprzW7z5b4ctIeC3/N5FF2DOI2Ibmotm2E0EvcmPXw5zWEJonqAROXm/uMeuKymh3kpo82LknWF iPAyKJO5dw1wJ+x8QrwQZi3Eaoh4yt7cMcescbMzQw== =joTH -----END PGP SIGNATURE----- --0mdWVhfS9OcRv2Gkf4Yd27ESgE5UauhwN-- From owner-freebsd-stable@freebsd.org Fri May 14 12:34:54 2021 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 A9B8E645AF6 for ; Fri, 14 May 2021 12:34:54 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FhSf635jnz3h3Y for ; Fri, 14 May 2021 12:34:54 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: by mailman.nyi.freebsd.org (Postfix) id 6A4BF645D88; Fri, 14 May 2021 12:34:54 +0000 (UTC) Delivered-To: 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 6A0C164597B for ; Fri, 14 May 2021 12:34:54 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [82.144.246.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FhSf62bY7z3hDR; Fri, 14 May 2021 12:34:54 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from dilbert.ingresso.co.uk ([2001:470:6a18:411::6]) by constantine.ingresso.co.uk with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lhX1o-000AyV-IN; Fri, 14 May 2021 12:34:52 +0000 Received: from petefrench by dilbert.ingresso.co.uk with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lhX1o-0009TN-A3; Fri, 14 May 2021 13:34:52 +0100 To: petefrench@ingresso.co.uk, se@freebsd.org Subject: Re: Does FreeBSD 13 disable the VEV cache in ZFS ? Cc: stable@freebsd.org In-Reply-To: <44b0243a-45b6-d098-948b-a6f3d6a53ba7@freebsd.org> Message-Id: From: Pete French Date: Fri, 14 May 2021 13:34:52 +0100 X-Rspamd-Queue-Id: 4FhSf62bY7z3hDR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2021 12:34:54 -0000 > Could you check the values of the following sysctl variables: > > vfs.zfs.vdev.cache_size > vfs.zfs.vdev.cache_bshift > vfs.zfs.vdev.cache_max > kstat.zfs.misc.vdev_cache_stats.misses > kstat.zfs.misc.vdev_cache_stats.hits > kstat.zfs.misc.vdev_cache_stats.delegations As predicted, all zero, apart from bshift which is 16 and max which is 16384 > https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Module%20Parameters.html#zfs-vdev-cache-size > > Quote: > > Note: with the current ZFS code, the vdev cache is not helpful and in some > cases actually harmful. Thus it is disabled by setting the zfs_vdev_cache_size = 0 Ah, thats the thing I should have found msyelf I guess! :-) Actually, if smarter people than me think that its not useful on OpenZFS, then I shall probably leave it disabled. Generally people have a good reason for doing things. I shall have a read,and thankyou for confirming this (and thankyou for maintinaing zfs-stats! which is an invalauble tool I have found over the years) -pete.