From owner-freebsd-fs@freebsd.org Sat May 23 20:11:46 2020 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51B3E2DCD18 for ; Sat, 23 May 2020 20:11:46 +0000 (UTC) (envelope-from wfc@mintsol.com) Received: from scully.mintsol.com (scully.mintsol.com [199.182.77.206]) by mx1.freebsd.org (Postfix) with ESMTP id 49TvdX5g6Nz4bBq for ; Sat, 23 May 2020 20:11:44 +0000 (UTC) (envelope-from wfc@mintsol.com) Received: from mintsol.com (officecc.mintsol.com [96.85.114.33]) by scully.mintsol.com with esmtp; Sat, 23 May 2020 16:11:37 -0400 id 00B0182B.000000005EC98379.00003A12 Received: from localhost (localhost [127.0.0.1]) (IDENT: uid 1002) by mintsol.com with esmtp; Sat, 23 May 2020 16:11:38 -0400 id 00000A09.5EC9837A.00017B19 Date: Sat, 23 May 2020 16:11:38 -0400 (EDT) From: Walter Cramer To: Miroslav Lachman <000.fbsd@quip.cz> cc: "freebsd-fs@freebsd.org" Subject: Re: ZFS on FreeBSD 11.3 slower than 10.4 In-Reply-To: <1ff455a5-d111-86fa-ceb1-1021b6d9a5b6@quip.cz> Message-ID: <20200523155301.U91902@mulder.mintsol.com> References: <1ff455a5-d111-86fa-ceb1-1021b6d9a5b6@quip.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49TvdX5g6Nz4bBq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wfc@mintsol.com designates 199.182.77.206 as permitted sender) smtp.mailfrom=wfc@mintsol.com X-Spamd-Result: default: False [-2.72 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.03)[-1.030]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:scully.mintsol.com]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[mintsol.com]; NEURAL_HAM_LONG(-1.00)[-0.996]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22768, ipnet:199.182.77.0/24, country:US] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 20:11:46 -0000 On Sat, 23 May 2020, Miroslav Lachman wrote: > I upgraded my old desktop computer few month ago from old 10.4 based PC-BSD > to stock FreeBSD 11.3. It uses single 2TB HDD 7200rpm. > My problem is that upgraded version is really slow and some desktop > applications are very lagging (playing multimedia is interrupted for a > fraction of seconds) when there is heavy filesystem activity. > > I am using zfsnap2 for taking snapshots periodically and when there is enough > snapshots zfs destroy is called. In this time the user experience is > terrible. Starting new application like browser or even something much > smaller takes minutes. The old version based on FreeBSD 10.4 behaves much > better. I used the old version for years and never have problems with > interrupted multimedia playback. > > Are there some sysctls to tune to get better desktop interactivity in heavy > filesystem operations like zfs destroy, pkg check or other "find" periodic > scripts? > > Kind regards > Miroslav Lachman > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" Does `top` or `vmstat` show that Free Memory is quite low when you are experiencing the problem? We had ARC / Free Memory performance problems with 11.X, and found that setting the sysctl "vfs.zfs.arc_max" much lower was necessary.