Only getting 20Mbit on ASRock C2750D4I Mini ITX

Status
Not open for further replies.

Derek_D

Cadet
Joined
Jun 22, 2016
Messages
5
Hi all. This is my first post on these forums. The problem I am having is I'm only getting 20MBit on either of the 2 onboard nics. I updated the bios to 2.9. I guess the question I have is there drivers that need to be installed for the nic cards? And if so, how would I do that threw freenas? I know the rout of my network is good as I just took down another pc from the same location that was running right at 100 Mbit every time it was used.

My system:
ASRock C2750D4I Mini ITX
32 G ECC ram
6X 4TB HGST 7200 rpm in raidZ2
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
How are you testing? Have you used iperf?
 

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
What are you using for testing? I recommend running iperf to make sure your network is operating correctly.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Tink, tink, tink....is this thing on? Can you guys hear me OK in the back? :smile:
 

Derek_D

Cadet
Joined
Jun 22, 2016
Messages
5
Ok after I got home and figured out how to run iPerf here is the results..... These speeds are great. But when I transfer files from my Mac to the server it's crap for speed. With the speeds below how long should a 8G file take?

iperf -c 192.168.1.131 -P 1 -i 1 -p 5001 -f k -t 15
------------------------------------------------------------
Client connecting to 192.168.1.131, TCP port 5001
TCP window size: 129 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.138 port 61952 connected with 192.168.1.131 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0- 1.0 sec 113408 KBytes 929038 Kbits/sec
[ 4] 1.0- 2.0 sec 112896 KBytes 924844 Kbits/sec
[ 4] 2.0- 3.0 sec 113152 KBytes 926941 Kbits/sec
[ 4] 3.0- 4.0 sec 112768 KBytes 923795 Kbits/sec
[ 4] 4.0- 5.0 sec 112768 KBytes 923795 Kbits/sec
[ 4] 5.0- 6.0 sec 113024 KBytes 925893 Kbits/sec
[ 4] 6.0- 7.0 sec 113408 KBytes 929038 Kbits/sec
[ 4] 7.0- 8.0 sec 113536 KBytes 930087 Kbits/sec
[ 4] 8.0- 9.0 sec 113280 KBytes 927990 Kbits/sec
[ 4] 9.0-10.0 sec 113408 KBytes 929038 Kbits/sec
[ 4] 10.0-11.0 sec 113408 KBytes 929038 Kbits/sec
[ 4] 11.0-12.0 sec 113536 KBytes 930087 Kbits/sec
[ 4] 12.0-13.0 sec 113280 KBytes 927990 Kbits/sec
[ 4] 13.0-14.0 sec 113536 KBytes 930087 Kbits/sec
[ 4] 0.0-15.0 sec 1698944 KBytes 927867 Kbits/sec
Done.
 

Derek_D

Cadet
Joined
Jun 22, 2016
Messages
5
Here is a SS of the network on my freenas box. The first couple on the left are from the iPerf test. The transfer on the right is me uploading from my Mac on the network. The same computer I ran iPerf off of. I'm confused.
 

Attachments

  • Screenshot 2016-06-23 18.36.45.png
    Screenshot 2016-06-23 18.36.45.png
    49.3 KB · Views: 301

DaveY

Contributor
Joined
Dec 1, 2014
Messages
141
Your SS is showing 200 Mbit/s transfer speed, NOT 20 Mbit/s. Your numbers on the original post might be a little off. I'm going to assume you are on a Gigabit network and those are just typos. How are you doing the transfer? AFP, NFS, SSH??? The protocol you're using could greatly explain the speed you're seeing. Also, just to confirm, you're connected via a physical cable right? Not over WiFi?

I have the same exact motherboard and I don't recall having to install any special drivers to get Gigabit speed.
 

Derek_D

Cadet
Joined
Jun 22, 2016
Messages
5
I'm using a CIFS share to connect to from my Mac. I will try making a AFS share and see if that makes a difference. I'm assuming a Gigabit network should theoretically be 1000 Mbit/sec? Just weird that my test was 4X faster than the transfer from my Mac.
 

DaveY

Contributor
Joined
Dec 1, 2014
Messages
141
Yes, theoretically Gigabit should give you 1000Mbit/s, but realistically it can be anywhere between 300-900Mbits/s for a home setup. Reason is because there are simply too many layers of stuff in between. Disk read/writes eat up speed which is why people are going SSD. Does your Mac have a SSD or mechanical drive? If it's some kind of spinning disk, then that's where your speed went. Transfer protocols also eat up some speed (Read all of the posts about NFS slowness and you'll see) Samba shouldn't be too bad though even though it's still a single threaded process. I did a CIFS transfer between my desktop and my Avoton and I'm getting 800Mbps read/900Mbps write so the server has the horsepower to do it.

Iperf results are misleading. All transfers are done in memory so it doesn't touch any of the slower components. It's really meant for troubleshooting your network. Check your NIC speed again. Sometimes auto-negotiation can play havoc if you have an old cable or loose connection.
 

c32767a

Patron
Joined
Dec 13, 2012
Messages
371
We use CIFS from Windows clients at work with FreeNAS and don't see any performance issues.

I use MACs at home.. I routinely see much better network performance using AFP compared to CIFS between all my devices, not just FreeNAS. I can get 900Mb/s writes to my FreeNAS box from a 1Gb/s connected iMAC. CIFS tops out around 500 Mb/s. Same network, same disks, same everything.

There have been reports that Apple's CIFS client is.. less efficient than the AFP client.

But, CIFS is the future in the walled garden, so we have that going for us.. :(
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Are you using WiFi? Your HDD on your client is probably what is slow.
 

Derek_D

Cadet
Joined
Jun 22, 2016
Messages
5
I did some testing last night. Created an AFS share on my freenas box. Speeds from my iMac were around 900 Mbit like they should be. I guess my iMac and CIFS shares don't play nice together.
 

DaveY

Contributor
Joined
Dec 1, 2014
Messages
141
Good to know! I use CIFS on my Mac and always thought it was my WiFi making it slow
 
Status
Not open for further replies.
Top