ZFS livelock / deadlock on pure SSD pool

Andriy Gapon avg at FreeBSD.org
Wed Sep 4 06:03:29 UTC 2013


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


More information about the freebsd-fs mailing list