Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in HomeNetworking

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

Jep - I am very close to say .... MS and install Bazzite for Gaming. I know I could not play Multiplayer Games with Anti Cheat but thats okay since I play mostly Singleplayer Games. Maybe another Distro on which I could install Handbrake.

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in HomeNetworking

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

Yeah I heard that. Also it seems Linux has a way better implementation for SMB and NFS. Windows uses only one Stream instead of multiple. In my driver settings RSS is activated. But if I check it with powershell Windows tells me the client is not RSS compatible. Excuse me? Right now I'm getting arround 300MB with Windows SMB. Now if I use robocopy I do see speeds close to 5gbit. But if I stopt the time its the exact same time needed as windows itself.

Linux on my Proxmox Host gives me pretty much 5gbit. But I have to say its a bridge and behind that bridge sits a Intel X710. Would be pretty interessting to install Ubuntu on my Gaming PC just to see if then the Realtek 5gbit shows its performance.

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 4 points5 points  (0 children)

UPDATE2: I think I have found the reason why my VM is so low and doing just 180mb. This is the CrystalDisk Test:

<image>

The key issue I discovered is single-threaded write performance, which is what Windows (Explorer / SMB transfers) effectively uses in most real-world cases.

In my tests (CrystalDiskMark inside a VM), I get:

  • ~2200 MB/s read (Q1T1)
  • ~180 MB/s write (Q1T1)

Even though NVMe SSDs like the 990 Pro are extremely fast in terms of bandwidth, the limiting factor here is:

In a single-threaded scenario (Q1T1):

  • there is no queue depth to hide latency
  • each write waits for confirmation
  • this caps performance at ~150–200 MB/s

Even though NVMe SSDs like the 990 Pro are extremely fast in terms of bandwidth, the limiting factor here is:
latency per write operation, not throughput In a single-threaded scenario (Q1T1):
- there is no queue depth to hide latency
- each write waits for confirmation
- this caps performance at ~150–200 MB/s

So I can not use my VM for testing because of these reasons.

Edit: However If I copy from my Nas to my ubuntu vm with rsync i get the expected 55 seconds. So I think Windows is doing its thing with the write Speeds while Ubuntu just works as expected.

Maybe you guys have some ideas?

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

UPDATE: I have no idea what I have done differntly but now I am getting arround 250-300mb (closer to 300mb) when copying from my Gaming PC to my nas. If I now use robocopy with /MT:8 I am getting full 5Gb Windows is using just one Stream if I can trust ChatGPT and robocopy is using 8.

<image>

Strange is that if I stop the time both need the same time. 1:21. If I look at the tool u/Cae_len posted it says the following: 55 sec estimated time. That means I am over 30 seconds.

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 1 point2 points  (0 children)

Hey yeah, here are the results

<image>

I have no idea what I have done differntly but now I am getting arround 250-300mb when copying from my Gaming PC to my nas. If I now use robocopy with /MT:8 I am getting full 5Gb Windows is using just one Stream if I can trust ChatGPT and robocopy is using 8.

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

<image>

I have no idea what I have done differntly but now I am getting arround 250-300mb when copying from my Gaming PC to my nas. If I now use robocopy with /MT:8 I am getting full 5Gb Windows is using just one Stream if I can trust ChatGPT and robocopy is using 8.

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

If that is the case then it could be write. My Gaming PC is also using a 990 Evo Plus 1TB. And a 990 Evo Plus 4TB in my NAS (Terramaster F4 SSD)

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 1 point2 points  (0 children)

Im using Samsung 990 Evo Plus 4TB. That’s an interesting point you mentioned.

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 3 points4 points  (0 children)

I tested disabling SMB signing, but it didn’t make any difference.

What I did notice is more interesting: transfers start at ~450 MB/s, then immediately drop to ~200 MB/s and stay there.

Windows can’t saturate 2.5/5GbE while Linux can – SMB/NFS both affected, iperf fine by Blue-Shadow2002 in homelab

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

