gjournal+geli

2010-09-11 Thread RW

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.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: gjournal+geli

2010-09-11 Thread Adam Vande More
On Sat, Sep 11, 2010 at 9:25 AM, RW rwmailli...@googlemail.com wrote:


 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.


AFAIK, ufs must be on top of gjournal.  Specific changes were made to allow
ufs to be aware of the journal and I think sticking geli in-between would
destroy that relationship.

IME, gjournal is more sensitive to load as the man page also suggests.  I
have one production server with moderate load, and a 5 GB problem.  I think
something like 5 -10 GB journal would be more than enough for almost all
loads, but that's just a guess.  It's easy to test though, just run
blogbench or some other io benchmark for a sustained period of time.  If it
doesn't panic, you're golden.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[GJournal+Geli] Quick question before installation

2010-02-26 Thread Malibu Carl
Hi list

I am new to all these features and I am about to install FreeBSD8.0 from a
USB Drive.

Before I take any further steps, I would like to ask whether is possible to
perform an installation having an encrypted journaled UFS2 filesystem.

As far as I know, I would say it is possible since gjournal and UFS2 operate
on top of geli.

Is this correct?

Thanks in advance and have a nice day.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [GJournal+Geli] Quick question before installation

2010-02-26 Thread Ivan Voras

On 02/26/10 14:40, Malibu Carl wrote:

Hi list

I am new to all these features and I am about to install FreeBSD8.0 from a
USB Drive.

Before I take any further steps, I would like to ask whether is possible to
perform an installation having an encrypted journaled UFS2 filesystem.

As far as I know, I would say it is possible since gjournal and UFS2 operate
on top of geli.

Is this correct?


Yes, you would have this graph of GEOM classes:
DISK - [possibly some partitions or slices] - GELI - GJOURNAL - UFS

GJOURNAL and UFS need to be together, other classes are not position 
sensitive (within reason).


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org