Re: Swapping on ZFS - stability issue

From: Simun Mikecin <numisemis_at_yahoo.com>
Date: Sat, 8 Sep 2007 13:25:29 -0700 (PDT)
Peter Schuller wrote:
>> I'll see if I can confirm behavior on a more recent CURRENT. The above was on=20
>> CURRENT:s from 1-2 months ago in both cases.
> Confirmed on CURRENT cvsup:ed today (2007-09-08). However, the speed
> at which swap was filling was much faster - on par with swap on
> non-ZFS. But the machine still effectively froze, save the
> console/ping, after a few seconds.
> Also, I forgot to say this is all on amd64 machines.

Try one of this (depends wheter you need encrypted swap or not):

1. create zvol with 4k blocksize instead of default 8k:
     zfs create -b 4k -V 4g tank/swap
     swapon /dev/zvol/tank/swap

2. use geli encrypted swap with a sectorsize of 4k:
     zfs create -V 4g tank/swap
     geli onetime -s 4096 /dev/zvol/tank/swap
     swapon /dev/zvol/tank/swap.eli



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 
Received on Sat Sep 08 2007 - 18:52:11 UTC

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