Click to See Complete Forum and Search --> : SMB file transfer measure
int13
03-29-2005, 04:13 AM
I have poor LAN performance between WinXP and FC3 (with samba), I want to measure the current performance, but I don't know how to do that, could you help me? My idea is to play a little bit with the smb.conf options after the measurement.
ph34r
03-29-2005, 10:00 AM
Start with a massive and compressed file...
dd if=/dev/urandom of=bigfile bs=512 count=1000000
This should be a close to 500mb file. Then mount your samba share and copy the file
time cp bigfile /mnt/samba/server/share
The "time" command will tell you how long it took. Adjust smb.conf (comment it plenty while you do), restart samba, and recopy the file.
int13
03-30-2005, 01:54 AM
And here is the rest of the task:
I have home lan -2 PC ,one is with 100Mbit NIC the other is with 10Mbit NIC, what value of "socket options" in smb.conf do you recomend for this lan? I've noticed when I reduce the send buffer in smb.conf to 1024 the performance is the best- iptraf measures 6000 kb/s .. so how can I set the best performance for my Samba?
PS: the other machine is with XP
soulestream
03-30-2005, 02:05 AM
are they hooked together with a hub or a switch?
soule
int13
03-30-2005, 03:25 AM
they are directly connected via twisted pair cable (I think it's sort of FTP cable -or that's what the guys who gave it to me have said)