Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2010 20:26:15 +0000
From:      Jonathan Belson <jon@witchspace.com>
To:        Artem Belevich <fbsdlist@src.cx>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: More zfs benchmarks
Message-ID:  <50780815-0D98-4910-B81A-1F41455AC856@witchspace.com>
In-Reply-To: <ed91d4a81002141113m323eb9eyef40f7cbd6427bc5@mail.gmail.com>
References:  <EC10D2E9-04C7-4976-B377-62E79D9BE47A@witchspace.com> <ed91d4a81002141113m323eb9eyef40f7cbd6427bc5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 Feb 2010, at 19:13, Artem Belevich wrote:
> Can you check if kstat.zfs.misc.arcstats.memory_throttle_count sysctl
> increments during your tests?
>=20
> ZFS self-throttles writes if it thinks system is running low on
> memory. Unfortunately on FreeBSD the 'free' list is a *very*
> conservative indication of available memory so ZFS often starts
> throttling before it's really needed. With only 2GB in the system,
> that's probably what slows you down.

I tested a number of times during a 2GB write to a zfs partition and the =
count stayed at 0.

Cheers,

--Jon




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50780815-0D98-4910-B81A-1F41455AC856>