Slow transfer speeds.

Status
Not open for further replies.

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
I am getting very slow transfer speeds to my FreeNAS server. I was getting speeds of 11-12MB/s so I bypassed the switch it was on and connected it to my router and got speeds of around 29MB/s which is still way to slow. My router is new and even on my old router, I was able to transfer files between my PC and my Norco server at over 200MB/s.

I know so little about networking that I can't even begin to think of what the issue is.

Motherboard - Supermicro X8DTH-IF
CPU - Xeon E5520
RAM - 24GB
Router - D-Link DIR-855L
 

nojohnny101

Wizard
Joined
Dec 3, 2015
Messages
1,478
Sounds like a classic example of your connection being limited to 100mbit/s instead of 1000gbit/s. All your hardware seems to support gigabit speeds. Are you sure you're not using some weird ethernet cable that isn't capable of 1000gigabit speeds? Have you tried other cables?

And I have to ask, just to eliminate it, this is over wired not wireless correct? What sharing protocol?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Get a gigabit switch and try again. We'll work from there.

My experience with the DIR-855 was underwhelming.
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
Sounds like a classic example of your connection being limited to 100mbit/s instead of 1000gbit/s. All your hardware seems to support gigabit speeds. Are you sure you're not using some weird ethernet cable that isn't capable of 1000gigabit speeds? Have you tried other cables?

And I have to ask, just to eliminate it, this is over wired not wireless correct? What sharing protocol?

I am just using a standard ethernet cable, the same kind I have been using and had greater speeds with.
I did try other cables with the same results.
No this is not wireless.

Get a gigabit switch and try again. We'll work from there.

My experience with the DIR-855 was underwhelming.

I tried my old router (DIR-655) and got the same result. I know my current router is capable of greater speeds so it has to be something with this server.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I tried my old router (DIR-655) and got the same result.
They're basically the same thing, with a different radio arrangement. Try a proper switch.
 

saikee

Explorer
Joined
Feb 7, 2017
Messages
77
I had a similar case solved by unplugging and re-plugging properly each network cable.
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
They're basically the same thing, with a different radio arrangement. Try a proper switch.

Well I don't have a 1gbe switch and don't want to spend money on something that may not be the solution.

I did some more experimenting and the is what I got.

I connected my server directly to my PC on my Realtek nic and got speeds of about 11MB/s. I booted up my other server running OmniOS and Napp-it and am able to transfer files from my PC to the OmniOS server with initial burst speeds of 200MB/s which drops to about 100MB/s. Transferring files from that server to my PC transfers at about 60MB/s. That is all way too slow and it has actually been a while since I started up My OmniOS server so I may have remembered it being faster than it actually was. While still slow, it is still faster then the FreeNAS server so something is definitely wrong or misconfigured.

Could a bad controller on my FreeNAS server be the issue? If so, how do I test it?

I do plan on putting a 10gbe card in all of the servers and PCs and getting a 10gbe switch but for right now, I need to figure this out.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
What are the specs on your client pc? Do you have a SSD in it? If so, try copying files to it. Replace your Realtek NIC with an Intel.
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
What are the specs on your client pc? Do you have a SSD in it? If so, try copying files to it. Replace your Realtek NIC with an Intel.

Intel i7-4790K
ASRock Z97 Extreme6
16GB RAM

Yes I have and SSD but the drive I copy to or from makes no difference neither does the nic I use. Strangely enough, the speeds increase to about 30MB/s when connected through my router but a direct connection results in about 11MB/s.
 

Stux

MVP
Joined
Jun 2, 2016
Messages
4,419
Btw it's impossible to get 200MB/s on a gigabit connection.

Is your FreeNAS box connected via a RealTek NIC?
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
Btw it's impossible to get 200MB/s on a gigabit connection.

Is your FreeNAS box connected via a RealTek NIC?

I have tried both the Intel and Realtek nics on my motherboard and there is no difference in speed. Right now, it is connected to my PC through the router and I am using the Intel nic.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Use iperf to test so we can actually help you.

Sent from my Nexus 5X using Tapatalk
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
Use iperf to test so we can actually help you.

How? is that something that is included with FreeNAS or is that something I need to install? I am also guessing that this is one of those command line things, what are the commands please?
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
Ok I am back. Sorry for the long delay. I have been busy this week.

I ran a TCP and UDP test with default settings. I there anything else I should do?


Code:
bin/iperf.exe -c 192.168.0.90 -P 1 -i 1 -p 80 -f k -t 10
------------------------------------------------------------
Client connecting to 192.168.0.90, TCP port 80
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[156] local 192.168.0.100 port 58448 connected with 192.168.0.90 port 80
[ ID] Interval	   Transfer	 Bandwidth
[156]  0.0- 1.0 sec  40856 KBytes  334692 Kbits/sec
[156]  1.0- 2.0 sec  34464 KBytes  282329 Kbits/sec
[156]  2.0- 3.0 sec  37792 KBytes  309592 Kbits/sec
[156]  3.0- 4.0 sec  39024 KBytes  319685 Kbits/sec
[156]  4.0- 5.0 sec  38896 KBytes  318636 Kbits/sec
[156]  5.0- 6.0 sec  38776 KBytes  317653 Kbits/sec
[156]  6.0- 7.0 sec  38776 KBytes  317653 Kbits/sec
[156]  7.0- 8.0 sec  38984 KBytes  319357 Kbits/sec
[156]  8.0- 9.0 sec  38424 KBytes  314769 Kbits/sec
[156]  9.0-10.0 sec  38760 KBytes  317522 Kbits/sec
[156]  0.0-10.0 sec  384760 KBytes  315177 Kbits/sec
server sent unexpected data failed
Done.

