Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2013 09:02:23 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Grant Gray <grant@gray.id.au>
Cc:        freebsd-fs@FreeBSD.org, Grant Gray <grant@grantgray.id.au>
Subject:   Re: ZFS livelock / deadlock on pure SSD pool
Message-ID:  <5226CCEF.7090002@FreeBSD.org>
In-Reply-To: <5225BB8C.5050802@gray.id.au>
References:  <522599A9.9070107@grantgray.id.au> <5225AB77.9020208@FreeBSD.org> <5225BB8C.5050802@gray.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
on 03/09/2013 13:35 Grant Gray said the following:
> On 3/09/2013 7:27 PM, Andriy Gapon wrote:
>> arc_lowmem+0x38 kmem_malloc+0xb0

> Thanks for the feedback. Do you think it may be triggered when the ARC is
> evicting pages because it is full, or a genuine low-memory case? The system has
> 32GB of RAM, of which the ARC is typically about 24G (I think).

Given the kmem_malloc -> arc_lowmem call chain it was a KVA shortage.  Probably
because of KVA fragmentation.
Setting KVA size to a value larger than your physical memory size (1.5x or 2x)
may work around this problem.  The cost of the workaround is that some memory
will be used for the additional page table pages.

Some recent changes in head are supposed to help with the KVA fragmentation
problem in general.
-- 
Andriy Gapon



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