Hi,
I am running into a situation where a kopia backup that is run against a smb dataset with around a million files is causing high single core CPU (70-100%) usage.
How my system is laid out -
Windows 11 Backup PC running Kopia with TrueNAS core dataset connected via SMB.
This is over a 10Gbit link. Transfer speeds reach 10Gbit without issues.
TrueNAS core system - 2x E5-2667 v2 @3.30GHz w/ 384GB RAM (was using 2x E5-2650Lv2 which is half the per core performance)
Specific dataset is ~6TB ~1.35 million files on a RaidZ10 (4 RAIDZ1, 3 wide SATA HDD based vdevs striped) pool
Kopia spawns concurrent reads (24 because I have 24 logical CPUs on my Windows 11 Backup PC) against the dataset which leads to the smb client connection to use up it's 1 core.
I would like help understanding why this workload causes high cpu usage. I expected IOPS to be an issue rather than CPU for a workload like this.
SMB config:
Multichannel is working -
I am running into a situation where a kopia backup that is run against a smb dataset with around a million files is causing high single core CPU (70-100%) usage.
How my system is laid out -
Windows 11 Backup PC running Kopia with TrueNAS core dataset connected via SMB.
This is over a 10Gbit link. Transfer speeds reach 10Gbit without issues.
TrueNAS core system - 2x E5-2667 v2 @3.30GHz w/ 384GB RAM (was using 2x E5-2650Lv2 which is half the per core performance)
Specific dataset is ~6TB ~1.35 million files on a RaidZ10 (4 RAIDZ1, 3 wide SATA HDD based vdevs striped) pool
Kopia spawns concurrent reads (24 because I have 24 logical CPUs on my Windows 11 Backup PC) against the dataset which leads to the smb client connection to use up it's 1 core.
I would like help understanding why this workload causes high cpu usage. I expected IOPS to be an issue rather than CPU for a workload like this.
SMB config:
Code:
hide special files = yes server multi channel support = yes interfaces = "192.168.88.81;capability=RSS,speed=10000000000" aio read size = 1 aio write size = 1 # For connecting multiple clients on Windows netbios aliases = jellyfin readonly
Multichannel is working -
Code:
ServerName : 192.168.88.81 Selected : True Failed : False FailureCount : 0 ClientInterfaceIndex : 45 ClientRSSCapable : True ClientRdmaCapable : False ClientLinkSpeed : 10 Gbps ClientIpAddress : 192.168.88.109 ServerInterfaceIndex : 7 ServerRSSCapable : True ServerRdmaCapable : False ServerLinkSpeed : 10 Gbps ServerIpAddress : 192.168.88.81 MaxChannels : 4 CurrentChannels : 4
Last edited: