Re: ZFS and UFS on the same box. Cache memory allocation issue.

From: Emil Mikulic <emikulic_at_gmail.com>
Date: Fri, 18 Dec 2009 21:15:22 +1100
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
Received on Fri Dec 18 2009 - 09:15:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC