From owner-freebsd-questions@freebsd.org Mon Feb 10 08:45:54 2020 Return-Path: Delivered-To: freebsd-questions@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 D6A3C232683 for ; Mon, 10 Feb 2020 08:45:54 +0000 (UTC) (envelope-from eriklauritsen@yandex.com) Received: from forward501j.mail.yandex.net (forward501j.mail.yandex.net [5.45.198.251]) (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 48GKHj3Nz0z49Qd for ; Mon, 10 Feb 2020 08:45:53 +0000 (UTC) (envelope-from eriklauritsen@yandex.com) Received: from mxback23g.mail.yandex.net (mxback23g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:323]) by forward501j.mail.yandex.net (Yandex) with ESMTP id 4E6A53380786 for ; Mon, 10 Feb 2020 11:45:50 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback23g.mail.yandex.net (mxback/Yandex) with ESMTP id rrh1zJXnEU-jnPCbcGW; Mon, 10 Feb 2020 11:45:49 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1581324349; bh=B1AQQvH6v+yselYi6tmivbZ6sotP+qdzYZlO3RDOlzY=; h=References:Date:Message-Id:Subject:In-Reply-To:To:From; b=bhXwzPqfpukpHjkG7GSEUOhWSZZEjt7sOZU6vYqieqVIHf455sayKnsIM43gklzSh LT9JH57nkdDF7wdqHzfi1QERwftuyb2mrKjBEamBHv0z5ZgJ17Q4SQ0VXbpK8uPDWD DVDtu7s2p+l0fC2BDviebypwrsVSiOLybfbWA0Jk= Received: by sas2-2d551da8e887.qloud-c.yandex.net with HTTP; Mon, 10 Feb 2020 11:45:49 +0300 From: Erik Lauritsen To: freebsd-questions@freebsd.org In-Reply-To: <20200210074555.7f409476708f05bd10c1efb0@sohara.org> References: <17394471581319158@vla1-b55dfea406f0.qloud-c.yandex.net> <20200210074555.7f409476708f05bd10c1efb0@sohara.org> Subject: Re: Bad ZFS performance on the desktop MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 10 Feb 2020 08:45:49 +0000 Message-Id: <38784851581324349@sas2-2d551da8e887.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Rspamd-Queue-Id: 48GKHj3Nz0z49Qd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.com header.s=mail header.b=bhXwzPqf; dmarc=pass (policy=none) header.from=yandex.com; spf=pass (mx1.freebsd.org: domain of eriklauritsen@yandex.com designates 5.45.198.251 as permitted sender) smtp.mailfrom=eriklauritsen@yandex.com X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.com:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.45.192.0/19]; FREEMAIL_FROM(0.00)[yandex.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.com:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.com,none]; IP_SCORE(0.00)[ipnet: 5.45.192.0/18(-4.86), asn: 13238(-3.83), country: RU(0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[251.198.45.5.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yandex.com]; ASN(0.00)[asn:13238, ipnet:5.45.192.0/18, country:RU]; MIME_TRACE(0.00)[0:+] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2020 08:45:54 -0000 > On Mon, 10 Feb 2020 07:19:18 +0000 > Erik Lauritsen wrote: > >> I have monitored ZFS using 'top' and can see that it never eats >> more than half of my memory, so it's not because I'm out of >> memory. > > Is there any sign of swap activity ? This sounds a lot like swap > thrashing. There is no swap activity. I have 16 GB in the box and the ARC is set to 10GB, but it never reaches that. Also top shows that the swap is free all the time: Swap: 2048M Total, 2048M Free >> I'm thinking about getting a couple of SSDs, but then again I use >> backup meticulously and perhaps ZFS on a single drive or just UFS >> is better for the desktop? > > I'm using ZFS on a single SSD for boot (with everything important > mounted from a NAS running a bunch of mirrors), it's fast but I did have to > set vfs.zfs.arc_max in /boot/loader.conf (to 2GB on my 8GB machine) in > order to stop browsers thrashing swap. > -- > Steve O'Hara-Smith > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"