Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2013 08:20:08 -0800
From:      Artem Belevich <art@freebsd.org>
To:        Nicolas Rachinsky <fbsd-mas-0@ml.turing-complete.org>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: slowdown of zfs (tx->tx)
Message-ID:  <CAFqOu6hwms2y%2BP=v%2BuOOEDy_i2B7tuU1V-amTyCw9nvJ7G0t6g@mail.gmail.com>
In-Reply-To: <20130118112630.GA41074@mid.pc5.i.0x5.de>
References:  <20130114094010.GA75529@mid.pc5.i.0x5.de> <CAFqOu6hxfGt_M6Jo9qWeifDz9YnNc_Bd9H-GEe4RYtutaPvH5w@mail.gmail.com> <20130114195148.GA20540@mid.pc5.i.0x5.de> <CAFqOu6jwJ4qhbOovN_NhzusdQJvrbvUC3g93sziR=Uw99SGenw@mail.gmail.com> <20130114214652.GA76779@mid.pc5.i.0x5.de> <CAFqOu6jKX-Ks6C1RK5GwZ51ZVUSnGSe7S99_EfK%2BfwLPjAFFYw@mail.gmail.com> <20130115224556.GA41774@mid.pc5.i.0x5.de> <CAFqOu6jJnWdbikPmE1-UML5i_x7meF%2BiyY=9WBRyv2j7AeOaSg@mail.gmail.com> <20130116073759.GA47781@mid.pc5.i.0x5.de> <CAFqOu6j1T1gntgUm6eS1FZZAjoVyZH%2Beq7HAduDsOA36rJ%2BKhA@mail.gmail.com> <20130118112630.GA41074@mid.pc5.i.0x5.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 18, 2013 at 3:26 AM, Nicolas Rachinsky
<fbsd-mas-0@ml.turing-complete.org> wrote:
> * Artem Belevich <art@freebsd.org> [2013-01-16 00:45 -0800]:
>> On Tue, Jan 15, 2013 at 11:37 PM, Nicolas Rachinsky
>> <fbsd-mas-0@ml.turing-complete.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFqOu6hwms2y%2BP=v%2BuOOEDy_i2B7tuU1V-amTyCw9nvJ7G0t6g>