Re: slow ZFS on FreeBSD 8.1

[ Available lists | Index of freebsd-stable | Month of Jan 2011 | Week of 1 Jan 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Peter Jeremy <peterjeremy@acm.org>
Date
1 Jan 2011 00:00:31
Subject
Re: slow ZFS on FreeBSD 8.1
Message-ID
20110101000019.GC48579@server.vk2pj.dyndns.org

In reply to
References to

[ Hide this part ]
On 2010-Dec-30 02:31:30 -0500, Adam Stylinski <kungfujesus06@gmail.com> wrote:
>I can tell you what the problem is right now, actually. ZFS performs
>very poorly on low performance CPUs (i.e. your Atom N330).

I would disagree. In this case, the op's most serious problem is a
bug in
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:arc_memory_throttle()
which is leading to ARC starvation. The direct effect of this is very
poor ZFS I/O performance. It can be identified by very high "inactive"
and possibly "cache" memory (as reported by 'systat -v' or top) as well
as very high kstat.zfs.misc.arcstats.memory_throttle_count

This bug was fixed in r210427 on -current, r211599 on 8.x and
r211623 on 7.x.

> Try the
>same system with a different CPU and you'll get a different result.

Not until the above bug is fixed.

That said, ZFS is far more CPU intensive than UFS and a more powerful
CPU may help - especially if you want gzip compression and/or sha256
checksumming.

--
Peter Jeremy


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.117 seconds