Howdy...
I'm trying to run samba over stunnel on a wireless connection. Here's the setup: unix box <- wifi -> windows laptop
Unfortunately, reading files from the shared drive is extremely slow.
If I look at the stunnel box on my windows machine, it is pumping out about 20 messages/second that say: LOG7[2140:3636]: SSL_read returned WANT_READ: retrying
On two >1GHz machines, this is utilizing about 5% of cpu, and 4% of the 11Mbps link. Clearly there is room for improvement here!
I tried poking around with stunnel.conf on the server to no avail - specifically, I commented out the lines: ; Some performance tunings socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 ;compression = rle
And restarted stunnel - same miserable performance (roughly the same throughput, and resource usage).
Is there something about the SMB protocol that would cause stunnel to not deal with it well? If so, is there a configuration option somewhere I can tune, or do I have to RTFS & hack it to get decent performance here?
Any tips would be greatly appreciated. Thanks in advance!
Cheers, Brian
Brian Szymanski Software and Systems Developer Media Matters for America ski@mediamatters.org aim: xbrianskix