[zfs-discuss] Memory Usage

Robert Milkowski
Tue, 12 Sep 2006 19:11:16 -0000

Hello Thomas,

Tuesday, September 12, 2006, 7:40:25 PM, you wrote:

TB> Hi,

TB> We have been using zfs for a couple of months now, and, overall, really
TB> like it.  However, we have run into a major problem -- zfs''s
memory
TB> requirements
TB> crowd out our primary application.  Ultimately, we have to reboot the
TB> machine
TB> so there is enough free memory to start the application.

What exactly bad behavior did you notice? In general if app needs
memory ZFS should free it - however it doesn''t always work that good
now.

TB> What I would like is:

TB> 1) A way to limit the size of the cache (a gig or two would be fine
TB> for us)

You can''t.

TB> 2) A way to clear the caches -- hopefully, something faster than
TB> rebooting
TB> the machine.

export/import the pool. Eventually export a pool and unload zfs
module.


--
Best regards,
 Robert                            mailto:rmilkowski at task.gda.pl