On Wed, Nov 26, 2008 at 04:30:59PM +0100, "C. Bergstr?m" wrote:
> Ok. here's a trick question.. So to the best of my understanding zfs 
> turns off write caching if it doesn't own the whole disk.. So what if s0 
> *is* the whole disk?  Is write cache supposed to be turned on or off? 

Actually, ZFS doesn't turn on write caching if it doesn't own the whole
disk.  It leaves it alone.  You can turn it on yourself.

It leaves it alone because it doesn't know if it would be safe to
enable.  If you know that there is nothing on the disk other than ZFS,
you can enable it and ZFS will get the benefit.

> (Haven't check this locally)  Also is it more efficient/better 
> performing to give swap a 2nd slice on the inner part of the disk or not 
> care and just toss it on top of zfs?

Swapfile performance is usually pretty far down on the list of things I
want to optimize.  I'd rather set up for good management and expect that
I won't need high-performance swapfiles.

-- 
Darren
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to