Sudden low disk speed

Status
Not open for further replies.

huberte

Explorer
Joined
Sep 20, 2011
Messages
87
Suddenly my disk speed is almost like a BBS speed :(

did
Code:
dd if=/dev/ad0 of=/dev/null bs=10M count=1000
for each disk

Code:
115343360 bytes transferred in 0.919060 secs (125501448 bytes/sec)


which I think is good...

Now, I'm with

Code:
dd if=/mnt/gra1 of=/dev/null bs=10M count=1000                
0+1 records in
0+1 records out
5 bytes transferred in 0.000038 secs (131072 bytes/sec)


When I choose the mnt path.

totally lost :(
 

huberte

Explorer
Joined
Sep 20, 2011
Messages
87
thks to irc I have now this :

Code:
[root@freenas] ~# cd /mnt/gra1/
[root@freenas] /mnt/gra1# dd if=/dev/zero of=testfile bs=2048k count=400
400+0 records in
400+0 records out
838860800 bytes transferred in 0.933686 secs (898439929 bytes/sec)


But still 5 MB/S through ftp :(

So it's obviously not a storage pb, please move to network pb. thks.
 

Milhouse

Guru
Joined
Jun 1, 2011
Messages
564
Move to Networking.

Test your network performance using the iperf tool built in to FreeNAS 8.0.1.
 

huberte

Explorer
Joined
Sep 20, 2011
Messages
87
Thanks, which protocol does it use ?

Between freenas (gigabit) and my computer (wih I former have 80 MB/S through ftp), also gigabit :

Code:
[156] local 192.168.0.6 port 6707 connected with 192.168.0.14 port 5001
[ ID] Interval       Transfer     Bandwidth
[156]  0.0-10.0 sec  54.1 MBytes  45.4 Mbits/sec


Between, laptop (megabit) and freenas :
Code:
[156] local 192.168.0.7 port 53776 connected with 192.168.0.14 port 5001
[ ID] Interval       Transfer     Bandwidth
[156]  0.0-10.0 sec   109 MBytes  91.1 Mbits/sec


Betwean laptop and computer :
Code:
[156] local 192.168.0.7 port 53910 connected with 192.168.0.6 port 5001
[ ID] Interval       Transfer     Bandwidth
[156]  0.0-10.0 sec  39.1 MBytes  32.8 Mbits/sec


Could we say that's not a freenas problem, but my client computer problem and close the thread ?
 

Milhouse

Guru
Joined
Jun 1, 2011
Messages
564
The protocol is TCP (also UDP if you specify -u/--udp) - it's testing your raw network performance without the overhead of any file system protocols such as SAMBA/CIFS, NFS, FTP etc.

It certainly doesn't look like there is any problem with the FreeNAS network connection, Windows (the OS) however may be throttling the connection by using a small TCP "window" size - you can increase the window size by specifying the "-w" parameter on the client (maybe also the server), eg. "-w 128K" would use a larger TCP transmit/receive window which may improve performance.
 

huberte

Explorer
Joined
Sep 20, 2011
Messages
87
I'm really lost here, still stuck with 4,5Mbits/s

what should I do with my crappy windows ?

Didn't understand the -w parameter and where...
 

Andy L

Cadet
Joined
Oct 4, 2011
Messages
4
I've been playing with iperf myself and trying to increase my FreeNAS box's performance - I found that using the command 'iperf -c <server IP> -w 131072' (131072 bytes = 128KBytes) gave a higher throughput when testing. If your version of Windows dates from Vista onwards (e.g. 7, Server 2008), I found these guides to be useful in improving performance at the Windows end:

http://www.speedguide.net/articles/windows-7-vista-2008-tweaks-2574
http://en.tiagomarques.info/2011/03/freenas-improve-cifssmb-performance/
 
Status
Not open for further replies.
Top