Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2007 13:25:29 -0700 (PDT)
From:      Simun Mikecin <numisemis@yahoo.com>
To:        peter.schuller@infidyne.com
Cc:        freebsd-fs@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Swapping on ZFS - stability issue
Message-ID:  <855622.76488.qm@web36601.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 



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