Slow CIFS/FTP Transfer

Status
Not open for further replies.

epicfatigue

Cadet
Joined
Dec 1, 2016
Messages
9
Hey Guys,

My First post here been using FREENAS for about a year now and love it!

I have always had very slow CIF transfer speeds of around 10MB per second,
FTP Transfers about the same speed aswell.
However if i copy from the NAS from one location to another i get around 135MB per second.

My specs are (Please don't laugh hahah its a low powered media server)

Intel(R) Celeron(R) CPU J1900 1.99GHZ Quad core
8GB DDR3 (I know i really should have more)
5x 2TB Drives running Raidz1-0

Fully wired GB Network.

Im Not sure what logs to provide.

Thanks all for reading.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194

epicfatigue

Cadet
Joined
Dec 1, 2016
Messages
9
How come my internal transfer is so fast?
I cant see the cpu maxing out or memory, what things can i look into?
With Windows installed i see a much faster transfer?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
How come my internal transfer is so fast?
I cant see the cpu maxing out or memory, what things can i look into?
With Windows installed i see a much faster transfer?
Uh. Internal transfer inside the NAS doesn't use any network interface at all.

Windows supports a crappy realtek NIC, freebsd doesn't.

This isn't rocket surgery.
 

epicfatigue

Cadet
Joined
Dec 1, 2016
Messages
9
I Would love to say what i really think here but since my lack of knowledge on FREEBSD and two riveting responses i finally have something i can kind of work with here.
If it is a lack of supporting a network card, i can simply put in a server grade NIC.

I believe its "rocket science" as surgery takes place in a medical facility.

Now i am simply in the Help and Support as that's kind of what i thought this forum was, but what i have really received was "Your a bloody idiot please $%& off"

Can we please recover from this and point me in the trouble shooting steps for finding what the bottle neck is?

Is there a supported method for stress testing a NIC to see if there is another limiting factor?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
There is nothing to troubleshoot. The problem is your inadequate hardware.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
You've been told it's your crappy hardware (mainly the NIC, but the motherboard choice isn't something to write home about).

You also never mentioned what your server is connected to. If you're connected to a 100mb switch/router, you will never see much better than what you are now.

PS, if you're really trying to correct me on the rocket surgery line, you have failed to grasp simple humor. Congratulations.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
As pirateghost said, you haven't told us anything about the rest of your hardware either. While you might have a "Fully wired GB Network", you could still have a bad cable or two in the mix.

What are the spec's of the client machine? Does it have spinny rust or a SSD?

Also, how full is your pool? How fragmented?

No need for a server class NIC. An Intel Pro/1000 CT (~$30 USD) is fine.
 

epicfatigue

Cadet
Joined
Dec 1, 2016
Messages
9
All i was simply saying is the answers were not overly informative or helpful.

I think we can all agreed we are aloud a shit day every-now and then, and i am not saying i am not thankful for people taking their time out to reply and help i just couldn't get a lot out of it as the answered were very short.

The NAS is not something that is ment to be super Powerful it is simply a download client that streams to my children machines, however a Quad core in my eyes running at 98% idle should have been capable of a better through put.

I am not an expert and i am wanting to learn more as i really have enjoyed configuring and using this product.
But i am also attempting to keep my electricity footprint to a minim.

So i will say Thank you Ericloewe, pirateghost and gpsguy, as i want you to know i am thankful.

The Nas is directly connected to a standard Netgear gigabit router/switch all cables are tested and working fine.

However i do have a L2 Cisco managed switch with a fiber router ready to go, but i can not set this up untill the person i brought my house from stops squatting in it and i can actually move in.
The client machine is a x79 octa core 32 gigddr4 and PCI-E SSD

My Disk Usage is sitting at 89% because i haven't purged in awhile, however the transfer speed has been low before then.

NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROO
Raid 9.06T 8.12T 967G - 28% 89% 1.07x ONLINE /mnt
freenas-boot 29G 1.88G 27.1G - - 6% 1.00x ONLINE -


Took alot of looking to find out how to check for fragmentation, i found it in a book called: Learning FreeNAS by Gary Sims

What caused Fragmentation and what is an except able amount


Would this network card be okay?
http://www.scorptec.com.au/product/...MmKSTF8zHZydhKx9dGotSo6flC2W72RrpghoCiGXw_wcB
 

epicfatigue

Cadet
Joined
Dec 1, 2016
Messages
9
Hey Guys,

So i have ad to wait for the card to be ordered in and it has arrived.
I have read as much as i can through posts and just chasing a little bit more advice.

I am running FreeNAS-9.3-STABLE-201501212031
I have upgraded to an Intel EXPI9301CTBLK gigabit controller.

I added the following to CIFS Service
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no

I Have tested using IPERF

Client connecting to 192.168.0.13, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.254 port 36375 connected with 192.168.0.13 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-100.0 sec 1.09 GBytes 93.9 Mbits/sec
[ 3] 100.0-200.0 sec 1.09 GBytes 93.8 Mbits/sec
[ 3] 200.0-300.0 sec 1.09 GBytes 94.0 Mbits/sec
[ 3] 0.0-300.0 sec 3.28 GBytes 93.9 Mbits/sec
[admin@freenas ~]$ iperf -c 192.168.0.13 -p 5001 -t 600 -i 200
------------------------------------------------------------
Client connecting to 192.168.0.13, TCP port 5001
TCP window size: 32.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.254 port 49721 connected with 192.168.0.13 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-200.0 sec 2.19 GBytes 93.9 Mbits/sec


I Also tried it in the other direction to test both TX and RX speeds

The CPU doesn't appear to be overworked

I have alto attached my samb4 config

I am alittle lost as where to go from here any help would be appreciated

upload_2017-1-4_21-57-23.png

upload_2017-1-4_21-59-9.png
 

Attachments

  • samb4.txt
    1.8 KB · Views: 304

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Clearly, one of the links is running at 100Mb/s. Fix that.
 

epicfatigue

Cadet
Joined
Dec 1, 2016
Messages
9
Eric you sir are a champ it appears after installing the network card I have pinched the network cable in the server cabinet door.
Replaced it and i am now running at 672 Mbits/sec from a short iperf test.

And now 117mb transfer from CIFS!

That realtek nic was a complete hunk of crap!

Thanks everyone for your help, i have learnt alot about FREENAS and my machine is now humming!
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Thanks for following through with our suggestion to replace the NIC. As you've now learned, the Realtek's might be okay for Windows, but they are RealCrap on FreeNAS.
 

epicfatigue

Cadet
Joined
Dec 1, 2016
Messages
9
I certainly have, next step is to get Zoneminder installed and working in a Jail.
Thats why i needed more bandwidth on the nic.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Eric you sir are a champ it appears after installing the network card I have pinched the network cable in the server cabinet door.
Replaced it and i am now running at 672 Mbits/sec from a short iperf test.

And now 117mb transfer from CIFS!

That realtek nic was a complete hunk of crap!

Thanks everyone for your help, i have learnt alot about FREENAS and my machine is now humming!
Just a heads up but something is still wrong. Your speeds are still very slow. With Intel NICs you should be getting 900+Mbps.

Sent from my Nexus 5X using Tapatalk
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Just a heads up but something is still wrong. Your speeds are still very slow. With Intel NICs you should be getting 900+Mbps.

Sent from my Nexus 5X using Tapatalk
Eh, iperf with default settings sometimes struggles. I generally run two to four connections to get a proper idea of what the network is capable of.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Eh, iperf with default settings sometimes struggles. I generally run two to four connections to get a proper idea of what the network is capable of.
Interesting, I always get max throughout.

Sent from my Nexus 5X using Tapatalk
 
Status
Not open for further replies.
Top