From nobody Fri Feb 16 11:49:04 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 4Tbqw426Zbz5BgdZ for ; Fri, 16 Feb 2024 11:49:08 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tbqw41Y3Dz4NDS; Fri, 16 Feb 2024 11:49:08 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708084148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m/Ei96nUWl7SfzARQgLI2E9f8MVZPtNML69wiDkhIUQ=; b=sf9WFG/z2Uk2EVR+fmG7cA+7emAzAD4ugLmWty5Np0Nr1IEw9cjabOAlX4HTkYlUaYxKU1 Mz1/XA5tyetvIDqpXCEQ/JHEsV3LVgSJC1YYCvhQH9oTKlsn3dChD63tuo1vsVjEuDvIiR T3FDzGmdqZYjnwSX5o4i+Im1Vgf7vd56tCC1jcWASrOacPZ2Y4lQjvQzphzjqU0ARuVJ9m 05Taqjek7UnEdGGCADLfT+Ai1Cc8Vv+jMr6VYQYDbvY5qfs/8XqTTw1YshnuXWRBIpyw7R R3PJWfq7CBMObvvcuh0Qj9hWVnyuG/Q/aVVlQvS71SR++pJegamzxqISr1brhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708084148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m/Ei96nUWl7SfzARQgLI2E9f8MVZPtNML69wiDkhIUQ=; b=xBIyKYNVZi1zt+h2HnSoiPkiZoTqOm4dqwE7+ntweZOM+ycLGY9ygFv7xrv7DtEzWlsmDj QdPuk5V7WPFBI5udiyo3mtE5WYlmAHtTSgmdODRYY2sN4oOiMj94NhqpExq6KF+y8E2IxW yCwtgFOOzvqW/MPBEIuJFKj5VIwEP6hlMP3hlpOP20R6LVqCJNTzW4rKPKfIazb1QlNXiu Kx5mATuv1UReyw4p+kdwjy19+a972V3KoerWZrVIkf8B0od7ZMOWGiveVADzho1d9Vy8ux BAiJrjMUVwEgIVy7/HNrNZcQHAFM3tQtNwGjZBuD528UM+lgWwSznh5GITB4fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708084148; a=rsa-sha256; cv=none; b=AoS1RkAsEefDeYGegnPdh6II2GcgXqZAXUjtuS4gxcPVfpuOAZc/FygCdWo9YWbm/JoETR bZbN6O/lz2IIx0X8IToJj1VHETA2A3efFh7mwa7urjQLw6Dk+yFACPvN4ZJYVscNjRi0G/ R98CJmsaJbjCpa0y/6ko54H8VUTzjh8vqvmMtACAa4TPCO7d4IJLk65DGp+4jP1rXtJ805 SsNjRsd8qODV47S7eWJCnDs/C36UItAktNJ+7zebC/VJwowmN1pM/f86BcSclEFi3kUp2C vuFfcuQSzSbU5RrNIWVcMFmrhiDsBIziKil4zDEPiykzS2Y5VbrvxDRBZy2Vgg== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Tbqw371jrzHXq; Fri, 16 Feb 2024 11:49:07 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 685B7680FE; Fri, 16 Feb 2024 12:49:05 +0100 (CET) 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 \(3731.700.6.1.1\)) Subject: Re: ZFS performance From: Dimitry Andric In-Reply-To: <163F3799-67B7-42C5-ABED-767DCC6DAC03@via.net> Date: Fri, 16 Feb 2024 12:49:04 +0100 Cc: freebsd-fs Content-Transfer-Encoding: quoted-printable Message-Id: <45ED978F-8F7B-408E-90F8-C926CE49C6D5@FreeBSD.org> References: <163F3799-67B7-42C5-ABED-767DCC6DAC03@via.net> To: joe mcguckin X-Mailer: Apple Mail (2.3731.700.6.1.1) 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? 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