flatcar-scripts/mod_for_factory_scripts/400configAutotest
Tom Wai-Hong Tam bf772cffaa 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.

Review URL: http://codereview.chromium.org/1780011
2010-04-29 14:57:37 +08:00

18 lines
405 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
echo "Create global_config.ini in autotest directory."
pushd ${STATEFUL_DIR}
cat > ${STATEFUL_DIR}/home/autotest-client/global_config.ini <<EOF
[CLIENT]
drop_caches: False
drop_caches_between_iterations: False
EOF
popd