Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 20:53:18 +0100
From:      Nicolas Rachinsky <fbsd-mas-0@ml.turing-complete.org>
To:        Artem Belevich <art@freebsd.org>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: slowdown of zfs (tx->tx)
Message-ID:  <20130120195318.GA24646@mid.pc5.i.0x5.de>
In-Reply-To: <CAFqOu6hwms2y%2BP=v%2BuOOEDy_i2B7tuU1V-amTyCw9nvJ7G0t6g@mail.gmail.com>
References:  <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> <CAFqOu6hwms2y%2BP=v%2BuOOEDy_i2B7tuU1V-amTyCw9nvJ7G0t6g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Artem Belevich <art@freebsd.org> [2013-01-18 08:20 -0800]:
> 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130120195318.GA24646>