From owner-freebsd-current@FreeBSD.ORG Sun Aug 7 14:05:27 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9F1816A41F; Sun, 7 Aug 2005 14:05:27 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 427574405E; Sun, 7 Aug 2005 14:05:27 +0000 (GMT) (envelope-from mike@sentex.net) Received: from pumice6.sentex.ca (pumice6.sentex.ca [64.7.153.21]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j77E4XcG007703; Sun, 7 Aug 2005 10:04:33 -0400 (EDT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by pumice6.sentex.ca (8.13.3/8.13.3) with ESMTP id j77E5Qji028191; Sun, 7 Aug 2005 10:05:26 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id j77E5P62021114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Aug 2005 10:05:25 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.1.2.0.20050807091937.040d9e48@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Sun, 07 Aug 2005 10:07:52 -0400 To: Pawel Jakub Dawidek From: Mike Tancsa In-Reply-To: <20050807065223.GB1002@garage.freebsd.pl> References: <20050728205413.GB762@darkness.comp.waw.pl> <6.2.1.2.0.20050806205925.0522cad0@64.7.153.2> <20050807065223.GB1002@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 X-Scanned-By: MIMEDefang 2.51 on 64.7.153.21 Cc: freebsd-current@FreeBSD.org Subject: Re: GELI - disk encryption GEOM class committed. 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: Sun, 07 Aug 2005 14:05:27 -0000 At 02:52 AM 07/08/2005, Pawel Jakub Dawidek wrote: >I saw this (I've one hifn here). >This looks like a bug in hifn(4), it locks up when too many requests are >sent there. >Could you try increasing sector size of encrypted provider to eg. 8192? >(There is '-s' option for 'init' subcommand.) No difference. It might even hasten it a little. [hippo]# geli init -a 3des -s 8192 -K /var/tmp/da2.key /dev/amrd0s1e Enter new passphrase: Reenter new passphrase: [hippo]# geli attach -k /var/tmp/da2.key /dev/amrd0s1e Enter passphrase: [hippo]# newfs /dev/amrd0s1e.eli mount /dev/amrd0s1e.eli /mnt /dev/amrd0s1e.eli: 1024.0MB (2097136 sectors) block size 16384, fragment size 8192 using 4 cylinder groups of 256.00MB, 16384 blks, 8192 inodes. super-block backups (for fsck -b #) at: 160, 524448, 1048736, 1573024 [hippo]# mount /dev/amrd0s1e.eli /mnt [hippo]# [hippo]# bonnie -s 300 -d /mnt File '/mnt/Bonnie.561', size: 314572800 Writing with putc()... [hippo]% iostat -c 1000 tty amrd0 pass0 cpu tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 2 4.66 12 0.06 0.00 0 0.00 0 0 0 0 99 0 179 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100 0 61 0.00 0 0.00 0.00 0 0.00 0 0 0 0 100 1 127 73.87 15 1.08 0.00 0 0.00 2 0 3 1 94 0 60 128.00 18 2.24 0.00 0 0.00 2 0 3 0 94 0 61 128.00 17 2.12 0.00 0 0.00 2 0 3 1 93 0 61 128.00 18 2.24 0.00 0 0.00 2 0 3 1 94 0 61 128.00 17 2.12 0.00 0 0.00 2 0 3 1 94