I had figured everything out already by that time, but I'm running into other issues now where my router is forcing my WAN to be at 100 Mbps...
So this is what I was originally going to post, just to provide information to people:
I have tried messing with Jumbo frames in various places, as well as setting "interface" settings for samba in the NAS. Note that you can't actually set this in TOS for 2 reasons:
1: The OS truncates the line.
2: The OS inputs backticks instead of quotation marks (I'm unsure if this matters as I have no familiarity with samba)
I went into the NAS via SSH and modified /etc/samba/smb-customize.conf using vi to include the following which was not possible to add using TOS:
Code: Select all
interfaces = "eth0;capability=RSS,speed=2500000000" "eth1;capability=RSS,speed=2500000000"
I found this on a Reddit post, which also has instructions on how to check in Windows PowerShell if the other device is making use of Receive Side Scaling (the NAS IS) as well as confirming that your computer is capable of this RSS feature and using it (my PC IS). I also set the aio write and read to 0, as instructed in the Reddit post. As I said earlier, someone on this forum said to use 1. I have tested both. Neither work.
After changing the config, I use the following command to restart samba, rather than restarting the entire NAS:
As you can see, with the settings I found on Reddit, it shows 2 NAS IPs capable of RSS during my copy:
So I have a 2.5 GbE NIC, 2.5 GbE switch, and both ethernet cables connected from the NAS to the switch, as well as my PC connected to the switch. My transfer speeds are still about 110 - 115 MB/s and they keep dipping down to 0 for several seconds and then slowing creeping back up.
I have drives capable of over 200 MB/s.
But finally.. I noticed I had connected my work computer to my switch when I setup all new cables. My regular PC was connected to the router.
Now that I fixed this, the transfers are starting at 298 MB/s and then dropping down to 1 MB/s or so and then going back up, and so on. Now I'm wondering if there's anything I can do to stop this from being a rollercoaster of speed? Is it hitting some kind of maximum buffer somewhere? I checked the NAS and the CPU and RAM are nowhere near being fully utilized. Host machine has a Ryzen 3900X and 2x 16GB 16-16-16-36 3600 Mhz RAM running Windows 10 Enterprise 22H2 19045.5371.
I don't see any hard drive activity on the host system, which I figure is the result of using SMB?
So for TMNick: Is there anything I can do about the speed dropping to 0 and then resuming again during SMB transfer?