all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Marco Gaiarin <gaio@sv.lnf.it>
To: pve-user@lists.proxmox.com
Subject: Re: [PVE-User] ZFS 'zpool trim'?
Date: Fri, 6 Nov 2020 12:43:11 +0100	[thread overview]
Message-ID: <20201106114311.GF4137@sv.lnf.it> (raw)
In-Reply-To: <20201104224506.ux552gi7ahvooolb@shell.tuxis.net>

Mandi! Mark Schouten
  In chel di` si favelave...

> > 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.

Exactly, i've read also that, that also 'match' with what 'normally' i
know on trim: apart some specific usage case, doing an automatic trim
could be a slowdown, and is preferable to schedule a
daily/weekly/monthly task, based on usage profiles, to do a trim.

It seems strane to me that debian/Proxmox does not have a 'framework'
(apart /etc/cron.d/zfsutils-linux; i meant something like a predefined
systemd unit) for that.


A crontab will suffices. ;-)

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



      reply	other threads:[~2020-11-06 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04 17:21 Marco Gaiarin
     [not found] ` <mailman.257.1604510961.377.pve-user@lists.proxmox.com>
2020-11-04 22:45   ` Mark Schouten
2020-11-06 11:43     ` Marco Gaiarin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201106114311.GF4137@sv.lnf.it \
    --to=gaio@sv.lnf.it \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal