Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Issue 1681553003: Optionally run RAW images serially (Closed)

Created:
4 years, 10 months ago by scroggo
Modified:
4 years, 10 months ago
Reviewers:
msarett, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Optionally run RAW images serially RAW images use a lot of memory. Add a new FLAG to run one at a time so we have less risk of running out of memory. Isolate RAW images to their own thread on particular devices where our images cause OOM errors. Locally, this drops the max memory use from 3945 MB to 1664 MB (running only --image --images <RAW images we test>) BUG=skia:4912 BUG=skia:4878 BUG=b/27035849 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1681553003 Committed: https://skia.googlesource.com/skia/+/3ac66e98f8701b8105a4c6ae85de61a9e8e5343a

Patch Set 1 #

Total comments: 10

Patch Set 2 : enclave for AndroidCodecSrc; compute in constructor #

Patch Set 3 : Rebase #

Total comments: 3

Patch Set 4 : Change to serial() (from crrev.com/1675423002) #

Patch Set 5 : Increment actualExt #

Total comments: 10

Patch Set 6 : Remove ifdefs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -87 lines) Patch
M dm/DMSrcSink.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 4 5 4 chunks +22 lines, -0 lines 0 comments Download
M tools/dm_flags.json View 1 2 3 2 chunks +4 lines, -82 lines 0 comments Download
M tools/dm_flags.py View 1 2 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
scroggo
I'm running some trybots to get an idea of whether this helps. It will be ...
4 years, 10 months ago (2016-02-08 18:57:52 UTC) #3
msarett
1gtm the approach. Deferring to Mike on the specifics. https://codereview.chromium.org/1681553003/diff/1/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1681553003/diff/1/dm/DM.cpp#newcode1172 dm/DM.cpp:1172: ...
4 years, 10 months ago (2016-02-08 19:35:37 UTC) #4
scroggo
https://codereview.chromium.org/1681553003/diff/1/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1681553003/diff/1/dm/DM.cpp#newcode1172 dm/DM.cpp:1172: switch(i) { On 2016/02/08 19:35:37, msarett wrote: > Do ...
4 years, 10 months ago (2016-02-08 20:08:12 UTC) #5
msarett
https://codereview.chromium.org/1681553003/diff/40001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1681553003/diff/40001/dm/DM.cpp#newcode1162 dm/DM.cpp:1162: // Use the enclave of the Src. On 2016/02/08 ...
4 years, 10 months ago (2016-02-08 20:16:19 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681553003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681553003/80001
4 years, 10 months ago (2016-02-08 21:06:04 UTC) #9
scroggo
A good reference point that I should probably note in my commit message (will once ...
4 years, 10 months ago (2016-02-08 21:09:30 UTC) #10
scroggo
On 2016/02/08 21:09:30, scroggo wrote: > A good reference point that I should probably note ...
4 years, 10 months ago (2016-02-08 21:22:12 UTC) #12
mtklein
https://codereview.chromium.org/1681553003/diff/1/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1681553003/diff/1/dm/DM.cpp#newcode1160 dm/DM.cpp:1160: tasks.push_back(Task(gSrcs[i], gSinks[j])); This reads weirdly asymmetric now. Let's really ...
4 years, 10 months ago (2016-02-08 21:26:55 UTC) #13
mtklein
Oops, ignore comments on old patchsets :)
4 years, 10 months ago (2016-02-08 21:27:15 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-08 21:28:59 UTC) #16
msarett
https://codereview.chromium.org/1681553003/diff/80001/tools/dm_flags.py File tools/dm_flags.py (left): https://codereview.chromium.org/1681553003/diff/80001/tools/dm_flags.py#oldcode158 tools/dm_flags.py:158: r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", ...
4 years, 10 months ago (2016-02-08 21:30:28 UTC) #17
scroggo
https://codereview.chromium.org/1681553003/diff/80001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1681553003/diff/80001/dm/DMSrcSink.cpp#newcode41 dm/DMSrcSink.cpp:41: #ifdef SK_CODEC_DECODES_RAW On 2016/02/08 21:26:55, mtklein wrote: > Doesn't ...
4 years, 10 months ago (2016-02-08 21:31:30 UTC) #18
mtklein
https://codereview.chromium.org/1681553003/diff/80001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1681553003/diff/80001/dm/DMSrcSink.cpp#newcode41 dm/DMSrcSink.cpp:41: #ifdef SK_CODEC_DECODES_RAW On 2016/02/08 21:31:30, scroggo wrote: > On ...
4 years, 10 months ago (2016-02-08 21:45:48 UTC) #19
scroggo
https://codereview.chromium.org/1681553003/diff/80001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1681553003/diff/80001/dm/DMSrcSink.cpp#newcode41 dm/DMSrcSink.cpp:41: #ifdef SK_CODEC_DECODES_RAW On 2016/02/08 21:45:47, mtklein wrote: > On ...
4 years, 10 months ago (2016-02-08 21:47:48 UTC) #20
mtklein
lgtm
4 years, 10 months ago (2016-02-08 21:52:27 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681553003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681553003/100001
4 years, 10 months ago (2016-02-08 21:54:56 UTC) #23
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
4 years, 10 months ago (2016-02-08 23:07:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681553003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681553003/100001
4 years, 10 months ago (2016-02-08 23:08:57 UTC) #28
commit-bot: I haz the power
4 years, 10 months ago (2016-02-08 23:09:51 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/3ac66e98f8701b8105a4c6ae85de61a9e8e5343a

Powered by Google App Engine
This is Rietveld 408576698