Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2023 11:13:43 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        dev-commits-src-main@freebsd.org, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: An attempted test of main's "git: 2ad756a6bbb3" "merge openzfs/zfs@95f71c019" possible file odd result
Message-ID:  <6A693136-8F3B-482D-A8B3-4179683061D6@yahoo.com>
In-Reply-To: <28614E14-6C55-4183-9315-A098C392B3AC@yahoo.com>
References:  <F20BD354-2E10-4CD9-88FB-99DB1E405A52.ref@yahoo.com> <F20BD354-2E10-4CD9-88FB-99DB1E405A52@yahoo.com> <c9c5096b-33d9-1cb6-d446-97b99f324fce@FreeBSD.org> <673A446E-6F94-451E-910F-079F678C5289@yahoo.com> <2BDD30B5-6248-4EC3-83C8-0499E0717D1D@yahoo.com> <C78808EB-FDE2-432D-8309-A7017DFC1BCE@yahoo.com> <69028684-c2cd-8f0c-617f-d0763c08dbe4@FreeBSD.org> <8D832756-6754-4D1E-AE8D-E716FE08F747@yahoo.com> <5605506b-5059-fb72-3e5a-741863d54444@FreeBSD.org> <5724006A-F4C4-42CA-98A9-90C5EB914F5E@yahoo.com> <4E888EC8-4B06-4139-90DF-59AFBA700A5F@yahoo.com> <6990186B-E85B-4D64-8202-4B9ECBD876FD@yahoo.com> <28614E14-6C55-4183-9315-A098C392B3AC@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Just FYI:

For the specific machine/storage media combination
used for the openzfs import testing, the following
combination seemed to work well relative to the
subject of the "odd result":

A) /etc/sysctl.conf having "vfs.zfs.per_txg_dirty_frees_percent=30"

B) autotrim off but use of "zpool trim -w zamd64" first, after any
   freeing of space by deleting files. (Probably again after the
   build and any cleanout of the tempprary results.)

C) Avoid having more poudriere builders than hardware threads.

Of course, the combination does not apply to media that does not
have trim accessible (USB3, for example) --and that may not
support trim in some cases (Optane, for example).

By contrast . . .

In a USB3 context, vfs.zfs.per_txg_dirty_frees_percent=30 did
not work well because of the delete sequence when a builder
is to be reused for its next build.
vfs.zfs.per_txg_dirty_frees_percent=5 allowed more overall
progress on that aarch64 system. The big cleanout of all the
builders at the end is not the only consideration in setting
vfs.zfs.per_txg_dirty_frees_percent (for at least some systems).

===
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6A693136-8F3B-482D-A8B3-4179683061D6>