From owner-freebsd-fs@FreeBSD.ORG Fri Jan 18 16:20:14 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 E570FF4E for ; Fri, 18 Jan 2013 16:20:14 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4C4311 for ; Fri, 18 Jan 2013 16:20:14 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id fw7so1100534vcb.6 for ; Fri, 18 Jan 2013 08:20:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=rIRTqlKhtT5UIxfIX8loXRz8bC96UlBEIAIjFFMi9ug=; b=LFFVWTakfpOAdW4YlFCqtfYfaBxN2Tba6SIoCGdbBkoGW/yIb6grhhUXM5MN0rPbDz QiovAzUUMqJvzb+u0XTL+MuUcqniLs1qazUSmxxUHnt1crd3OhGDlCRj7IUZKHVaPshA lLAgDkmUvKBgaCXY3u+MmgsvRx8R2G/CVVS/pFSil/uCH1XIzptW9D36+xpq3mKj5JR0 HU1Gh7sSdvy3ps00dyL+YJanb21djpMkcaQCgRjM9OO2Z0xi6dT7fYRKu+CiFn6XVAhR EvdLMFquQqTLRO+wrcUWkNUldSCf/xAzM/CuaVCABsDxHbpZJyl0GpvK3Au9PxnRsqAi Dq3Q== MIME-Version: 1.0 X-Received: by 10.52.74.38 with SMTP id q6mr9240240vdv.17.1358526008608; Fri, 18 Jan 2013 08:20:08 -0800 (PST) Sender: artemb@gmail.com Received: by 10.220.122.196 with HTTP; Fri, 18 Jan 2013 08:20:08 -0800 (PST) In-Reply-To: <20130118112630.GA41074@mid.pc5.i.0x5.de> References: <20130114094010.GA75529@mid.pc5.i.0x5.de> <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> Date: Fri, 18 Jan 2013 08:20:08 -0800 X-Google-Sender-Auth: 70rmbILCuVZFPnvxl2-xn-17Xew Message-ID: Subject: Re: slowdown of zfs (tx->tx) From: Artem Belevich To: Nicolas Rachinsky Content-Type: text/plain; charset=ISO-8859-1 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: Fri, 18 Jan 2013 16:20:15 -0000 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. Other than that I'm out of ideas. Sorry. --Artem