Low transfer speed on 10g cable

Windows Access Rights Management
PeterT1959
Know my way around
Posts: 201
Joined: Mon Nov 19, 2012 11:16 am

Re: Low transfer speed on 10g cable

Post by PeterT1959 »

Why is jumbo frame size different on the PC and Nas?

Sent from my Pixel 4a using Tapatalk

User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: Low transfer speed on 10g cable

Post by Toxic17 »

PeterT1959 wrote: Tue Jun 07, 2022 1:11 am Why is jumbo frame size different on the PC and Nas?

Sent from my Pixel 4a using Tapatalk
different vendors write the drivers I guess.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Piiba
Starting out
Posts: 18
Joined: Mon Jun 06, 2022 6:28 pm

Re: Low transfer speed on 10g cable

Post by Piiba »

waht gateway for the 10g connection?
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Low transfer speed on 10g cable

Post by dolbyman »

no need for a gatway no requests other then the dedicated subnet traffic is going there, if you want you can put the NAS in there 192.168.10.10
Piiba
Starting out
Posts: 18
Joined: Mon Jun 06, 2022 6:28 pm

Re: Low transfer speed on 10g cable

Post by Piiba »

Ok so here some news.
I set up the connection as you suggest (thx so much), disabled the chace and use the two nvme to set up a new volume. Just to test the max speed of the connection without bottleneck.
And in fact, the 10g connection is ok. I got max write speed on this nvme volume.
I also tried to write on the main hdd voulume, and the speed was again very low, less than 100mb/s on avarage. But the read was good, 300mb/s on avarage. Could be that raid 6 is very bad in write speed?
Then, i tried to set up again the cache on read/write mode with 30% over-provisioning (disabling the small nvme volume just created). It manage to made a 120gb transfer at max speed, so seems like the problem is solved.
Anyway, i notice that in the usage chronology of the cache, the write speed was at 100% during the copy while the read speed build up till 85% at the end of the copy. And once the copy was finished, the write speed don't drop to zero but stayed at 100% and the read at 85% for like 5 minutes. I supposed it's because the nas was copying the files from the cache to the volume?
The strange thing is that one minute after the write and read speed of the cache go down to zero, the write speed spike up again at 100% for another 3 minute. Then it stay at zero for another 2 minute, and after that the write and read goes up again at 100% for another couple of minute. Than zero again for some other minute, then again at 100%. Why?
In the resources monitor, the cache volume was reading at 40mb/s, and the hdd voume writing at 40mb/s at all the time after the copy ended. But how can 40mb/s be the 100% usage of nvme and hdd drives?
How this cache system work?
Then, i try to make anaother 120gb transfer while the write usage of the cache was at 100% (the read was zero) and it manage anyway to complete the transfer at max speed. Then all the strange (to me) up and down usage repeat.
So, it seems that thx to your help i have sucessfully build up a proper 10g connection, but many question remains about how the cache work...
I'll keep it monitored,
thx to dolbyman for your precious support! I have learned something new today.
User avatar
qrusher
Know my way around
Posts: 143
Joined: Thu Mar 15, 2018 9:51 pm
Location: R/U/serious
Contact:

Re: Low transfer speed on 10g cable

Post by qrusher »

whats yours hhd setup model?

try
set ssd in raid0 on a write onli mode for random flow
crush qnaps like a thanos crushing planets
Updates are compromise between old bug patches and new bugs introduced. 8)
do you backup..then kill it with fire
stuff:mikrotik Crs309-1g-8s+in & s+rj10 x4
Piiba
Starting out
Posts: 18
Joined: Mon Jun 06, 2022 6:28 pm

Re: Low transfer speed on 10g cable

Post by Piiba »

I got 6x6tb wd red in raid 6 (with 2 disk failure).
As far as i know, u can't set a raid 0 for the cache if u want write only mode, only raid 1 is avaible.
Anyway now it work, if i had some other problem i'll try the write only mode.
Thx again
Piiba
Starting out
Posts: 18
Joined: Mon Jun 06, 2022 6:28 pm

Re: Low transfer speed on 10g cable

Post by Piiba »

Hi again.
One problem have raised again.
Now the win10 pc don't use the 10g asus network card for trasnfer file to the nas. It only use the 1g onbard card. If i disabled the 1g card, then it use the 10g card. So the 10g card is there and working, but win10 don't want to use it.

Here my lan config:
PC 10g network card (directly connected to the nas):
IP: 192.168.10.20
Subnetmask: 255.255.255.0
Gateway: 192.168.10.10
DNS: 8.8.8.8, 8.8.4.4
Jumbo: 9000
Metric: 1

