Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jan 2010 12:45:34 -0600
From:      Richard Todd <rmtodd@ichotolot.servalan.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: ZFS performance degradation over time
Message-ID:  <x7eim7owmp.fsf@ichotolot.servalan.com>
In-Reply-To: <servalan.mailinglist.fbsd-stable/7346c5c61001030842r7dc76199y51e4c1c90a3eea6e@mail.gmail.com> (Garrett Moore's message of "Sun, 3 Jan 2010 11:42:14 -0500")
References:  <7346c5c61001030842r7dc76199y51e4c1c90a3eea6e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Moore <garrettmoore@gmail.com> writes:

> I'm having problems with ZFS performance. When my system comes up,
> read/write speeds are excellent (testing with dd if=/dev/zero
> of=/tank/bigfile and dd if=/tank/bigfile of=/dev/null); I get at least
> 100MB/s on both reads and writes, and I'm happy with that.
>
> The longer the system is up, the worse my performance gets. Currently my
> system has been up for 4 days, and read/write performance is down to about
> 10MB/s at best.
>
> The system is only accessed by 3 clients: myself, my roommate, and our HTPC.
> Usually, only one client will be doing anything at a time, so it is not
> under heavy load or anything.

This could be due to the amount of memory available for ZFS caching declining
as time goes on (for reasons that are not entirely clear, though I suspect
it may be due to increasing fragmentation in the kernel memory).  You might
try doing "sysctl kstat.zfs.misc.arcstats.size" repeatedly to monitor the
amount of memory the ZFS cache is taking up as your system uptime increases.


 




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