From owner-freebsd-fs@FreeBSD.ORG Sun Jan 20 19:53:27 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2C70A4DE; Sun, 20 Jan 2013 19:53:27 +0000 (UTC) (envelope-from nicolas@i.0x5.de) Received: from n.0x5.de (n.0x5.de [217.197.85.144]) by mx1.freebsd.org (Postfix) with ESMTP id 12C4D1BF; Sun, 20 Jan 2013 19:53:26 +0000 (UTC) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 3Yq65B40g0z7ySG; Sun, 20 Jan 2013 20:53:18 +0100 (CET) Date: Sun, 20 Jan 2013 20:53:18 +0100 From: Nicolas Rachinsky To: Artem Belevich Subject: Re: slowdown of zfs (tx->tx) Message-ID: <20130120195318.GA24646@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> <20130116073759.GA47781@mid.pc5.i.0x5.de> <20130118112630.GA41074@mid.pc5.i.0x5.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: 887BAE72 X-PGP-Fingerprint: 039E 9433 115F BC5F F88D 4524 5092 45C4 887B AE72 X-PGP-Keys: http://www.rachinsky.de/nicolas/gpg/nicolas_rachinsky.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs 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: Sun, 20 Jan 2013 19:53:27 -0000 * Artem Belevich [2013-01-18 08:20 -0800]: > On Fri, Jan 18, 2013 at 3:26 AM, Nicolas Rachinsky > wrote: > > * Artem Belevich [2013-01-16 00:45 -0800]: > >> On Tue, Jan 15, 2013 at 11:37 PM, Nicolas Rachinsky > >> wrote: > >> >> You may want to update your system to very recent FreeBSD as quite a > >> >> few fixes were recently imported from illumos. Hopefully it will deal > >> >> with the issue. I'm out of ideas otherwise. Sorry. > >> > > >> > Do you mean -CURRENT or -STABLE with very recent? Or just 9.1? > >> > >> -HEAD or -STABLE (-8 or -9). > > > > I have now updated the machine to stable/8 r245541. I have not updated > > the zpool. > > > > But the problem still occurs. Should I update the pool? Or try other > > things first? > > Updating the pool is an irreversible operation. In general I'd > suggest trying less drastic options first. > > Other people suggested that the problem may be just a side effect of > almost-full filesystem. ZFS needs fair amount of unfragmented free > space in order to work efficiently. If that's what's causing your > problem, then one thing to try would be to free enough free space. The > gotcha there is that you need to free up enough contiguous space. > Removing bunch of recently written files may not help as those writes > would happen on already fragmented FS. Removing files written when FS > had a lot of free space may have better chance of freeing contiguous > space. Old snapshots are good candidates for this. It seems, it was too little free space. I copied some data to another machine and deleted it from this zpool (one part was written on the beginning of December, the other one on the beginning of January). I removed no snapshots and no filesystems. After this everything works fine. Thank you all for your efforts! Nicolas -- http://www.rachinsky.de/nicolas