ZFS crashes on heavy threaded environment

Ivan Voras ivoras at freebsd.org
Fri Nov 14 01:52:32 PST 2008


Xin LI wrote:
> Xin LI wrote:
>> Hi, Pawel,
> 
>> We can still reproduce the ZFS crash (threading+heavy I/O load) on a
>> fresh 7.1-STABLE build, in a few minutes:
> 
>> /usr/local/bin/iozone -M -e -+u -T -t 128 -S 4096 -L 64 -r 4k -s 30g -i
>> 0 -i 1 -i 2 -i 8 -+p 70 -C

Yes, this is known.

>> I have included a backtrace output from my colleague who has his hands
>> on the test environment.  Should there is more information necessary
>> please let us know and we wish to provide help on this.
> 
> Further datapoint.  The system used to run with untuned loader.conf, and
> my colleague just reported that with the following loader.conf, the
> problem can be triggered sooner:
> 
> vm.kmem_size_max=838860800
> vm.kmem_size_scale="2"

These two settings only serve to calculate vm.kmem_size, so you could
simply skip them and adjust vm.kmem_size directly.

> The system is running FreeBSD/amd64 7.1-PRERELEASE equipped with 8GB of
> RAM with GENERIC kernel.

You can tune vm.kmem_size to near 2 GB on your machine and OS version.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20081114/ae891896/signature.pgp


More information about the freebsd-stable mailing list