Allocation of all CPUs/resources to one user

Joined
Apr 7, 2022
Messages
5
Hello,

we are synchronizing our database to a TrueNAS and in comparison to our other NAS System (synology) it's slower.
Not sure if the TrueNAS is using all it's CPUs/ressources it has. Is it possible to allocate most of the CPUs to one TrueNAS user, so the TrueNAS isn't holding back?

This is the CPU usage during initial mirror synchronization
cpu usage.png


Most of the time it looks like only one cpu/thread is in use and it's switching between threads.
Is it normal that 91% of the thread is in use and that the work isn't more destributed to more CPUs?


TrueNAS Environment:
OS is installed on a M.2 NVMe SSD
Motherboard: Supermicro X10SDV-7TLNF
Raid Z with 8 x 1TB WDC Datacenter SSDs

Regards
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
TrueNAS never holds back. However, it is not magic, either.

Protocols such as Samba have historically been singlethreaded, which means that each client gets a Samba process and it is limited by the maximum CPU clock of the core. This is why we've typically suggested fast CPU's such as the E5-1650, E5-2643, and other high clock parts for heavy usage. A CPU with 1.7GHz clock is never going to be a strong performer for a single user.

Recent developments in Samba include multichannel support, which you can find useful information about from Google, especially if you look for results on this forum.

Your Synology NAS probably has a faster CPU.
 
Joined
Apr 7, 2022
Messages
5
No our Synology NAS ist driven by a Atom C2538 2,4Ghz with only 6GB RAM, which is a lot less CPU power than the Xeon D1537 of the SM Motherboard and we have 16GB RAM in this System. So everything in the Synology ist less powerd than the TrueNAS based on the Xeon D System. It can't be just Samba single Session technologie.

Any idea of speeding up the copies of small files in TrueNAS?
 
Joined
Apr 7, 2022
Messages
5
The Synology Raid is formated RAID 5 12x4TB HDD server class.

We are using SMB, due to the fact, that the main Server is based on Windows Server 2012 R2. We could try to switch the main Server to NFS and we could migrate the complete System to CentOS, which would be a lot of work.

Any hint how to improve the True NAS performance.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
It's likely that you're seeing a limitation of the single thread speed of that 1.7GHz.

See if a larger file copies more quickly, or if you do some testing with multiple clients.

Are your BIOS settings configured to allow for turbo/P-states?
 
Top