From owner-freebsd-current@FreeBSD.ORG Sat Sep 8 20:52:11 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15B0B16A41B for ; Sat, 8 Sep 2007 20:52:11 +0000 (UTC) (envelope-from numisemis@yahoo.com) Received: from web36601.mail.mud.yahoo.com (web36601.mail.mud.yahoo.com [209.191.85.18]) by mx1.freebsd.org (Postfix) with SMTP id A9FF613C442 for ; Sat, 8 Sep 2007 20:52:10 +0000 (UTC) (envelope-from numisemis@yahoo.com) Received: (qmail 77579 invoked by uid 60001); 8 Sep 2007 20:25:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=nhBme3EjiTbHIi2/R+8PjfpKQ7K4yhRBOJEEfjNQg0GdAa+oV57/ra8gBciVjBnxbsTktrKeUktBkCcVLjQSswMOgdHgCQvOIz82QCjPUZRRwUc75rwkg8cuhDHe3Oyfr7zT9Xc2B8LcYFSOgFhFQ1QDM8CUi/8yYImM7AgXWz4=; X-YMail-OSG: RjcnoukVM1n.zOCFGoVJDRBbXTwct25rR84HcM6DCcxRfYRz.Dct9QXGPupedBY7GUtIJ8QsISN7UtukLgAIXGFmHU4R4yKZbMQOa_m.AVkYPuQ.trYR80pgJ8l_XA-- Received: from [85.10.53.18] by web36601.mail.mud.yahoo.com via HTTP; Sat, 08 Sep 2007 13:25:29 PDT Date: Sat, 8 Sep 2007 13:25:29 -0700 (PDT) From: Simun Mikecin To: peter.schuller@infidyne.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <855622.76488.qm@web36601.mail.mud.yahoo.com> X-Mailman-Approved-At: Fri, 14 Sep 2007 11:00:11 +0000 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: Swapping on ZFS - stability issue X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2007 20:52:11 -0000 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