Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2015 19:58:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194513] zfs recv hangs in state kmem arena
Message-ID:  <bug-194513-8-upuBFviO3H@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194513-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194513-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194513

--- Comment #8 from Alan Cox <alc@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194513-8-upuBFviO3H>