From owner-freebsd-fs@FreeBSD.ORG Tue Jan 29 15:12:10 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CF585933; Tue, 29 Jan 2013 15:12:10 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id 6D4B012D; Tue, 29 Jan 2013 15:12:10 +0000 (UTC) Received: from gprs4f7a62e4.pool.t-umts.hu ([79.122.98.228] helo=unknown) by marvin.harmless.hu with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.75 (FreeBSD)) (envelope-from ) id 1U0CUZ-000HPm-On; Tue, 29 Jan 2013 15:48:55 +0100 Date: Tue, 29 Jan 2013 15:48:52 +0100 From: Gergely CZUCZY To: Nicolas Rachinsky Subject: Re: slowdown of zfs (tx->tx) Message-ID: <20130129154852.000021f1@unknown> In-Reply-To: <20130117093259.GA83951@mid.pc5.i.0x5.de> References: <20130114195148.GA20540@mid.pc5.i.0x5.de> <20130114214652.GA76779@mid.pc5.i.0x5.de> <20130115224556.GA41774@mid.pc5.i.0x5.de> <50F67551.5020704@FreeBSD.org> <20130116095009.GA36867@mid.pc5.i.0x5.de> <50F69788.2040506@FreeBSD.org> <20130117093259.GA83951@mid.pc5.i.0x5.de> Organization: Harmless Digital X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-fs , Andriy Gapon X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 15:12:10 -0000 Hello, Once think we've noticed on our systems, might be unrelated, but still. After heavy usage of dedup, our ZFS pools tended to slow down drastically. The solution was to deallocate and reallocate dedup-enabled filesystems (copying or send/recieving data back and forth). Just an idea, might be unrelated in your case. Best regards, Gergely On Thu, 17 Jan 2013 10:32:59 +0100 Nicolas Rachinsky wrote: > * Andriy Gapon [2013-01-16 14:05 +0200]: > > on 16/01/2013 12:14 Steven Hartland said the following: > > > You only have ~11% free so yer it is pretty full ;-) > > > > just in case, Steve is not kidding. > > > > Those free hundreds of gigabytes could be spread over the terabytes > > and could be quite fragmented if the pool has a history of adding > > and removing lots of files. ZFS could be spending quite a lot of > > time in that case when it looks for some free space and tries to > > minimize further fragmentation. > > > > Empirical/anecdotal safe limit on pool utilization is said to be > > about 70-80%. > > > > You can test if this guess is true by doing the following: > > kgdb -w > > (kgdb) set metaslab_min_alloc_size=4096 > > > > If performance noticeably improves after that, then this is your > > problem indeed. > > I tried this, but I didn't notice any difference in performance. > > Next I'll try the update Artem suggested. > > Thanks > > Nicolas