Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2017 18:51:42 +0000
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: Check status of background destroy
Message-ID:  <20170104185142.GB95857@in-addr.com>
In-Reply-To: <CAOjFWZ55AOeURtzeOZX_oR%2BJ=exm-9pUnHi9%2BSFcVVNkxm2n3A@mail.gmail.com>
References:  <CAOjFWZ4S42mebL15iT8=TLcfvabBWeUdLDzi_d3WfhKTpuGdOw@mail.gmail.com> <CAGMYy3uU6bUfjufXFQXbNT2krnRnOj-YC2069ep_2tNjDJuw4A@mail.gmail.com> <CAOjFWZ55AOeURtzeOZX_oR%2BJ=exm-9pUnHi9%2BSFcVVNkxm2n3A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 04, 2017 at 10:48:28AM -0800, Freddie Cash wrote:
> On Wed, Jan 4, 2017 at 10:43 AM, Xin LI <delphij@gmail.com> wrote:
> 
> > Try setting vfs.zfs.free_max_blocks to 100000 (this is an arbitrary
> > number, can be larger, limits maximum blocks being freed per txg; see
> > https://svnweb.freebsd.org/base?view=revision&revision=271532 for
> > details).
> >
> > You can inspect the progress with DTrace by looking at zfs-dbgmsg.
> >
> 
> ???Forgot to mention, this server is running 64-bit FreeBSD 9.3-p5.???  That
> sysctl OID doesn't exist.
> 
> ???From the sounds of the comments on that revision, this would probable be a
> useful feature to have.
> 
> I'll have to see about upgrading this system (there's a separate pool for
> the OS), I guess.
> 
> Which FreeBSD version(s) include that feature?  Would 10.3 be okay, or
> would I have to go all the way to 11.0?

The sysctl is in 10.3

$ uname -r
10.3-RELEASE-p15
$ sysctl -d vfs.zfs.free_max_blocks
vfs.zfs.free_max_blocks: Maximum number of blocks to free in one TXG
$ sysctl vfs.zfs.free_max_blocks
vfs.zfs.free_max_blocks: 18446744073709551615
$ 

Regards,

Gary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170104185142.GB95857>