![]() |
| ||
| Gigabit network slow samba, ftp, iperf? I'm having many little problems with my gigabit network. My hard drive reads at 85 MB/s, so why am I downloading from the ftp server at 68 MB/s? How could I diagnose what is eating those 17 MB/s? Why does my windows machine have a slow 326 Mbit/s transmit speed compared with ubuntu's transmit speed of 763 Mbit/s when testing with iperf? Why do I get slow samba speeds? Windows is connected to Ubuntu with a 6 foot crossover cable. Both machines are fully updated. windows xp3 motherboard: gigabit ga-965p-ds3 cpu: C2D E4400 hard drives: 250gb seagate, read = 85 MB/s lan: marvel 8053 Gigabit LAN (onboard, PCI-E) ubuntu 8.04 gateway motherboard: Asus P5B-MX cpu: C2D E2160 hard drive: 250gb seagate, read = 85 MB/s lan: attansicĀ® L1 PCI-E Gigabit LAN controller (onboard, PCI-E) iperf
ftp
Samba
smb.conf [global] |
| ||
| Re: Gigabit network slow samba, ftp, iperf? What category is the crossover cable They both got gigabit cards? |
| ||
| Re: Gigabit network slow samba, ftp, iperf? Yes both onbaord gigabit cards. Crossover is CAT5. So I found how to make samba faster, I removed "SO_RCVBUF=8192 SO_SNDBUF=8192" from socket options. I let the tcp stack set the buffer size automatically now. 8192 was too small for a gigabit lan. But is there any way I can improve the ftp speeds? The problem is server side, as I tested a download on both windows and from an ubuntu livecd, and both times it was 68 MB/s. |
| ||
| Re: Gigabit network slow samba, ftp, iperf? You should really be using cat6 cable on a gigabit LAN giabit cards dont need crossover cables anyway, a patch is fine |
| ||
| Re: Gigabit network slow samba, ftp, iperf? Well I give up I guess I'll settle for 68 MB/s ftp and 43 MB/s samba. lame. I tried a bunch of tcp tweaking on my ubuntu gateway, stuff from articles like # TCP gigabit tweaks Tried setting mtu to 9000, tried disabling tcp sack. Double checked cables were cat5e. (cat5e supports gigabit) Booted ubuntu livecd on windows machine, iperf got 940 Mbit/s down. And I get 544 Mbit/s from ftp server. Tried messing with nfs, looked like i was getting 62 MB/s down. Couldn't do proper tests b/c livecd boot kept running out of space. Whatever. Getting that last 17 MB/s isn't worth it if it's this difficult. |
| All times are GMT -4. The time now is 7:33 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC