ownphotos
ownphotos copied to clipboard
photo scan is very slow
This is not a bug, but I wonder if it is possible to let users to decide what is being done when the photos are imported. Currently it runs very slow on my NAS. I have a large amount of photos that I don't need face detection and auto-tagging. If I can import photos first and do face detection and object detection later, it could be more efficient. On my NAS, ownphotos processed 3000+ photos in about 8 hours. And I have 20000+ photos in total.
hey there, on which NAS did you install ? and how.
I think a NAS has limited processing power, probably ARM cpu... ? So 3000 photos in 8 Hours is not dramatically bad.
I run ownphotos from docker so it is slow. But it is even slower compared to other services. For example, I also run Nextcloud and it feels faster. Ownphotos-backend generally takes about 10 seconds to process one photo. From logs I can see: face recognition take 3 seconds, thumbnail takes 1-2 seconds, captions generation takes 3-5 seconds.
@frankyifei Docker does not slow the speed compared to running ownphotos native. Its only containerization, not virtualization.
Sorry I should mention I run it from docker on windows 10. so it is virtualisation.
Ok, then this is a different issue than the photo scan being slow, because its an infrastructure issue and not a software issue. We can't make your software run faster if the bottlenetck is the IO due to virtualization.
My VM is all SSD. It still can't manage more than 14-16 photos per minute with 5 cpu cores and 7gb of RAM