This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[Solved] Slow network speed

Everything to improve your speed, LAGG, VLAN, VPN, Port Forwarding, DNS, Gateway
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Tharbad
Starter
Starter
Posts: 24
Joined: 07 Feb 2013 14:06
Status: Offline

[Solved] Slow network speed

Post by Tharbad »

I've just managed to set up a working CIFS share and the speed in terrible. I've read other post here but the problem persists (changing MTU, adding params to sysconf).
Can you help me?

Speeds:
CIFS - 28kbps
FTP - 32kbps
NFS setup has failed. (path problems)

OS in the network:
NAS4Free: Embedded 9.1.0.1 r636
Main PC: Win 7 SP1 x64
Linux HTPC: Linux Mint 13 x32

My network config:
It's an home network.
1 Router - Max speed is 300Mbps. My main PC is connected to it.
1 Switch - 1GBps. Connected to the router. NAS4Free is connected to it and HTPC too.

Main PC is detected as 1Gbps
NAS4Free and Linux: 100Mbs

Connection Speed (FTP) between Linux HTPC and Win 7 x64 is 12-20Mbps. Therefore I assume the problem is somewhere in NAS4Free.

Thanks
Last edited by Tharbad on 12 May 2013 13:20, edited 1 time in total.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow network speed

Post by b0ssman »

some more information about your hardware and setup would be useful. (cpu, ram, mainboard, nic, zfs, dedup)

since your nas4free only has a 100 mbit network card i have to assume that it is using some very old hardware with little ram.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Slow network speed

Post by raulfg3 »

how you have disk are important too, is not the same to use SATA3 Disk that use USB Disk.

Please provide much more info about your hardware and config, atach a status page is very usefull too.

PD: replace index.php in your browser by status.php , save info, compress and atach to repply.

If you use Nas4Free in a virtual enviroment, like you say here: viewtopic.php?f=57&t=2565&p=13762#p13409

The problem can be in the VM config (How you config acess to disk, NIC), etc...

And Dedupe do not help, please repeat test with dedupe disable: viewtopic.php?f=57&t=3783&p=19563#p19440

Dedupe is only usefull for office (SOHO enviroments), that have a lot of identical files, for home user that have photos, Mp3, and Videos is not usefull and lose a lot of RAM and CPU power from your NAS.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Tharbad
Starter
Starter
Posts: 24
Joined: 07 Feb 2013 14:06
Status: Offline

Re: Slow network speed

Post by Tharbad »

raulfg3: No VMware. Just Embedded installation.
I've created another share, without dedup, same speed...

b0ssman: The card is 1Gb but auto negotiate gives me 100Mb...
You do not have the required permissions to view the files attached to this post.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow network speed

Post by b0ssman »

realtek cards are know troublemaker.

have you got an intel card?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
lindsay
Forum Moderator
Forum Moderator
Posts: 282
Joined: 23 Jun 2012 09:59
Location: Steinkjer,Norway
Status: Offline

Re: Slow network speed

Post by lindsay »

As you are attached to an router wich gives you 300mbps you cant get 1gbps.
The main PC is only showing you the speed on your card not what the network can give you.

