From nobody Fri Feb 16 18:04:48 2024 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tc0Fm4lbgz53xnx for ; Fri, 16 Feb 2024 18:05:00 +0000 (UTC) (envelope-from spork@bway.net) Received: from smtp1.bway.net (smtp1.bway.net [216.220.96.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tc0Fm1dFyz40VQ; Fri, 16 Feb 2024 18:05:00 +0000 (UTC) (envelope-from spork@bway.net) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (pool-71-187-164-80.nwrknj.fios.verizon.net [71.187.164.80]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: spork@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id 69F532BCE3; Fri, 16 Feb 2024 13:04:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1708106698; bh=cmB3LOhk3YPYTnYQI26cABHsvMPGuvVye1BhwBd1HK0=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=V3vPDmxCpBEjWvGJwqD2J6xU4uglliimHJNu8eQPZ+ol4Vr0rdi7cRmp7ZhUiHtoD xPmqdhHidVb/MBQoRZFELyDQ63imu1R1T61AB68ePAKz3aFsGg/HkQbJb5p42JqrJX 9AwgWVp9x1J+dryvuiyzhX7oWXAQQTmFvvR1RMWU= Content-Type: text/plain; charset=utf-8 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: ZFS performance From: Charles Sprickman In-Reply-To: <45ED978F-8F7B-408E-90F8-C926CE49C6D5@FreeBSD.org> Date: Fri, 16 Feb 2024 13:04:48 -0500 Cc: joe mcguckin , freebsd-fs Content-Transfer-Encoding: quoted-printable Message-Id: References: <163F3799-67B7-42C5-ABED-767DCC6DAC03@via.net> <45ED978F-8F7B-408E-90F8-C926CE49C6D5@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3774.400.31) X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Tc0Fm1dFyz40VQ X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8059, ipnet:216.220.96.0/19, country:US] > On Feb 16, 2024, at 6:49=E2=80=AFAM, Dimitry Andric = wrote: >=20 > On 16 Feb 2024, at 02:08, joe mcguckin 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? >=20 > 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. Also not even sure I'd be poking at ZFS at all here - all the stuff I = saw about improving TM performance has always focused on bizarre little = tweaks to samba, not the underlying filesystem... Charles >=20 > 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. >=20 > It may help a little to do on the Mac: >=20 > sudo sysctl debug.lowpri_throttle_enabled=3D0 >=20 > 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. :) >=20 > -Dimitry >=20 >=20