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

Issue 1780011: Skip dropping caches in each test and between iterations during factory tests. (Closed)

Created:
10 years, 8 months ago by Tom Wai-Hong Tam
Modified:
9 years, 5 months ago
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git/chromiumos
Visibility:
Public.

Description

Skip dropping caches in each test and between iterations during factory tests. Dropping caches (writing back all dirty pages to disk and clearing all the caches) is not necessary for factory tests. It can reduce the latency significantly. The scale is about 27s -> 3s, for running 2 empty tests. Since autotest is installed in the stateful partition. So change mod_image_for_test script to mount and modify the stateful partition in addition.

Patch Set 1 #

Patch Set 2 : Remove debug line #

Total comments: 5

Patch Set 3 : fix bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -45 lines) Patch
M src/scripts/image_to_usb.sh View 2 chunks +28 lines, -27 lines 0 comments Download
A src/scripts/mod_for_factory_scripts/400configAutotest View 1 chunk +17 lines, -0 lines 0 comments Download
M src/scripts/mod_image_for_test.sh View 1 2 3 chunks +41 lines, -18 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Tom Wai-Hong Tam
10 years, 8 months ago (2010-04-28 11:00:46 UTC) #1
Nick Sanders
lgtm
10 years, 7 months ago (2010-04-29 04:10:12 UTC) #2
Nick Sanders
lgtm w/ sat change http://codereview.chromium.org/1780011/diff/2001/3001 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1780011/diff/2001/3001#newcode149 src/scripts/image_to_usb.sh:149: any reason to move this ...
10 years, 7 months ago (2010-04-29 04:10:43 UTC) #3
Tom Wai-Hong Tam
http://codereview.chromium.org/1780011/diff/2001/3001 File src/scripts/image_to_usb.sh (right): http://codereview.chromium.org/1780011/diff/2001/3001#newcode149 src/scripts/image_to_usb.sh:149: That makes autotest can be installed first to stateful ...
10 years, 7 months ago (2010-04-29 04:47:51 UTC) #4
Nick Sanders
lgtm
10 years, 7 months ago (2010-04-29 06:41:58 UTC) #5
kmixter1
FYI You should have mentioned that you were making mod_image_for_test now mount and modify the ...
10 years, 7 months ago (2010-04-29 15:14:09 UTC) #6
Tom Wai-Hong Tam
10 years, 7 months ago (2010-04-30 02:19:23 UTC) #7
Thanks. Added it to the description.

Powered by Google App Engine
This is Rietveld 408576698