Slow Network or Slow Disk?


Recommended Posts

Hello i notice that when i copy files lets say 3GB ISO file, I am getting a network trans of 20kb.

The Hard Drives i have are 7200 64MB Cache
1GB Network Card Connected to a 1GB 16Port Switch (with only 2 Devices on the switch)

The Source server has two NICS teaming both Gig Nics
My UnRaid has only one 1Gb Nic.

as a Test I connected a 2nd server to the same switch running off SSD and moved File from the Server to the unRaid share. Same Speeds.
What should i see with GIG-to-GIG 3Gb file Trans Rate? More than 20KB right?

Any suggestion how to Rule out the network or the hardware?

Link to comment
1 minute ago, Zonediver said:

If you use bonding, then beware, that the switch must support this - if not, then you have the answer, why the trasfer is slow.

 

The Server that is teaming is only one of the two we tested from. Also when we first found this slow speed we added the 2nd nic but no change..

Once we tested on 2nd Source and seen the same thing i started to think it must be a setting or the unraid box or Drive speed because i did not add a Cache disk.

I did not add one thinking the HardDrives are fast.

Link to comment

2nd NIC in unRAID will not speed up single file transfers from what I understand till SMB Multichannel support is added, and unRAID has to wait for it to become released and stable before it can be added. That is why you don't see a speed boost when bonding/teaming.

 

Alternative is 10G Base-T which uses Cat6 so it's rj45, but cost is nutes and you would need a 10g switch also or option 2 is some good used mellanox cards which you can buy on ebay for cheep and do peer 2 peer.

 

Quote

SMB3 Multi-Channel
------------------

Samba 4.4.0 adds *experimental* support for SMB3 Multi-Channel.
Multi-Channel is an SMB3 protocol feature that allows the client
to bind multiple transport connections into one authenticated
SMB session. This allows for increased fault tolerance and
throughput. The client chooses transport connections as reported
by the server and also chooses over which of the bound transport
connections to send traffic. I/O operations for a given file
handle can span multiple network connections this way.
An SMB multi-channel session will be valid as long as at least
one of its channels are up.

In Samba, multi-channel can be enabled by setting the new
smb.conf option "server multi channel support" to "yes".
It is disabled by default.

Samba has to report interface speeds and some capabilities to
the client. On Linux, Samba can auto-detect the speed of an
interface. But to support other platforms, and in order to be
able to manually override the detected values, the "interfaces"
smb.conf option has been given an extended syntax, by which an
interface specification can additionally carry speed and
capability information. The extended syntax looks like this
for setting the speed to 1 gigabit per second:

    interfaces = 192.168.1.42;speed=1000000000

This extension should be used with care and are mainly intended
for testing. See the smb.conf manual page for details.

CAVEAT: While this should be working without problems mostly,
there are still corner cases in the treatment of channel failures
that may result in DATA CORRUPTION when these race conditions hit.
It is hence

    NOT RECOMMENDED TO USE MULTI-CHANNEL IN PRODUCTION

at this stage. This situation can be expected to improve during
the life-time of the 4.4 release. Feed-back from test-setups is
highly welcome.

 

Link to comment

Less be clear I only added a 2nd nic to the source server to see if it would help. still getting 20kb/s (showing on the unraid  server)
when adding a 2nd nic did not work I tested a transfer from other source server on the same switch same 20kb/s

What should i be expecting for for a transfer rate 1000MB port switch, 24port switch but only 2 computers on it. 

Link to comment

1GbE would be around a max of 125MB/s, but depending on cards/switch 100 to 115MB/s. This also depends on disk speed. SSD being fast and spindle or far slower.

 

Sata 3 7200 RPM drive should do transfers somewhere around 125MB/s to 150MB/s local range I would think.

Edited by PikkonMG
Link to comment

Are you sure that you Ethernet is coming up as 1GB.   The speed you showed in the screenshot look suspiciously like what one would expect from a 100Mb Ethernet.   It is always worth checking the Ethernet cable is not the issue.   1GB Ethernet requires 8 wires connected in the cable while 100Mb only requires 4.   Therefore a bad connection in the cable can cause speed to degrade to 100Mb.

Link to comment
7 minutes ago, PikkonMG said:

Is link that the unRAID server is plugged into green or amber? 

 

Green

When you do a file copy in windows its showing 11.1Mb/Sec But i dont really trust Windows Copy speed numbers.
what do some of you see ? in windows and from unraid at at the same time.

 

Edited by zdude
Link to comment

Wenn i copy between my Windows machines, i see up to 118MB/sek (944MBit) - 1000MBit-LAN in my home.

Wenn i copy data from or to my unraid server, i see max. 95MB/sek (760MBit) , but i use an old Intel Pro 1000 PCI NIC - so thats normal.

Your 11,1MB/sek means max. 88.8MBit.

Edited by Zonediver
Link to comment
41 minutes ago, zdude said:

 

Green

When you do a file copy in windows its showing 11.1Mb/Sec But i dont really trust Windows Copy speed numbers.
what do some of you see ? in windows and from unraid at at the same time.

 

 

From Tipp Lite wesite "Power LED (Green for Power On); One LED per RJ-45 port (Green indicates 10/100Mbps link; Amber indicates 1000Mbps link; LEDs flash to indicate port activity)"

 

Good that a reboot worked for you. Next time if it happens again try another reboot, or it could be an issues with the switch green power feature. I had a TPLink at one point that would get stuck in green energy mode and I would have to unplug it and plug it back in.

Edited by PikkonMG
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.