Question: AFP = 90 mb/s CIFS = 62 mb/s is this o.k. for my config?

Status
Not open for further replies.

tak21

Dabbler
Joined
Oct 11, 2012
Messages
11
Dear all,

I finalized my server. And I am not that happy with the CIFS speed I get.
The question is, am I expecting too much?
What I have:
- Core i3 3225 # 2 x 8GB = 16 GB RAM # ASRock B75 Pro3-M
- 6 x WD30EFRX => RAIDZ6
- FreeNas auto tune is "on" + one additional sysctls (net.inet.tcp.delayed_ack=0)

To test the performance
- via ssh on my freeness server:
Code:
# ifconfig -a |grep media
media: Ethernet autoselect (1000baseT <full-duplex>)
 
# dd if=/dev/zero of=test1.dd bs=1M count=50000
50000+0 records in
50000+0 records out
52428800000 bytes transferred in 162.293167 secs (323049953 bytes/sec)
 
# iperf -s


on my Mac in iTerm:
Code:
$ iperf -c mainsrv -P 1 -i 1 -p 5001 -f m -t 10
 
------------------------------------------------------------
Client connecting to mainsrv, TCP port 5001
TCP window size: 0.13 MByte (default)
------------------------------------------------------------
[  5] local 192.168.2.45 port 50800 connected with 192.168.2.3 port 5001
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0- 1.0 sec   112 MBytes   937 Mbits/sec
[  5]  1.0- 2.0 sec   111 MBytes   934 Mbits/sec
[  5]  2.0- 3.0 sec   111 MBytes   934 Mbits/sec
[  5]  3.0- 4.0 sec   111 MBytes   934 Mbits/sec
[  5]  4.0- 5.0 sec   111 MBytes   934 Mbits/sec
[  5]  5.0- 6.0 sec   111 MBytes   934 Mbits/sec
[  5]  6.0- 7.0 sec   111 MBytes   934 Mbits/sec
[  5]  7.0- 8.0 sec   111 MBytes   934 Mbits/sec
[  5]  8.0- 9.0 sec   111 MBytes   934 Mbits/sec
[  5]  9.0-10.0 sec   112 MBytes   935 Mbits/sec
[  5]  0.0-10.0 sec  1114 MBytes   935 Mbits/sec


on my Mac in iTerm "cd" into a mounted AFP share, then
Code:
$ dd if=/dev/zero of=test1.dd bs=1m count=25000
25000+0 records in
25000+0 records out
26214400000 bytes transferred in 275.592626 secs (95120107 bytes/sec)


on my Mac in iTerm "cd" into a mounted CIFS share, then
Code:
$ dd if=/dev/zero of=test1.dd bs=1m count=25000
25000+0 records in
25000+0 records out
26214400000 bytes transferred in 400.804366 secs (65404477 bytes/sec)


Any advice is highly welcome.
 

papageorgi

Explorer
Joined
Jul 16, 2013
Messages
51
as apple has an older version of samba used to implement support for cifs and they previously paid much attention to afp optimization this is how they truly designed it to work, not well. if you computer is capable of running 10.9 you should see a big cifs speed boost with that newer software. if you would like i would recommend a backup of the mac via time machine or image/clone it and then install either windows or linux on it and you will likely see that is no longer the case for slow cifs performance.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
As much as I hate to say it <waves to papageorgi> he's right. CIFS on Linux is speedy fast. In typically go about 100MB/sec with Windows, and hit about 120MB/sec with Linux.

Your hardware should be screaming fast. In terms of reliability ECC RAM would have been better. But the only "recommendation" I can make is to get an Intel NIC. I couldn't determine what your NIC actually is by Googling for a minute, but its certainly not an Intel NIC. Many people have weird unexplained issues when not using an Intel NIC. They're typically about $25 or so and are easily purchased on ebay, newegg, or amazon.
 

tak21

Dabbler
Joined
Oct 11, 2012
Messages
11
Hi and thanks for your responces.
About ECC RAM: I don't think my set up is able to use it, but will double check.
For the NIC: I have a PCIe card from Intel - yes I am reading your hints in this forum :)
For the speed test: I will install Linux and remeasure CIFS.
As a summary: I'll take your responses as - it's o.k. I do not have to search for performance gaps.

Thank you!

And an other thing: I have checked now all the alternatives concerning my NAS software. And I for sure will stick to FreeNAS! For me it is really the most intuitive user interface, I like the new disk wizard in 9.1 and ootb the speed is faster than any alternative. I would really say "thank you" to the developpers for this product.
 
Status
Not open for further replies.
Top