Hello everybody,

I right now face a for me kinda interesting situation.
After a interupt storm wich I thought was related to the hw setup I
noticed that using encrypted partitions created with vnconfig is simply
damn slow.

I used vnconfig -cK keysize -S saltfile /dev/svnd1c /dev/wd1c

So I used directly the block device.
If I then copy files to the svnd1c (wich was formated using newfs and
then mounted using mount -o noatime,softdep /dev/svnd1c /mnt) I face
transfer speeds of 1MB/s MAX in a local network!!!)

I did the same test with the same file and everything else the same too
with:

- A dedicated partition (wd1a) but nothing changed
- A file
  dd if=/dev/zero of=/mnt/test count=VALUE bs=1k
  vnconfig -cK keysize -S saltfile /dev/svnd1c /mnt/test
  newfs /dev/svnd1c && mount -o noatime,softdep /dev/svnd1c /mnt

If I use a dedicated file for the svnd1 I get 10 (9.7MB/s) times higher speeds
then using the block device. Is there any reason for this? Also if I do
use the file-based svnd I do not see any interupt storms anymore.

Related to the manpage vnds can handle block devices and this was
introduced before 4.3.

My box is a 4.3 STABLE so far and I just was kinda happy that I do not
need to create files anymore. :]

So if you might have a hint pls. tell me, thanks!


Kind regards,
Sebastian

Reply via email to