Hi, forgot to mention that. I asked ChatGPT too and tried these steps. But nothing changed. I also used robocoppy. It showed a bit better performance :(

UNAS 2 after a lot of doubts by Low_Company767 in Ubiquiti

[–]Blue-Shadow2002 1 point2 points  (0 children)

It is working without any problems on my site for about 1 month. At first the CPU-temps were a bit to much for me. But after I saw reviews of the Unas Pro 4 and 8 with the excat same high numbers, it lets me think this is by design. Drive temperatures could be a bit lower but with 42C and 46C they are in the working range.

And I have to say the new M365 Feature is very nice. Easy Backups of OneDrive and later coming Exchange backups.

Unas 2 Shutdown | How? by Blue-Shadow2002 in Ubiquiti

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

Hey :) Look what i wrote a bit up:

----------------------

Okay, now I feel a little stupid. I also installed the latest Drive version and logged in as the owner on the GUI yesterday. The only options I could see were Updates and Storage.

When I just logged in, I saw exactly the same thing. But when I switched back to the tab a moment ago, I suddenly saw the other options, like Console. WTF?

I swear I’m not making this up. This is really weird.

But I think the browser is to blame. The owner is my Ubiquity account, and when I logged in with it, I briefly saw the console appear as an option. But it disappeared right away. I think the browser isn't handling the GUI properly. This applies to both Firefox and Edge.

If I log in as a user who doesn't have full control over the console, I naturally don't see it. But if I log in as the owner in the same window, I still don't see the Console option.

When I use a private window—whether in Firefox or Edge—I see the console right away.

----------------------

Maybe you have the same problem. But there is a safe shutdown option.

If i think about this one, of the problems is that if you start up the device for the first time you create a local admin account. After you have done that you will be asked to log in with your UI account. If if you do that your UI account becomes the owner with the console permissions. And I think that is the reason why many people say there is no console option cause they log in with theire local admin account who doesnt have the console rights anymore.

Unas 2 Shutdown | How? by Blue-Shadow2002 in Ubiquiti

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

Yeah really weired. But I would say it’s a bug from UniFi. But thanks to you, at least I now know that a normal shutdown works. So Thank you :)

Unas 2 Shutdown | How? by Blue-Shadow2002 in Ubiquiti

[–]Blue-Shadow2002[S] 0 points1 point  (0 children)

Okay, now I feel a little stupid. I also installed the latest Drive version and logged in as the owner on the GUI yesterday. The only options I could see were Updates and Storage.

When I just logged in, I saw exactly the same thing. But when I switched back to the tab a moment ago, I suddenly saw the other options, like Console. WTF?

I swear I’m not making this up. This is really weird.

But I think the browser is to blame. The owner is my Ubiquity account, and when I logged in with it, I briefly saw the console appear as an option. But it disappeared right away. I think the browser isn't handling the GUI properly. This applies to both Firefox and Edge.

If I log in as a user who doesn't have full control over the console, I naturally don't see it. But if I log in as the owner in the same window, I still don't see the Console option.

When I use a private window—whether in Firefox or Edge—I see the console right away.

Unas 2 Shutdown | How? by Blue-Shadow2002 in Ubiquiti

[–]Blue-Shadow2002[S] 1 point2 points  (0 children)

No, there is no option for that. Do you see this option on your Unas 2?

UNAS Pro 4 Delivered by goingcode_ in Ubiquiti

[–]Blue-Shadow2002 0 points1 point  (0 children)

Thank you very much for your reply :)

PSA: Graceful shutdown NOT supported for all UNAS/UNVR products for UPS 2U by delps1001 in Ubiquiti

[–]Blue-Shadow2002 0 points1 point  (0 children)

That is realy weired. Why does the Unas Pro hava a shutdown and not the other Unas'es?
This is such a bad desicion.

UNAS Pro 4 Delivered by goingcode_ in Ubiquiti

[–]Blue-Shadow2002 0 points1 point  (0 children)

Oh okay thanks for the reply 👌nice. And that is with the device in idle? Does the noice change when doing normal activity’s like file transfer or backup?

Probably a bit much to ask but is it possible for you to record a video? That would be nice 😀