Re: svnd questions (encrypting all of a partition or disk)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Aaron Stellman
Date: Sunday, July 20, 2008 - 12:22 pm

On Sat, Jul 19, 2008 at 11:58:11AM -0500, Marco Peereboom wrote:
Hello Marco,

Greatly appreciate your work on softraid(4). I've decided to play around
with Crypto discipline w/ softraid, created 60GB partition in the
disklabel, marked it as RAID:

  n:        117194175        195382530    RAID                   

then created the softraid0 device, backup by sd0n:

scsibus2 at softraid0: 1 targets, initiator 1
sd1 at scsibus2 targ 0 lun 0: <OPENBSD, SR CRYPTO, 002> SCSI2 0/direct
fixed
sd1: 57223MB, 7294 cyl, 255 head, 63 sec, 512 bytes/sec, 117194096 sec
total

Everything seems fine, performance is not bad at all, ~4% higher than
svnd0 on the same box. (could be the difference of Blowfish_CBC vs
AES_XTS). However, when playing with tools like bonnie++, my T61 w/
2.4GHZ duo becomes barely responsive. But, it's perfectly understandable,
writing massive amounts of data to crypto backed device with putc() is 
insane.

Now, on boot, the softraid0 doesn't attach itself to sd0n, perhaps not
implemented yet? I was wondering if there were any plans to create
support for crypto devices so that they could be mounted on boot as
specified in fstab(5).

Also, is there any plans to be able  to specify which key size you'd 
want to use with AES_XTS?

Thank you.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
svnd questions (encrypting all of a partition or disk), Jonathan Thornburg, (Sat Jul 19, 9:04 am)
Re: svnd questions (encrypting all of a partition or disk), Marco Peereboom, (Sat Jul 19, 9:58 am)
Re: svnd questions (encrypting all of a partition or disk), Jonathan Thornburg, (Sun Jul 20, 3:00 am)
Re: svnd questions (encrypting all of a partition or disk), Aaron Stellman, (Sun Jul 20, 12:22 pm)
Re: svnd questions (encrypting all of a partition or disk), Marco Peereboom, (Sun Jul 20, 1:39 pm)