OpenBSD: vsftpd/SSL and CF Performance

Previous thread: USB speed (umass): what should I expect? by Jurjen Oskam on Friday, April 11, 2008 - 11:45 am. (6 messages)

Next thread: Re: OpenBSD: vsftpd/SSL and CF Performance by Stuart Henderson on Friday, April 11, 2008 - 2:35 pm. (2 messages)
From: Manuel Heckel
Date: Friday, April 11, 2008 - 12:11 pm

hi all,
i experience some strange problems here, maybe someone can help me. in
fact, i have two problems:

1) i set up a vsftp server, which is working just fine. but ssl
connections get dropped just at the point of TLS handshaking. my config
is: only local users, force ssl logins and data. i tried several
clients, it seems it is a problem at the server. what have i done wrong?
without ssl all is working fine. the log doesn't say much or am i
looking at the wrong one (/var/log/vsftpd.log).

2) the hardware is an alix2c3 board. it works good so far, but the
compact flash card is terribly slow. i know cf are slow, but i get max
400kb/s read/write (dd if=/dev/zero of=/local/file). the card achieves
much higher rates with my EOS camera or my mac (~20mb/s). i found a
mailing list post about the fact, that freebsd is at about that speed,
just openbsd is that slow. is that right? is this a problem of openbsd,
may i concern switching to freebsd? has anybody solved this issue? i
tried noatime and ffs mount options - it feels speedier now, but it is
still behind my internet connection (which isnt very fast, btw).
enabling DMA mode of the alix seems not to have any impact. any hints?

thanks for any answers!

greetings,
manuel

From: Manuel Heckel
Date: Saturday, April 12, 2008 - 1:45 pm

hi.

i just did an openbsd 4.3 current install and the cf card is a *lot*
faster. i used another card (sandisk, SDCFX3-4096, i didn't want to
overwrite my running system), but this card should not that be faster
than the other one (transcend), so i think it's indeed 4.2/4.3 related.
unfortunatly i have some problems with named (it's not starting, the
config/zones aren't found, i guess some chroot issue related to the
snapshot? since i orderd the cd set i'll wait for the release) und so
i'm back on 4.2... :(

some tests:

sandisk, on my mac via usb adapter:
dd if=/dev/zero of=./test.dd bs=1m count=200
200+0 records in
200+0 records out
209715200 bytes transferred in 15.555968 secs (13481334 bytes/sec)

sandisk, on the alix via cf slot with 4.3:
~10mb/s (sorry, i lost the output and don't want to change cards and
reboot again)

transcend (the one with the 4.2 system) mounted via usb adapter on the
alix/4.3:
dd if=/dev/zero of=./test.dd bs=1m count=100                             
100+0 records in
100+0 records out
104857600 bytes transferred in 12.910 secs (8122173 bytes/sec)

transcent, 4.2 booted on the alix via cf slot
dd if=/dev/zero of=./testfile bs=1k count=40000
40000+0 records in
40000+0 records out
40960000 bytes transferred in 104.284 secs (392771 bytes/sec)

thanks all for the replies.

manuel

Previous thread: USB speed (umass): what should I expect? by Jurjen Oskam on Friday, April 11, 2008 - 11:45 am. (6 messages)

Next thread: Re: OpenBSD: vsftpd/SSL and CF Performance by Stuart Henderson on Friday, April 11, 2008 - 2:35 pm. (2 messages)