I own a personnal Fileserver, build on an AMD X2 platform, with an intel gigabit CT network adapter, running debian 6.0.
I've built a raid5 (2To x 3), shared by samba 3.5.6
From my desktop computer (windows7), when copying big files, sometimes the download/upload speed is steady around 55/60Mb/s, sometimes, it's really unstable, drops to from 1 or 2Mb/s, with a maximum of 20/30Mb/s, really unstable.
I've tested also using samba shares on raid and main disk, results are similar.
I've run some hdparm -tT on the server :
/dev/sda:
Timing cached reads: 4698 MB in 2.00 seconds = 2349.11 MB/sec
Timing buffered disk reads: 374 MB in 3.00 seconds = 124.49 MB/sec
/dev/md0:
Timing cached reads: 4814 MB in 2.00 seconds = 2407.76 MB/sec
Timing buffered disk reads: 640 MB in 3.00 seconds = 213.02 MB/sec
Also, I've used iperf to test the bandwidth between the two computers :
iperf.exe -c pacem -n 1073741824 -fm
------------------------------------------------------------
Client connecting to pacem, TCP port 5001
TCP window size: 0.06 MByte (default)
------------------------------------------------------------
[ 3] local 10.0.0.145 port 50913 connected with 10.0.0.37 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-68.7 sec 1024 MBytes 125 Mbits/sec
How can I proceed to find efficiently where the problem is ?
Thanks for reading!