LAN network, flow issue

====Machine translation added by Dolbyman====

Hello,

I have a QNAP TS219 NAS, which has a Western Digital 6 Gb/s SATA hard drive (model number: wd20efrx-68euzn0.0).

My PC, running Windows 11, has an Asus motherboard equipped with a gigabit network card (Intel(R) Ethernet Connection (7) I219-V).

The NAS and the PC are connected together by two Cat 6 molded Ethernet cables through a Gigabyte switch.

The problem I’m having concerns the speeds from the NAS to the PC, or vice versa.

But in both cases, I’m copying large files > 2TB.

The Windows speed displays between 5 and 8 MB/s max. (Windows system window).

I tried copy utilities (Ultracopier or others) and the same observation.

My speed seems slow. How can I optimize it?

Thank you in advance.

Hello, this is an English forum, please only post your questions in English

The NAS is 15+ years old, speeds of this NAS will never exceed 30-50MB\s no matter what cables or switches your connect it with.

If you run any SMB level with encryption, this would explain these speeds (SMB 2.1 is max on this NAS)

Thanks to Dolbyman for translation.

Ok, for information but I’m sure that in the past, I was able to have transfer at 25MO/s. I don t know why my transfer slow down. Upgrade of the firmware of the NAS ? Uprgrade of my OS ? (winXP, Win10, now Win11)
does jumbo frames can help me ? Because I ve seen in the monitor of the NAS, that the processor goes up to 90% while I copy file from my pc to the nas…

You can try using SMB 1.0, to force the connection to be unencrypted (needs to be set on your client) and see what speeds you see.

When you talk about “set on my client” you mean on my computer with win11 ?
But on the nas, It seems I can t modify the version of SMB. Probably upgraded with the firmware I suppose…

If you restrict your NAS SMB level to 1, your Win11 will just stop finding your NAS, not really helping, so you need to enable SMB1 on your client. (just to test and prove the point, not to keep it on forever)

How can I restrict my NAS SMB level to 1 ?

On these old NAS only via SSH

smb2disable

I suppose “smb2enable” to reactivate SMB2 after the tests ?

correct …or smb21enable (for SMB level 2.1)

Here is a way, but it’s a bit more involved

Thank you very much for the explanations. Have a good night (here in france it’s evenning)

Keep us updated on how it goes.

OK. no pb.

When I use the command, I ve got this error :
“Shutting down SMB services:sh: /etc/.qsys.log: Permission denied”

I connect to the NAS in SSH with Admin account

you mean the account “admin” and not another one…correct ?

I mean another who is in administrator group (I have disabled the admin user)

I ve actually re-enable admin user and try the command, and it seems to work. Here is the log :
Shutting down SMB services: smbd smbd-notifyd cleanupd nmbd.
Shutting down winbindd services: winbindd.
max protocol SMB 1 … enabled.
locks path was set to /share/HDA_DATA/.locks
Shutting down winbindd services: winbindd.
Starting winbindd services:Starting SMB services:.

smbd (samba daemon) Version 4.4.16
smbd (samba daemon) is running.
max protocol SMB 1 enabled.

I have lost connection by the web navigator and my smb share don"t work actually.
I still have a connection by SSH. Do I have to come back to SMB 3 and rollback ?

[/] # ps -aux | grep smb
7200 admin 3308 S /usr/local/samba/sbin/winbindd -s /etc/config/smb.conf
7289 admin 4568 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
7292 admin 2764 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
7293 admin 2740 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
7312 admin 2624 S /usr/local/samba/sbin/winbindd -s /etc/config/smb.conf
7315 admin 5072 S /usr/local/samba/sbin/winbindd -s /etc/config/smb.conf
7316 admin 3036 S /usr/local/samba/sbin/winbindd -s /etc/config/smb.conf
7321 admin 3296 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
7365 admin 2516 S /usr/local/samba/sbin/nmbd -l /var/log -D -s /etc/config/smb.conf
12477 admin 568 S grep smb

As mentioned before, you need to set your client to SMB1