System is sluggish and doesn’t seem to be doing a lot

CPU, memory, fan, process, services status, system log, tempreture
User avatar
jgeorge1983
Posts: 11
Joined: 25 Sep 2024, 22:56
Great Britain

System is sluggish and doesn’t seem to be doing a lot

Post by jgeorge1983 »

I have a F6-424(F/W 6.0.512-00137)
The OS is running on a SanDisk Extreme PRO 500 GB M.2 NVMe 3D SSD
I have a second SanDisk set up as a storage pool which I want to use for apps.
I have a TRAID running 4x8tb drives - Seagate 8TB Barracuda SATA 6Gb/s 256MB Cache 3.5-Inch Internal Hard Drive (ST8000DM004)

When I check the system monitor:
Overall “System is sluggish”, load 100%
CPU 1-2%
memory 14%

I am trying to install apps, ffmpeg, ffmpeg51, jellyfin and modbase1

I have the app install files on the app SSD, but it takes 10 minutes to install and app to that SSD. Currently installing modbase has been running for 30 minutes and is at 1%.

All of my drives are running “normal”. There is no network traffic going to the device.

I don’t understand how it can run so slow when there isn’t anywhere that explains what is causing it to be sluggish?!
User avatar
Gremlin
Gold Member
Posts: 1628
Joined: 02 Dec 2022, 22:31
Great Britain

Re: System is sluggish and doesn’t seem to be doing a lot

Post by Gremlin »

I don't know, but maybe one or more of those apps are not yet adapted for Tos 6.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
TMroy
TM Support
Posts: 3060
Joined: 10 Mar 2020, 14:04
China

Re: System is sluggish and doesn’t seem to be doing a lot

Post by TMroy »

High CPU, memory, and disk IO utilization rates can all lead to system sluggish. If your CPU and memory utilization rates are not high, but your system is indicating a sluggish, it is likely that your disk is busy with high IO operations. May I ask if your disk array synchronization is complete? Are you using the btrfs file system? Have you recently deleted a large number of files? Are you currently performing disk defragmentation?

Here's a breakdown of potential causes and considerations:

Disk Array Synchronization: If your system uses RAID or any form of disk array, incomplete synchronization can cause performance bottlenecks. Ensure that all disks in the array are properly synchronized.

File System Type: The btrfs file system, while offering advanced features like snapshots and compression, can have performance implications, especially in high IO scenarios. If you are using btrfs, consider monitoring its performance closely.

Recent File Deletions: Deleting a large number of files can trigger significant disk IO as the file system updates its metadata. If you have recently deleted many files, it might still be affecting disk performance.

Disk Defragmentation: While defragmentation can improve disk performance by organizing files more efficiently, it is a resource-intensive process that can cause temporary system blockages. If you are currently defragmenting your disk, consider scheduling it during off-peak hours.

To diagnose the specific cause of your system sluggish, you can use tools like iotop, dstat, or iostat to monitor real-time disk IO and identify which processes are causing high IO. Additionally, checking the health and status of your disk array and file system can provide valuable insights.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
jgeorge1983
Posts: 11
Joined: 25 Sep 2024, 22:56
Great Britain

Re: System is sluggish and doesn’t seem to be doing a lot

Post by jgeorge1983 »

Thanks for the answer TMroy

Disk sync is complete, but I have recently copied over 7.5tb of data across the traid

I am using BTRFS file system

how can I check if it’s defragging? I haven’t manually started one

To check those IO rates, do I need to run that on a computer and point it at the nas or can I run it direct on the NAS?

The health of my disks all say they’re good and healthy.
User avatar
TMzethar
TM Support
Posts: 2823
Joined: 27 Oct 2020, 16:43

Re: System is sluggish and doesn’t seem to be doing a lot

Post by TMzethar »

Regarding defragmentation, you can keep an eye on the activity of btrfs-related processes such as [btrfs-transacti] or [btrfs-cleaner]. (via commands like ps -ef, pidstat 1, top, etc.).
You can run and view it directly on the NAS. TOS has a terminal function for you to enter commands and monitor.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
jgeorge1983
Posts: 11
Joined: 25 Sep 2024, 22:56
Great Britain

Re: System is sluggish and doesn’t seem to be doing a lot

Post by jgeorge1983 »

Would I not just be able to see those via the “processes” section in the settings of the web gui?!
User avatar
Gremlin
Gold Member
Posts: 1628
Joined: 02 Dec 2022, 22:31
Great Britain

Re: System is sluggish and doesn’t seem to be doing a lot

Post by Gremlin »

jgeorge1983 wrote: 23 Oct 2024, 03:06 Would I not just be able to see those via the “processes” section in the settings of the web gui?!
You might, but I find that display refreshes too quickly (and goes back to default sort order) to maintain a view of what you are looking for. Minor point but another annoying design oddity.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
jgeorge1983
Posts: 11
Joined: 25 Sep 2024, 22:56
Great Britain

Re: System is sluggish and doesn’t seem to be doing a lot

Post by jgeorge1983 »

Ahhhhhh ok that makes sense then yeh. Can see why you’d check it in terminal, thanks!
User avatar
TMzethar
TM Support
Posts: 2823
Joined: 27 Oct 2020, 16:43

Re: System is sluggish and doesn’t seem to be doing a lot

Post by TMzethar »

Regarding the sort reset issue, we have submitted it to the list and the team will discuss how to optimize it in the future.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
JPMoose
Posts: 2
Joined: 19 Dec 2023, 19:49

Re: System is sluggish and doesn’t seem to be doing a lot

Post by JPMoose »

jgeorge1983 wrote: 21 Oct 2024, 17:36
I have a TRAID running 4x8tb drives - Seagate 8TB Barracuda SATA 6Gb/s 256MB Cache 3.5-Inch Internal Hard Drive (ST8000DM004)


I've just returned one of those drives since it made my NAS grind to a halt after running flawlessly for 10 months. It's listed as an incompatible drive in searches. I've no idea how technically that can be possible, it's just a hard drive running on a Linux based OS but removing it removed the sluggishness.
Locked

Return to “System Resources”