FreeNAS FTP speeds blow?!?

OFaceSIG

2[H]4U
Joined
Aug 31, 2009
Messages
4,015
I'm getting 400Mbps writes on CIFS/samba but my FTP speeds to my FreeNAS in my sig is like 285Mbps. What gives?!?
 
@mikesm between my 7 box and my freenas.

@vraa it is universally known that FTP is more efficient a protocal than CIFS.

I wonder if my win7 ftp protocol is just terrible.
 
Try NFS. I could only get 40MB/s max using samba, but with NFS I get 80MB/s+.
 
sftp is just an SSH-invoked FTP client; i would not consider it FTP though it works similarly.

@OP: what you should do is test local performance with dd, to confirm that local performance is not the issue.

# write test
dd if=/dev/zero of=/CHANGE/THIS/PATH/zerofile.000 bs=1m count=4000

# read test
dd if=/CHANGE/THIS/PATH/zerofile.000 of=/dev/null bs=1m

Warning: do not make mistakes with this command. Change the /CHANGE/THIS/PATH string to where your primary data array is mounted.

You should have well over 100MB/s performance. If you confirmed your local I/O performance should be sufficient, then you can continue with network tests (iperf) and then protocol analysis. Your FreeNAS box (in your sig) is not very well powered though; but that doesn't mean it's the problem you should still be able to get decent performance from a single mirror over gigabit.

Perhaps you use PCI for networking or storage?
 
Also, are you moving a few 8gb movies or millions of sub 10k files?
 
sftp is just an SSH-invoked FTP client; i would not consider it FTP though it works similarly.
I was referring to ftpes not sftp.

http://en.wikipedia.org/wiki/FTPS#Explicit

Also, @OP I would try using a different ftp server since that seems to be the most likely thing would also try using a different ftp client as well.

While there shouldn't be a difference in speed between them I have found that there can be a pretty significant difference especially when moving stuff around at those speeds.
 
Try NFS. I could only get 40MB/s max using samba, but with NFS I get 80MB/s+.

Because you are using SMB1, not SMB2, which fixes the 40MB/s cap, though it is only used with Vista/7 variants.
 
Is NFS like CIFS where I can just open a window or do I need a specific utility to log into the box and download?
 
Because you are using SMB1, not SMB2, which fixes the 40MB/s cap, though it is only used with Vista/7 variants.

I just checked this out and xfered a 12Gig BR rip from my desktop to a CIFS share on my ZFS box (SE11) and averaged 102Mbyte/sec (value at the end of the transfer according to windows)? And CIFS is def. using SMB1.
 
Info only : I am not putting any suggestion. What I understand from the discussion is that

Windows XP : SMB1
Windows Vista/7 : SMB2

Latest Samba Server running on Linux Hosts : Example latest Samba 3.5.x on Fedora/Ubuntu/Debian/probably others. With proper tuning, it can go above 100MByte/sec.

Windows 7 Client copy big-size file to Linux/Samba Host with proper tuning. possible 100MByte/sec

Windows XP client copy big-size file to (Linux/Samba Host with proper tuning).
suggest around 40MByte/sec

Windows XP client copy big-size file to (Linux/Samba Host with proper tuning).
also perform tcpip tuning on Windows XP client
my last attempt, maximum around 45% of Gigabit (based on Task Manager Network Monitoring, however it was jumping up and down rapidly, so I guess end of the day the average is still not too far from 40MByte/sec, maybe top 45MByte/sec)

File copy software is Windows Explorer.

My test is very primitive only done once. Repeat a few more times maybe result will be different, but that's my current data.
 
I just checked this out and xfered a 12Gig BR rip from my desktop to a CIFS share on my ZFS box (SE11) and averaged 102Mbyte/sec (value at the end of the transfer according to windows)? And CIFS is def. using SMB1.

It doesn't appear to happen on every single system, but for the majority of users with SMB1, the 40MB/s limitation appears to happen.
 
Is NFS like CIFS where I can just open a window or do I need a specific utility to log into the box and download?

If you have windows 7 enterprise or ultimate you can install NFS services and connect - to enable NFS access on windows 7 go to the start menu/search box and type "Turn windows features on or off", fire up the control panel program of the same name, and select "Services for NFS"

(you need to reboot after enabling the service)

The go to a command prompt and you can map the NFS share to a drive via:
Code:
c:\>mount //server.ip.or.name/path/to/share T:
(replace T: with whatever drive letter you want)

"umount driveleter:" to unmount a NFS share
 
Must be doing something wrong. The mounted drive only works in the cmd line windows and won't show up in "my computer".
 
Try the following syntax under the regular map network drive gui (my computer, tools, map network drive)

server.ip.address:/path/to/exported/share

(i.e. 192.168.0.100:/datas/Movies for example)
 
Back
Top