Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2009 21:15:22 +1100
From:      Emil Mikulic <emikulic@gmail.com>
To:        Alexander Zagrebin <alexz@visp.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS and UFS on the same box. Cache memory allocation issue.
Message-ID:  <20091218101522.GD71197@dmr.ath.cx>
In-Reply-To: <398F182D4FC14D43A1CFD89C4D69817C@vosz.local>
References:  <398F182D4FC14D43A1CFD89C4D69817C@vosz.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 18, 2009 at 11:49:47AM +0300, Alexander Zagrebin wrote:
> As result UFS returns memory to "free" pool and ZFS can allocate it for ARC.
> It significantly increases ZFS performance.
> 
> Is there an another workaround?

I use: (cd /somefs && sudo umount /somefs)

The umount fails, but it does clear the buffer cache!  Memory reported
as "inactive" by top decreases.  I find this to be a really handy trick
when benchmarking I/O.  ;)

Unfortunately, it doesn't work on the root filesystem.

--Emil



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