Page 1 of 2
System is sluggish and doesn’t seem to be doing a lot
Posted: 21 Oct 2024, 17:36
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?!
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 22 Oct 2024, 06:10
by Gremlin
I don't know, but maybe one or more of those apps are not yet adapted for Tos 6.
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 22 Oct 2024, 13:37
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.
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 22 Oct 2024, 18:12
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.
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 22 Oct 2024, 23:13
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.
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 23 Oct 2024, 03:06
by jgeorge1983
Would I not just be able to see those via the “processes” section in the settings of the web gui?!
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 23 Oct 2024, 05:04
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.
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 23 Oct 2024, 05:06
by jgeorge1983
Ahhhhhh ok that makes sense then yeh. Can see why you’d check it in terminal, thanks!
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 24 Oct 2024, 18:01
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.
Re: System is sluggish and doesn’t seem to be doing a lot
Posted: 31 Oct 2024, 22:27
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.