Date: Wed, 29 Aug 2018 13:19:40 +0200 From: Yamagi Burmeister <lists@yamagi.org> To: rainer@ultra-secure.de Cc: lev@freebsd.org, freebsd-fs@freebsd.org, MacCrest@gmail.com, owner-freebsd-fs@freebsd.org Subject: Re: ZFS (ARC) performance regression in r321610 Message-ID: <20180829131940.7ca6ccb23035eee6808119fb@yamagi.org> In-Reply-To: <1c816966fbe698f0497df231139f9a05@ultra-secure.de> References: <20180827154727.80f92fff9bbc931b37928d43@yamagi.org> <3c6f8c96-6ac9-7257-c8c0-8be2063a7c19@FreeBSD.org> <1c816966fbe698f0497df231139f9a05@ultra-secure.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Wed__29_Aug_2018_13_19_40_+0200_BZT9N58_+8NNCZMT Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, my patch was committed this morning. If you're on 12-CURRENT you can just set vfs.zfs.abd_scatter_enabled to 0. On other branches the easiest way to make the change permanent is to edit sys/cddl/contrib/opensolaris/uts/common/fszfs/abd.c and change zfs_abd_scatter_enabled (on 11.2 it's in line 141) from B_TRUE to B_FALSE. Then rebuild the kernel, reboot and you're done. Regards, Yamagi On Wed, 29 Aug 2018 11:45:45 +0200 rainer@ultra-secure.de wrote: > Am 2018-08-27 16:19, schrieb Lev Serebryakov: > > On 27.08.2018 16:47, Yamagi Burmeister wrote: > >=20 > >> With this program I was able to bisect the source and identify commit > >> r321610 (MFV r318946: 8021 ARC buf data scatter-ization) as the=20 > >> culprit: > >> https://svnweb.freebsd.org/base?view=3Drevision&revision=3D321610 > > You could try to set "zfs_abd_scatter_enabled =3D 0" via kgdb and repe= at > > tests to be sure, that this code is a problem. > >=20 > > BTW, it is not clear, that FreeBSD needs this at all. >=20 >=20 > Hi, >=20 > how exactly do I do this? >=20 >=20 >=20 > Best Regards > Rainer --=20 Homepage: https://www.yamagi.org Github: https://github.com/yamagi GPG: 0x1D502515 --Signature=_Wed__29_Aug_2018_13_19_40_+0200_BZT9N58_+8NNCZMT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEOXu/lxyufwz0gC5x6xRy5x1QJRUFAluGgU0ACgkQ6xRy5x1Q JRXqdw/6AzHoyR1N5zV+K9FVlEfytIN5KWTLgKh6S+N24RUQtoUzm0ElMuKupBPr 4vAnpC4U7ZDxPvN1h0wEiDSlfPSTOEV9a46v3xZ4FEdi8RFulOcskTvPRIdQ8rxK 3GquuJZjXo9O7hglDGpWd1BHr7Az1BaR3lASAtpeqw7vMwPe6GVwn+A7dvWZaAAq dSZLL2NppZSXq9HrAtOwF8Yq4sYpIWNqLjeTmrXPSadaGhFoCy48bprOBkY0faXY Tbevg5poK7CAtIU6UdryZ5j8zrApLVw8994OI7WwXSDUaT2VwY1U1ivPB2QVCcqf gE+mhrpfPh+YO895yY4gIGiqEyc7FPQUO6Yk3SX8xWEaR43TOm6bZEGCJUBz51zN mvkxjj/WhDjBKpE9390JLKOdmNh0F9XYI8gG/PRAfJonm+FSe/s682u3H/BWwowW qljN5uQbXANgPWCjXOUiMYvel+Typyv3kQJXHOh7amvpdq/1wkNi7APUymmFtbv2 y759s5Qb5TWfhFvyp3wp0NRk6sz2J9FV0gl9Jprw+CHd4RiFOK4iOttz+K7vNgHB C5yDi4m4cA+GLlOGs91NFIABBk1P1Yl100hAi3VYiSdpGRB0Qs2pAOd+7IoN8Tfc YQgEaWk4GLPsgaICVtVqcYT3Aqkxx4IyYjOvqgBnxHormW0469A= =Z0vH -----END PGP SIGNATURE----- --Signature=_Wed__29_Aug_2018_13_19_40_+0200_BZT9N58_+8NNCZMT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180829131940.7ca6ccb23035eee6808119fb>