touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #125977
[Bug 1529452] [NEW] Gallery app asks for same image multiple times at different sizes
Public bug reported:
I'm seeing this with image 342 from rc-proposed.
When starting the gallery app with around 300 photos in my Pictures
folder, I just noticed the request sequence shown below. Note that all
requests are for the same image and are issued pretty much all at once.
(There is about half a second elapsed time between the first and the
last request.) The requests keep changing the size only, starting at 342
and working their way down to 216. This is supremely inefficient because
each of the requests results in a separate scaling operation. In
addition, each of these requests ends up in the cache on disk, so this
behavior really hammers the battery and reduces cache efficiency.
thumbnailer-service: [09:25:36.825] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (342,342): 0.044376 sec (MISS)"
thumbnailer-service: [09:25:36.899] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (341,341): 0.020540 sec (MISS)"
thumbnailer-service: [09:25:36.942] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (340,340): 0.034030 sec (MISS)"
thumbnailer-service: [09:25:37.068] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (338,338): 0.143506 sec (MISS)"
thumbnailer-service: [09:25:37.095] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (335,335): 0.154219 sec (MISS)"
thumbnailer-service: [09:25:37.126] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (332,332): 0.162185 sec (MISS)"
thumbnailer-service: [09:25:37.145] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (326,326): 0.172134 sec (MISS)"
thumbnailer-service: [09:25:37.167] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (318,318): 0.177231 sec (MISS)"
thumbnailer-service: [09:25:37.188] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (307,307): 0.181870 sec (MISS)"
thumbnailer-service: [09:25:37.205] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (292,292): 0.182084 sec (MISS)"
thumbnailer-service: [09:25:37.223] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (273,292): 0.183793 sec (MISS)"
thumbnailer-service: [09:25:37.238] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (273,273): 0.198290 sec (MISS)"
thumbnailer-service: [09:25:37.369] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (250,273): 0.313627 sec (MISS)"
thumbnailer-service: [09:25:37.391] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (250,250): 0.334533 sec (MISS)"
thumbnailer-service: [09:25:37.402] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (218,218): 0.317747 sec (MISS)"
thumbnailer-service: [09:25:37.405] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (216,216): 0.310605 sec (HIT)"
** Affects: gallery-app (Ubuntu)
Importance: Undecided
Status: New
** Affects: thumbnailer (Ubuntu)
Importance: Undecided
Status: Triaged
** Also affects: gallery-app (Ubuntu)
Importance: Undecided
Status: New
** Changed in: thumbnailer (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to thumbnailer in Ubuntu.
https://bugs.launchpad.net/bugs/1529452
Title:
Gallery app asks for same image multiple times at different sizes
Status in gallery-app package in Ubuntu:
New
Status in thumbnailer package in Ubuntu:
Triaged
Bug description:
I'm seeing this with image 342 from rc-proposed.
When starting the gallery app with around 300 photos in my Pictures
folder, I just noticed the request sequence shown below. Note that all
requests are for the same image and are issued pretty much all at
once. (There is about half a second elapsed time between the first and
the last request.) The requests keep changing the size only, starting
at 342 and working their way down to 216. This is supremely
inefficient because each of the requests results in a separate scaling
operation. In addition, each of these requests ends up in the cache on
disk, so this behavior really hammers the battery and reduces cache
efficiency.
thumbnailer-service: [09:25:36.825] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (342,342): 0.044376 sec (MISS)"
thumbnailer-service: [09:25:36.899] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (341,341): 0.020540 sec (MISS)"
thumbnailer-service: [09:25:36.942] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (340,340): 0.034030 sec (MISS)"
thumbnailer-service: [09:25:37.068] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (338,338): 0.143506 sec (MISS)"
thumbnailer-service: [09:25:37.095] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (335,335): 0.154219 sec (MISS)"
thumbnailer-service: [09:25:37.126] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (332,332): 0.162185 sec (MISS)"
thumbnailer-service: [09:25:37.145] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (326,326): 0.172134 sec (MISS)"
thumbnailer-service: [09:25:37.167] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (318,318): 0.177231 sec (MISS)"
thumbnailer-service: [09:25:37.188] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (307,307): 0.181870 sec (MISS)"
thumbnailer-service: [09:25:37.205] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (292,292): 0.182084 sec (MISS)"
thumbnailer-service: [09:25:37.223] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (273,292): 0.183793 sec (MISS)"
thumbnailer-service: [09:25:37.238] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (273,273): 0.198290 sec (MISS)"
thumbnailer-service: [09:25:37.369] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (250,273): 0.313627 sec (MISS)"
thumbnailer-service: [09:25:37.391] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (250,250): 0.334533 sec (MISS)"
thumbnailer-service: [09:25:37.402] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (218,218): 0.317747 sec (MISS)"
thumbnailer-service: [09:25:37.405] "thumbnail: /home/phablet/Pictures/com.ubuntu.camera/image20151227_091023042.jpg (216,216): 0.310605 sec (HIT)"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gallery-app/+bug/1529452/+subscriptions
Follow ups
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Bill Filler, 2016-01-31
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Michi Henning, 2016-01-27
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Arthur Mello, 2016-01-27
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Launchpad Bug Tracker, 2016-01-27
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Launchpad Bug Tracker, 2016-01-26
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Bill Filler, 2016-01-26
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Michi Henning, 2016-01-24
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Pat McGowan, 2016-01-07
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Sebastien Bacher, 2016-01-05
-
[Bug 1529452] Re: Gallery app asks for same image multiple times at different sizes
From: Michi Henning, 2015-12-27