From owner-freebsd-questions@FreeBSD.ORG Sat Sep 11 14:26:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2AFF106566C for ; Sat, 11 Sep 2010 14:26:02 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 63CD68FC20 for ; Sat, 11 Sep 2010 14:26:02 +0000 (UTC) Received: by ewy4 with SMTP id 4so2608236ewy.13 for ; Sat, 11 Sep 2010 07:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=2aPQyw7705TLp7ORv5p8eBUXTTecKwxDPH7Qna0W0xg=; b=RRrgRFRMwcxIBpOAQZTUNWS+voOKKAX+3ggmyc64LY64K9yxV8ddNp2fb0dwjtQPnn /UIaTe6baCWj+GQZbFIGx9GX6HWrBS6dBCR3nUiPedQOfz5cBZ3/YZJTTRO1g4Xr5I3E BA/Slx+a74QPX4l/0RbYJmLcsfMxVb1CJugTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=gV4ZUsqiQRPGHPDabEtqhS6gZh8efh9ORpgmvt6UUv91w9KVFRLv7+qGK7M3+Ws9V8 Rdj3OYdMHPqU9qEWx7I42BuI904V+s2zTi2VKWPK8vC74+jUy8jqpex6l/B/HAT2FlsJ 2J0xKM+s7kmy1sTU10bshTFiXIoHAdGA5r1ZA= Received: by 10.213.4.80 with SMTP id 16mr363891ebq.57.1284215161309; Sat, 11 Sep 2010 07:26:01 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id u9sm5798060eeh.5.2010.09.11.07.26.00 (version=SSLv3 cipher=RC4-MD5); Sat, 11 Sep 2010 07:26:00 -0700 (PDT) Date: Sat, 11 Sep 2010 15:25:58 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100911152558.27153c31@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: gjournal+geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2010 14:26:02 -0000 I'm planning to use gjournal+geli on a 2TB drive in a USB enclosure. What I've read about this suggest that the order should be: geli-gjournal-ufs. I was wondering if it's possible to do it in the order gjournal-geli-ufs, which should be much more efficient. I've read that ufs should go directly on gjournal, but I just wanted to check that that is needed. I was also wondering about the journal size, and whether there are any performance optimizations to be made to mitigate the extra encryption/decryption in the journal. The man page suggests a size of at least 2xmemory which would be 2x1.5GB now, or maybe 2x16GB to allow for potential upgrades. It seems very large. The disk will hold fairly static data so it will be mostly be long sustained writes as files are copied in. Currently coping from geli to geli with soft-updates is slightly cpu limited.