owncloud / gallery

:sunrise: Gallery app for ownCloud, which includes previews for all supported media files
GNU Affero General Public License v3.0
88 stars 65 forks source link

Gallery so slow it is unusable and unnecessarily scales images down #796

Open euphi opened 6 years ago

euphi commented 6 years ago

The gallery is so slow that it is impossible to use.

I have the problem with two different installations:

Steps to reproduce

  1. Upload some images to a directory
  2. Open the directory in File browser
  3. Click on a image to show it
  4. Click on forward or backward icons

Expected behavior

Actual behavior

--> I search for performance issues with gallery, but they are all related to thumbnail generation.

However, I'm not interested in the thumbnails, but in the original images.

So, even if the background thumbnail generation causes the extrem slowness of image delivery, this is an major design flaw in the gallery app: The content delivery must have a higher priority than background tasks!

In my cases the images are already scaled down to 4k resolution (file size ~700kB), but the gallery scales them even smaller. THis is not only a waste of CPU ressources, but also looks bad on 4k screens.

Server configuration

"ARMBIAN 5.38 stable Debian GNU/Linux 8 (jessie) 4.14.18-sunxi"

cloud server: ownCloud cloud version: 10.0.9 and 9.something

Updated from an older installation or fresh install:

List of activated apps:

The content of config/config.php:

Config report ``` { "system": { "instanceid": "oc08cc1f674a", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "datadirectory": "\/var\/www\/owncloud\/data", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",", "asset-pipeline.enabled": true, "trusted_domains": [ ***REMOVED SENSITIVE VALUE***", "192.168.0.220", "localhost" ], "dbtype": "mysql", "version": "10.0.9.5", "dbname": "owncloud", "dbhost": "localhost", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "theme": "", "maintenance": false, "memcache.local": "\\OC\\Memcache\\APCu", "forcessl": true, "loglevel": 2, "trashbin_retention_obligation": "auto", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "php", "mail_domain": "***REMOVED SENSITIVE VALUE***" } } ```

Are you using external storage, if yes which one: local folder, smb share, sftp, etc.

Are you using encryption: yes/no

Are you using custom gallery.cnf config files: yes/no

Web server error log

Cloud log

Client configuration

Browser log

DeepDiver1975 commented 6 years ago

We will deliver y new gallery implementation in the scope of phoenix https://github.com/owncloud/phoenix/issues/249