bin/iperf.exe -c 192.168.0.90 -u -P 1 -i 1 -p 80 -f k -b 1.0M -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.0.90, UDP port 80
Sending 1470 byte datagrams
UDP buffer size: 8.00 KByte (default)
------------------------------------------------------------
[156] local 192.168.0.100 port 61357 connected with 192.168.0.90 port 80
[ ID] Interval	   Transfer	 Bandwidth
[156]  0.0- 1.0 sec   122 KBytes  1000 Kbits/sec
[156]  1.0- 2.0 sec   122 KBytes  1000 Kbits/sec
[156]  2.0- 3.0 sec   123 KBytes  1011 Kbits/sec
[156]  3.0- 4.0 sec   122 KBytes  1000 Kbits/sec
[156]  4.0- 5.0 sec   122 KBytes  1000 Kbits/sec
[156]  5.0- 6.0 sec   122 KBytes  1000 Kbits/sec
[156]  6.0- 7.0 sec   122 KBytes  1000 Kbits/sec
[156]  7.0- 8.0 sec   122 KBytes  1000 Kbits/sec
[156]  8.0- 9.0 sec   122 KBytes  1000 Kbits/sec
[156]  9.0-10.0 sec   122 KBytes  1000 Kbits/sec
[156]  0.0-10.0 sec  1223 KBytes  1000 Kbits/sec
read failed: Connection reset by peer
Done.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Ok I am back. Sorry for the long delay. I have been busy this week.

I ran a TCP and UDP test with default settings. I there anything else I should do?


Code:
bin/iperf.exe -c 192.168.0.90 -P 1 -i 1 -p 80 -f k -t 10
------------------------------------------------------------
Client connecting to 192.168.0.90, TCP port 80
TCP window size: 8.00 KByte (default)
------------------------------------------------------------
[156] local 192.168.0.100 port 58448 connected with 192.168.0.90 port 80
[ ID] Interval	   Transfer	 Bandwidth
[156]  0.0- 1.0 sec  40856 KBytes  334692 Kbits/sec
[156]  1.0- 2.0 sec  34464 KBytes  282329 Kbits/sec
[156]  2.0- 3.0 sec  37792 KBytes  309592 Kbits/sec
[156]  3.0- 4.0 sec  39024 KBytes  319685 Kbits/sec
[156]  4.0- 5.0 sec  38896 KBytes  318636 Kbits/sec
[156]  5.0- 6.0 sec  38776 KBytes  317653 Kbits/sec
[156]  6.0- 7.0 sec  38776 KBytes  317653 Kbits/sec
[156]  7.0- 8.0 sec  38984 KBytes  319357 Kbits/sec
[156]  8.0- 9.0 sec  38424 KBytes  314769 Kbits/sec
[156]  9.0-10.0 sec  38760 KBytes  317522 Kbits/sec
[156]  0.0-10.0 sec  384760 KBytes  315177 Kbits/sec
server sent unexpected data failed
Done.

bin/iperf.exe -c 192.168.0.90 -u -P 1 -i 1 -p 80 -f k -b 1.0M -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.0.90, UDP port 80
Sending 1470 byte datagrams
UDP buffer size: 8.00 KByte (default)
------------------------------------------------------------
[156] local 192.168.0.100 port 61357 connected with 192.168.0.90 port 80
[ ID] Interval	   Transfer	 Bandwidth
[156]  0.0- 1.0 sec   122 KBytes  1000 Kbits/sec
[156]  1.0- 2.0 sec   122 KBytes  1000 Kbits/sec
[156]  2.0- 3.0 sec   123 KBytes  1011 Kbits/sec
[156]  3.0- 4.0 sec   122 KBytes  1000 Kbits/sec
[156]  4.0- 5.0 sec   122 KBytes  1000 Kbits/sec
[156]  5.0- 6.0 sec   122 KBytes  1000 Kbits/sec
[156]  6.0- 7.0 sec   122 KBytes  1000 Kbits/sec
[156]  7.0- 8.0 sec   122 KBytes  1000 Kbits/sec
[156]  8.0- 9.0 sec   122 KBytes  1000 Kbits/sec
[156]  9.0-10.0 sec   122 KBytes  1000 Kbits/sec
[156]  0.0-10.0 sec  1223 KBytes  1000 Kbits/sec
read failed: Connection reset by peer
Done.
Are you using WiFi? If you are give up with performance. You are getting terrible network speeds. This can't be over a hardware network.

I have no clue what all those flags do. Just use normal iperf without all the options, who knows what you messed up.

Sent from my Nexus 5X using Tapatalk
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
Are you using WiFi? If you are give up with performance. You are getting terrible network speeds. This can't be over a hardware network.

I have no clue what all those flags do. Just use normal iperf without all the options, who knows what you messed up.

No, this is not on wifi as I have already stated.

I ran iperf with default settings according to the guide you linked to. If what I have provided you is insufficient than please clarify how I should be using iperf.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
No, this is not on wifi as I have already stated.

I ran iperf with default settings according to the guide you linked to. If what I have provided you is insufficient than please clarify how I should be using iperf.

I did not screw anything up. Please don't be an ass.
I didn't link any guide, I think people should just look it up, "freenas how to use iperf" is pretty simple to search for. What is your network layout? What switch, what cables? Try different cables or direct connection to your system.

iperf -s on the server and iperf -c <sever ip> is all you need to test things.

Sent from my Nexus 5X using Tapatalk
 

Poppa

Explorer
Joined
Jun 3, 2017
Messages
87
iperf -s on the server and iperf -c <sever ip> is all you need to test things.

Didn't really do anything.

nothing.png
 
Last edited:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You have to run the client on an actual client...
 
Status
Not open for further replies.
Top