PC 1g network card (connected to internet via switch, also the NAS is connected to this switch):
IP. subnet, gateway: automatic
DNS: 8.8.8.8, 8.8.4.4
Metric: 10

10G interface on the NAS (directly connected to the pc):
IP: 192.168.10.10
Subnetmask: 255.255.255.0
Gateway: 192.168.10.10
DNS: 8.8.8.8, 8.8.4.4
Jumbo: 9000

There is a way to force win10 to use only the 10g card for connect to the nas?
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Low transfer speed on 10g cable

Post by FSC830 »

IMHO its nonsens to set Google IPs for DNS at 10G network! Use own IP of device.
Also why setting gateway at PC with NAS IP? Use also own device IP.
Which IP is PC using at 1G?

How are the PC and NAS connected (via hostname or via IP)?
Connect shares using the IP and PC should use only the 10G interface for accessing the shares.

Regards
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Low transfer speed on 10g cable

Post by dolbyman »

if the 10GbE is set on a dedicated subnet and mounts are done via IP, no way that 1GbE would be used...something aint (done) right
nibbles2bits
Getting the hang of things
Posts: 50
Joined: Fri Aug 23, 2019 10:17 am

Re: Low transfer speed on 10g cable

Post by nibbles2bits »

If the PC can access the NAS over the 1G subnet, then the PC is getting a /16 netmask from DHCP.
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Low transfer speed on 10g cable

Post by dolbyman »

most consumer routers give out /24 by default


I guess if op set the router dhcp that far open, it could be a possibility
Piiba
Starting out
Posts: 18
Joined: Mon Jun 06, 2022 6:28 pm

Re: Low transfer speed on 10g cable

Post by Piiba »

FSC830 wrote: Fri Jun 24, 2022 6:40 pm IMHO its nonsens to set Google IPs for DNS at 10G network! Use own IP of device.
Also why setting gateway at PC with NAS IP? Use also own device IP.
Which IP is PC using at 1G?

How are the PC and NAS connected (via hostname or via IP)?
Connect shares using the IP and PC should use only the 10G interface for accessing the shares.

Regards
Hi, what do you mean with "own ip of device"? For example, if the ip of the 10g card on the pc is 192.168.10.20, i have to set it also as DNS? And same for gateway?
The ip of the pc is 192.168.1.52, i reserved this ip in the dhcp lan reservation of the router.
I don't know what u mean with the hostname or ip connection between nas and pc. How do i verify this?
Thx again and sorry, it's my first setup with a nas and a 10g connection, so i'm pretty noob at it.
Last edited by Piiba on Mon Jul 04, 2022 8:16 pm, edited 1 time in total.
Piiba
Starting out
Posts: 18
Joined: Mon Jun 06, 2022 6:28 pm

Re: Low transfer speed on 10g cable

Post by Piiba »

dolbyman wrote: Sat Jun 25, 2022 7:45 am most consumer routers give out /24 by default


I guess if op set the router dhcp that far open, it could be a possibility
The subnet mask of the router is set to 255.255.255.0, while the subnet of the 10g cards (the nas and the pc ones) are set at 255.255.0.0.
Don't know what /16 or /24 means, sorry
Last edited by Piiba on Mon Jul 04, 2022 8:16 pm, edited 1 time in total.
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Low transfer speed on 10g cable

Post by FSC830 »

Yes, exactly. That has nothing to do with NAS, its just networking.
Some OS do not allow to leave DNS or gateway "blank", in that case just enter the IP of the device you are configuring.
Your 10G connection is a dedicated connection between PC and NAS, so you need no DNS and gateway.

Question for connection type: did you mount the share via the hostname of the NAS, i.e.

Code: Select all

\\mynas\myshare
or via IP, i.e.

Code: Select all

\\192.168.10.10\myshare
?

If you are using the hostname, you must ensure that name resolution do not point to 1G interface! Using the IP this will not occur.
You can check this from your PC by running

Code: Select all

nslookup mynas
and

Code: Select all

nslookup <IP-of-NAS>
.
Last command you can run with both NAS IPs (1g and 10g), only the one of them should return the hostname!

Regards

Edit:
/16 is CDIR notation for 255.255.0.0, /24 for 255.255.255.0
You must use /24 (255.255.255.0) for both!

Edit#2:
***removed***
Is your 1g network still using 192.168.1.x IP range with subnet mask 255.255.255.0? (see your post from June 6th!)
Post Reply

Return to “Windows”