Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2024 12:49:04 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        joe mcguckin <joe@via.net>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: ZFS  performance
Message-ID:  <45ED978F-8F7B-408E-90F8-C926CE49C6D5@FreeBSD.org>
In-Reply-To: <163F3799-67B7-42C5-ABED-767DCC6DAC03@via.net>
References:  <163F3799-67B7-42C5-ABED-767DCC6DAC03@via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Feb 2024, at 02:08, joe mcguckin <joe@via.net> wrote:
>=20
> I have a ZFS fileserver running samba- I =E2=80=98m using it as a file =
server and as a Timemachine backup server. TM work but mit is really =
slow.
> Are there speed tweaks for ZFS I can apply.  Does ZFS have perf =
monitoring features I can use to characterize the speed?

Apple's Time Machine is just horrendously slow in general, the host's
file system does not seem to matter at all. If you just copy a regular
file to that SMB share, you should see that it performs well enough.

I am still unsure what it is in Time machine that makes it so slow, but
it sometimes seems to stall completely on very small files, and it can
take minutes (!) to copy just a few kilobytes.

It may help a little to do on the Mac:

sudo sysctl debug.lowpri_throttle_enabled=3D0

but it won't get significantly faster. People should complain to Apple,
but they will probably just say that FreeBSD with Samba is not an
officially supported use case. :)

-Dimitry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45ED978F-8F7B-408E-90F8-C926CE49C6D5>