[Bug 194513] zfs recv hangs in state kmem arena

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 2 19:58:30 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194513

--- Comment #8 from Alan Cox <alc at FreeBSD.org> ---
I suspect that there are two distinct issues at play here.  I believe that
Andriy has correctly identified a synchronization error in kmem_reclaim(). 
However, the size of the failed allocations, 10 MB, is also interesting.  While
vmem's allocation strategy is better at reducing external fragmentation than
the simplistic "first-fit" strategy that we previously used, it is not immune
to external fragmentation.  Thus, kmem arena may not have 10 MB of contiguous
virtual address space even though there is plenty of free space.

I suggest that you try increasing the kmem arena size to 1.25 or even 1.5 times
the physical memory size and report back on the effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list