Nextcloud 27 - all Page-load times about 5 seconds, can it be made faster on a core2duo?

Hi,

I have similar speed issues.

My environment:

  • Client Chromium (120.0.6099.216) Ubuntu 22.04, i7, 32 GB RAM, SSD
  • Server HW is Intel(R) Coreā„¢ i7-3610QM CPU @ 2.30GHz, 16 GB RAM, 8TB SSD.
  • Using Nextcloud 27.1.5 with NGINX+FPM+REDIS+MARIADB.
  • Only default apps installed, (fol a list please see below)

Initially I thought it is server side issue and I am still not 100% sure it is not, but profiler in Chrome shows this:

image

Could it be something wrong in the frontend?

occ app:list
Enabled:

  • activity: 2.19.0
  • admin_audit: 1.17.0
  • bruteforcesettings: 2.7.0
  • cloud_federation_api: 1.10.0
  • comments: 1.17.0
  • contactsinteraction: 1.8.0
  • dashboard: 7.7.0
  • dav: 1.27.0
  • externalportal: 1.2.0
  • federatedfilesharing: 1.17.0
  • files: 1.22.0
  • files_external: 1.19.0
  • files_markdown: 2.4.1
  • files_reminders: 1.0.0
  • files_rightclick: 1.6.0
  • files_sharing: 1.19.0
  • files_trashbin: 1.17.0
  • files_versions: 1.20.0
  • firstrunwizard: 2.16.0
  • imageconverter: 1.3.5
  • logreader: 2.12.0
  • lookup_server_connector: 1.15.0
  • memories: 6.2.2
  • notifications: 2.15.0
  • oauth2: 1.15.1
  • password_policy: 1.17.0
  • photos: 2.3.0
  • previewgenerator: 5.4.0
  • privacy: 1.11.0
  • provisioning_api: 1.17.0
  • recommendations: 1.6.0
  • related_resources: 1.2.0
  • serverinfo: 1.17.0
  • settings: 1.9.0
  • sharebymail: 1.17.0
  • suspicious_login: 5.0.0
  • systemtags: 1.17.0
  • text: 3.8.0
  • theming: 2.2.0
  • twofactor_backupcodes: 1.16.0
  • twofactor_totp: 9.0.0
  • updatenotification: 1.17.0
  • user_status: 1.7.0
  • viewer: 2.1.0
  • weather_status: 1.7.0
  • workflowengine: 2.9.0
    Disabled:
  • circles: 27.0.1 (installed 27.0.1)
  • encryption: 2.15.0
  • federation: 1.17.0 (installed 1.17.0)
  • files_pdfviewer: 2.8.0 (installed 2.8.0)
  • nextcloud_announcements: 1.16.0 (installed 1.16.0)
  • notes: 4.9.2 (installed 4.9.2)
  • support: 1.10.0 (installed 1.10.0)
  • survey_client: 1.15.0 (installed 1.15.0)
  • user_ldap: 1.17.0

I just upgraded from nextCloud 27 to 28, and my page load times for Files app is 5 seconds regularly still.

This is in a highly-tuned installation, whereby the VM has 8x CPU Cores (e5-2667 v2), 6GB of RAM, and all storage backed by stripe-raid ZFS SSD storage.

This same system has become slower in the Files and other page loading apps over the last few major nextCloud versions. So this is a software problem at heart, and not a hardware problem.

Iā€™ve gone through the performance tuning documentation countless times over the years, and yeah, the performance in the web interface is unacceptably slow.

How many websites would you just completely leave if it took 5 seconds to load? Would you even use google.com if it took 5 seconds to load?

No. You wouldnā€™t, because in the modern sense, thatā€™s an unacceptable load time.

And yes, I have compression on, HTTP/2 on, TLS higly tuned. Thereā€™s realistically zero excuse for this performance. (oh and this is on a low-usage installation btw)

There are quite a few apps. I would try around if you disable them selectively, if there is perhaps one that makes a huge difference for the loading time.
For some it can help to check the resource usage when you use Nextcloud, if your CPU is at maximum usage, if there is high i/o wait, if the RAM is used (some have even unused RAM and did not adjust their DB cache, ā€¦).

Unfortunately, there is no magic switch. We can just try to figure it out step by step.

Also the apps could be interesting, especially where a lot of features were added.

I have less powerful processor, no SSD drives and it is less than 3s. Once the files app is loaded and I go through folders, it is even faster.

Dell Optiplex 3050 Micro 4 Gb of Ram 1 250 GB SSD for the system a Dock Station plugged into the wall and via USB 3.0 with 2 4 TB HDā€™s I consider it super fast for the amount of stuff it has as I run Jellyfin at the same time or NGINX Proxy Manager and even when it was on the core 2 duo which was the same model as yours it also worked like this and another change you can make I donā€™t know which distribution you are using but I would recommend debian or if applicable dietpi whatā€™s on the desktop

Really I have 23.xx, 25.xx and 28.xx running as VMs with the same settings

the log ins are 1.5 seconds

But Version 28.00 takes a full 3 seconds no matter what. 3 seconds you can notice. 1.5 sec is tolerable.

For performance issue you can open own threads and post details. Sometimes it is good to have an additional free Nextcloud acount to compare time, files, data in brower dev function F12.