Nextcloud version (eg, 20.0.5): 28
Operating system and version (eg, Ubuntu 20.04):ubuntu
Apache or nginx version (eg, Apache 2.4.25): apache
PHP version (eg, 7.4): 8.2
Database: latest fresh install of mariadb
The issue you are facing:
I will update the actual versions (but they are downloads from 4 days ago in ubuntu, with the latest ubuntu downloadable iso at the time.
Set up amd 7950 64gb ram, 2ssds, 2 10 tb.
Running through vm workstation.
Scenario:
Files:scan takes 2.5 seconds per file. With > 20 thousand files that will take too long. I’m not interested in setting pictures sizes of thumbnails. CPU utilization at 5 percent? Mostly for the vm workstation. Cores allocated to the workstation is 8, and memory is 24 gb.
raid drive is visible in /mnt/pictures and is added as a local drive in nextcloud. To check if it’s something with SMB (it’s installed) I did some file movements/downloads of both a lot of little files and several multi gb files within the vm workstation running ubuntu. transfer speeds were of 60-110 mb/s and what I would expect for correct functioning. Within windows my resource monitor also confirmed said transfers within both network adapter (share drive to vm file move) and hard disk read activity.
Next scenario, open nextcloud and login from within windows to download large file and lots of little files. Performance was correct and as expected (speed wise)
Next scenraio: run .occ files:scan…no lock errors or anything. 2.5 seconds per file less for smaller files.
During the scan CPU usage is almost negligible, nic is barely used, hd activity almost none.
Perhaps to test if regurgitating completed thumbnails will be slow. Precached a folder with files:scan, opened it from a web browser on a remote machine. Thumbnails appeared very quickly.
Therefore, where is the bottleneck, how to check if utilization of resources nominal? Size of pictures is 400 kb to 25 mb. Avg 4mb