zfs + uma

2010-09-17 Thread Andriy Gapon
I've been investigating interaction between zfs and uma for a while. You might remember that there is a noticeable fragmentation in zfs uma zones when uma use is not enabled for actual data/metadata buffers. I also noticed that when uma use is enabled for data/metadata buffers (zio.use_uma=1) amo

Re: zfs + uma

2010-09-17 Thread Andriy Gapon
on 17/09/2010 15:30 Andre Oppermann said the following: > Having a general solutions for that is appreciated. Maybe the size > of the free per-cpu buckets should be specified when setting up the > UMA zone. Of certain frequently re-used elements we may want to > cache more, other less. This kind

Nanobsd - Freebsd7.2 - Can't enable core dump

2010-09-17 Thread Alex Coulson
I have a soekris net4801 running nanobsd which is freezing randomly (between 10min->2hours), and does not create a crash dump file when it fails (and nothing interesting in the messages log). The following kernel options are enabled: > makeoptions DEBUG=-g > options KDTRACE_HOOKS

Re: zfs + uma

2010-09-17 Thread Andre Oppermann
On 17.09.2010 10:14, Andriy Gapon wrote: I've been investigating interaction between zfs and uma for a while. You might remember that there is a noticeable fragmentation in zfs uma zones when uma use is not enabled for actual data/metadata buffers. I also noticed that when uma use is enabled fo

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-17 Thread John Baldwin
On Thursday, September 16, 2010 11:24:29 pm Benjamin Kaduk wrote: > On Thu, 16 Sep 2010, John Baldwin wrote: > > > On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: > > > >> The mtx_owned(9) macro uses this property, mtx_owned() does not use > >> anything > >> special to compare

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-17 Thread Andrey Simonenko
On Thu, Sep 16, 2010 at 02:16:05PM -0400, John Baldwin wrote: > On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: > > > "Current" value means that the value of a variable read by one thread > > is equal to the value of this variable successfully updated by another > > thread by the

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-17 Thread John Baldwin
On Friday, September 17, 2010 1:42:44 pm Andrey Simonenko wrote: > On Thu, Sep 16, 2010 at 02:16:05PM -0400, John Baldwin wrote: > > On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: > > > The mtx_owned(9) macro uses this property, mtx_owned() does not use > > > anything > > > spe

Re: ar(1) format_decimal failure is fatal?

2010-09-17 Thread Benjamin Kaduk
On Sun, 29 Aug 2010, Jilles Tjoelker wrote: On Sat, Aug 28, 2010 at 07:08:34PM -0400, Benjamin Kaduk wrote: [...] building static egacy library ar: fatal: Numeric user ID too large *** Error code 70 This error appears to be coming from lib/libarchive/archive_write_set_format_ar.c , which see