Random-Photo-Screensaver icon indicating copy to clipboard operation
Random-Photo-Screensaver copied to clipboard

Loading metadata int database takes long and consumes lot of CPU

Open BorisKostrhun opened this issue 3 years ago • 0 comments

I run the screensaver on a folder with 120k+ pictures/videos where 99,9% no changes in file structure happen. After every start the screensaver rebuilds the list of files + the metadata database which loads the disk + CPU - what affects the performance of background tasks (e.g. backup of the picture library).

Is it possible to implement one of following:

  1. configure how often the database is being rebuild (e.g. once a week/month)?
  2. limit the CPU usage to e.g. 2% of CPU capacity / disk troughput
  3. stop using the metadata database completely
  4. limit the time when screensaver updates the database (e.g. 01:00 till 04:00)
  5. something else?

BTW: Big thumb up for yor screensaver - I like it!

BorisKostrhun avatar Dec 07 '21 09:12 BorisKostrhun