Slow backup speed to a local NAS

Questions about Cobian Reflector
Post Reply
justmie
Posts: 5
Joined: 26 Sep 2022, 18:36

Slow backup speed to a local NAS

Post by justmie »

Hi,

Since a few weeks I'm using Cobian Reflector on my new laptop to backup my most important files to my NAS (ubuntu based server with 6x4TB raidz2 ZFS). Before I did the same on my old laptop, which worked fine for the ~6 months I used Cobian. As my old laptop (Dell Inspiron G3, intel i5-8300h, 32GB, 512GB Samsung 970pro, Windows 10), had some issues, I got a new one (HP Victus 15", AMD Ryzen 5600h, 32GB mem, 512GB Samsung 980evo, Windows 11).
Since the switch my backup speed dropped from about 20-30MB/s to about 1-2MB/s. As my new laptop had a bit of a crappy wireless NIC (some cheapo realtek model), I replaced it with the intel AX200 out of my old laptop. No change.
When I do a normal filecopy I easily get ~40MB/s with less than 10% cpu usage. Even when I create a zipfile from my new laptop on my NAS with 7zip (with 1 thread) I get around 30-35MB/s. Just when Cobian is doing a backup it is slow as heck.

Is there something I'm missing here? I've compared settings between my old and new laptop in Cobian, everything is configured the same.

System info:
User name: derx
Domain name: DRONE
Machine name: DRONE

64-bit OS: Yes
64-bit process: True

OS Version: 10.0.22000.0
OS Version string: Microsoft Windows NT 10.0.22000.0
Platform ID: Win32NT

System directory: C:\windows\system32
System page size: 4 KB <---- Not Correct

Dotnet version: 4.0.30319.42000

Program version: 1.1.4
Database version: 1.0

Processor:
Processor name: AMD Ryzen 5 5600H with Radeon Graphics
Description: AMD64 Family 25 Model 80 Stepping 0
Manufacturer: AuthenticAMD
Status: OK
Cores: 6
Logical processors: 12
Current clock speed: 3301 MHz
Load percentage: 37%
Virtualization enabled: Yes

Drives:
Drive: C:
Caption: C:
Description: Local Fixed Disk
Volume name: Windows
Volume ID: C:
File system: NTFS
Compressed: No
Drive type: 3
Is dirty: No
Free size: 133,34 GB
Total size: 476,07 GB
Serial number: 7029998B

Drive: G:
Caption: G:
Description: Local Fixed Disk
Volume name: Google Drive
Volume ID: G:
File system: FAT32
Compressed: No
Drive type: 3
Is dirty: No
Free size: 2,25 GB
Total size: 15 GB
Serial number: 19831116

Drive: T:
Caption: T:
Description: Network Connection
Volume name: storage
Volume ID: T:
File system: NTFS
Compressed: No
Drive type: 4
Is dirty: No
Free size: 10,96 TB
Total size: 14,21 TB
Serial number: 7040902E
User avatar
cobian
Site Admin
Posts: 4470
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Slow backup speed to a local NAS

Post by cobian »

Are there a lot of small files? Disable the Copy attributes and Copy timestamps (and Copy NTFS permissions even if it does nothing in your case). It should go a lot faster.
--
Luis Cobian
Cobian Backup's creator
justmie
Posts: 5
Joined: 26 Sep 2022, 18:36

Re: Slow backup speed to a local NAS

Post by justmie »

Unfortunately not. These are big video files. The extension is in the non-compress, so the zip should be created without compression (more like a copy then).
It's just like there's a buffering or caching issue or something. I just can't figure out what it is. Especially as the server is the same as before, the data is almost the same as before (I restored the backup of my old laptop to this one, and made a new backup :) ). The biggest difference is that this is Windows 11, and the old one was Windows 10.
justmie
Posts: 5
Joined: 26 Sep 2022, 18:36

Re: Slow backup speed to a local NAS

Post by justmie »

Screenshot of a test backup in progress.
Top left: the files being backed up
The rest is self explanatory imho.

I've tested priority high and normal. Makes no difference.
Screenshot 2022-09-26 232948.png
Screenshot 2022-09-26 232948.png (372.41 KiB) Viewed 15076 times
Last edited by justmie on 26 Sep 2022, 23:30, edited 1 time in total.
justmie
Posts: 5
Joined: 26 Sep 2022, 18:36

Re: Slow backup speed to a local NAS

Post by justmie »

Same files, direct copy by windows screenshot:
Screenshot 2022-09-26 233434.png
Screenshot 2022-09-26 233434.png (276.23 KiB) Viewed 15075 times
User avatar
cobian
Site Admin
Posts: 4470
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Slow backup speed to a local NAS

Post by cobian »

For uncompressed backups the program is using the Windows API CopyFileEx, so it shouldn't differ so much from Windows. :|
--
Luis Cobian
Cobian Backup's creator
justmie
Posts: 5
Joined: 26 Sep 2022, 18:36

Re: Slow backup speed to a local NAS

Post by justmie »

I've been testing some more, and indeed, if I set the compression type of the backup to "uncompressed" instead of "compress files individually", the speed is what I would expect. Just when I enable the compression, the speed is less than 5% of without compression. And I have the video files added to the uncompressed extensions (I know that means they still get zipped, but just with store, not compression).

So I think something happens on Windows 11 (I didn't have this on Windows 10) when compression is enabled, that keeps cobian from reaching the speeds it is capable off.

I would gladly assist in debugging this, but I have no idea where to start.
Attachments
2022-09-30 12_33_12-Task Manager.png
2022-09-30 12_33_12-Task Manager.png (81.14 KiB) Viewed 15018 times
User avatar
cobian
Site Admin
Posts: 4470
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Slow backup speed to a local NAS

Post by cobian »

The compression is happening directly in the NAS and that's not always a good thing. For the next version I will perhaps compress locally and then copy to the destination.
--
Luis Cobian
Cobian Backup's creator
justmie
Posts: 5
Joined: 26 Sep 2022, 18:36

Re: Slow backup speed to a local NAS

Post by justmie »

For that my friend, I sent you a small donation as a token for my gratitude.
User avatar
cobian
Site Admin
Posts: 4470
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Slow backup speed to a local NAS

Post by cobian »

Thanks
--
Luis Cobian
Cobian Backup's creator
Post Reply