From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <mark@shell.tuxis.net>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 3F4A865B58
 for <pve-user@lists.proxmox.com>; Wed,  4 Nov 2020 23:45:14 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 331E411C77
 for <pve-user@lists.proxmox.com>; Wed,  4 Nov 2020 23:45:14 +0100 (CET)
Received: from icewarp.tuxis.nl (icewarp.tuxis.net
 [IPv6:2a03:7900:2:0:31:3:104:151])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 8AC9011C6D
 for <pve-user@lists.proxmox.com>; Wed,  4 Nov 2020 23:45:13 +0100 (CET)
DKIM-Signature: a=rsa-sha256; t=1604529907; x=1605134707; s=icewarp; d=tuxis.nl;
 c=relaxed/relaxed; v=1; bh=/NMnYiBmxNImenp3D5ZWXFORxFeC6ff2D3jVlClpdig=;
 h=From:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:In-Reply-To:References;
 b=tDdNtLlCCkKH6OaKBbxAbWpKzLzdc1U6VzIK9EgGG19M/TEwnY0QWtMQal5dGBOU6DKrXfmKZx6L8yLpxoHvCwUlHHmR5KKO9EaK6qUJyCWPkPxF2DQv7g7RZIArB4e6v2Yregm9x/z8q8BysTXdwXejvl36Y6ZSAbSfiYWR1S2MBUvT1DWsDJKIptFFdgldPz3Sgrlozryh7rd4LLJD0lCPoLswzLsaP9WiWdi5QH2+hMA+rHuHTX3/iC2s3xBFIOUFsvg2cYplX1ywpTEdYdNDQkao26h1gWBOTegjlOeT25MiSBcGvlsBaULfKr9AVhqDfA9urxnMKty2oJYSUg==
Received: from shell.tuxis.net ([2a03:7900:2:0:31:3:104:134])
 by icewarp.tuxis.nl (12.1.1 build 4 DEB9 x64) with SMTP (SSL) id
 202011042345062076; Wed, 04 Nov 2020 23:45:06 +0100
Received: (nullmailer pid 17013 invoked by uid 1000);
 Wed, 04 Nov 2020 22:45:06 -0000
Date: Wed, 4 Nov 2020 23:45:06 +0100
From: Mark Schouten <mark@tuxis.nl>
To: Mark Adams via pve-user <pve-user@lists.proxmox.com>
Message-ID: <20201104224506.ux552gi7ahvooolb@shell.tuxis.net>
References: <20201104172141.GH3229@sv.lnf.it>
 <mailman.257.1604510961.377.pve-user@lists.proxmox.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <mailman.257.1604510961.377.pve-user@lists.proxmox.com>
X-Ripe-Handle: MS8714-RIPE
User-Agent: NeoMutt/20170113 (1.7.2)
X-CTCH: RefID="str=0001.0A782F24.5FA32EF2.007E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0";
 Spam="Unknown"; VOD="Unknown"
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.165 Adjusted score from AWL reputation of From: address
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 HEADER_FROM_DIFFERENT_DOMAINS 0.25 From and EnvelopeFrom 2nd level mail
 domains are different
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_NONE                0.001 SPF: sender does not publish an SPF Record
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [tuxis.nl]
Subject: Re: [PVE-User] ZFS 'zpool trim'?
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Wed, 04 Nov 2020 22:45:14 -0000

On Wed, Nov 04, 2020 at 05:28:06PM +0000, Mark Adams via pve-user wrote:
> Can't comment on why it's not enabled by default (or a checkbox maybe when
> creating through the gui?) but just enable autotrim on your ssd pools.
> 
> zpool set autotrim=on POOLNAME

I did this, at first. But then disabled it becuase it slowed down my
storage quite a bit. Might be specific to my setup, but the
trim-kernel-thread took quite some IO according to iotop.


-- 
Mark Schouten     | Tuxis B.V.
KvK: 74698818     | http://www.tuxis.nl/
T: +31 318 200208 | info@tuxis.nl