Anyway this seems strange as a picture of how you have connected it could be nice.
Are you really shure that the switch is gigabit as the speed seems to be 100mbps
Protected by smoothiebox Red,Green,
Purple,Orange Zones/VLAN`s
Powered by AMD A10-6700T


XigmaNAS Box-1 11.2.0.4 - Omnius (revision 6625)
Platform : x64-embedded on 2X Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Motherboard: ASUS Z10PA-D8, 2xSocket-2011-3
SATA Controllers : 1X Avago Technologies (LSI) SAS2008 and 1x Avago Technologies (LSI) SAS2308
Pool 1 (Media-Pool) 8X4TB in raidz2
Pool 2 (Media-Pool-2) 4X2TB in raidz2 and 2X2TB in mirror mirror and 2X3TB in mirror
Pool 3 (Media-Pool-3) 2X2TB in mirror and 2X4TB in mirror and 2X1TB in mirror

ku-gew
Advanced User
Advanced User
Posts: 172
Joined: 29 Nov 2012 09:02
Location: Den Haag, The Netherlands
Status: Offline

Re: Slow network speed

Post by ku-gew »

I've created another share, without dedup, same speed...
Too late, dedupe sucks memory anyway even if you create a share (a dataset?) without it. Even if you disable dedupe, it will use memory as long as there are deduced files.
Try removing completely the disks where you enabled dedupe and try again.

And by the way, why have you enabled it?? it is useful only on some very special cases where many VMs are used. In all other cases, use compression only (standard, no gzip) even if you don't need it.
HP Microserver N40L, 8 GB ECC, 2x 3TB WD Red, 2x 4TB WD Red
XigmaNAS stable branch, always latest version
SMB, rsync

Tharbad
Starter
Starter
Posts: 24
Joined: 07 Feb 2013 14:06
Status: Offline

Re: Slow network speed

Post by Tharbad »

lindsay wrote:As you are attached to an router wich gives you 300mbps you cant get 1gbps.
The main PC is only showing you the speed on your card not what the network can give you.

Anyway this seems strange as a picture of how you have connected it could be nice.

Are you really shure that the switch is gigabit as the speed seems to be 100mbps
1) In the Main PC it isn't auto negotiate.

2)
Router (4p)
| \
Switch (8p)\
/ | \
/ | Main PC
/ Linux Box
NAS4Free
There are other stations in the network.

3) Yes. Bought it for that reason.
b0ssman wrote:realtek cards are know troublemaker.

have you got an intel card?
No. Lets try manual speed before blaming Realtek please.
ku-gew wrote:
I've created another share, without dedup, same speed...
Too late, dedupe sucks memory anyway even if you create a share (a dataset?) without it. Even if you disable dedupe, it will use memory as long as there are deduced files.
Try removing completely the disks where you enabled dedupe and try again.

And by the way, why have you enabled it?? it is useful only on some very special cases where many VMs are used. In all other cases, use compression only (standard, no gzip) even if you don't need it.
There are no files on the server so no dedup have been done.
CPU usage is 0% and memory is 3%.

I know what dedup is used for. I have some experience with NetApp storage arrays. I have duplicate files... somewhere...

Tharbad
Starter
Starter
Posts: 24
Joined: 07 Feb 2013 14:06
Status: Offline

Re: Slow network speed

Post by Tharbad »

I've done the following:
Deleted the dedup dataset => same speed.
changed MTU to 1448 (Same as linux box) => same speed.

Used iperf:
from linux to windows => 11.4MB/s
from NAS to windows => 11.4MB/s
from windows to NAS => 11.4MB/s

So I decided to see what will happen if I try to copy a file from Linux to NAS => Speed is OK.
Tomorrow I'll try to understand why Windows is so slow when using SMB/CIFS...

Good night

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slow network speed

Post by b0ssman »

try setting the speed to 1000mbit full duplex in the lan configuration.

http://wiki.nas4free.org/doku.php?id=do ... erface_lan
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

Tharbad
Starter
Starter
Posts: 24
Joined: 07 Feb 2013 14:06
Status: Offline

Re: Slow network speed

Post by Tharbad »

b0ssman: It's appears that I was wrong. Switch max speed is 100MBps...

Problem is solved now. THIS IS A WINDOWS PROBLEM!!
I used SpeedGuide TCP Optimizer to change Network card settings.
Those are my working settings:

TCP Window Auto-Tuning=normal
Congestion Control Provider=ctcp
TCP Chimney Offload=disabled
Receive-Side Scaling State=enabled
EnableDCA=enabled
EnableTCPA=enabled
DefaultTTL=128
ECN Capability=disabled
Windows Scaling heuristics=enabled
Tcp1323Opts=1
DisableTaskOffload=1
MaxConnectionsPer1_0Server=8
MaxConnectionsPerServer=8
LocalPriority=499
HostsPriority=500
DnsPriority=2000
NetbtPriority=2001
SynAttackProtect=1
TCPMaxDataRetransmissions=10
LargeSystemCache=1
Size=3
NonBestEffortLimit=5
NegativeCacheTime=-1
NetFailureCacheTime=-1
NegativeSOACacheTime=-1
TCPNoDelay=1
MaxUserPort=-1
NetworkThrottlingIndex=10
TcpTimedWaitDelay=-1
[Local Area Connection]
MTU=1492
TcpAckFrequency=1
TcpDelAckTicks=0

When searching Google some people say Nagle's algorithm is to be blamed. I don't know if that's he case here too but I've disabled it anyway.
Hopefully it'll help someone.

Post Reply

Return to “XigmaNAS Networking Tune-up”