summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2016-01-11 17:23:07 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2016-01-11 17:23:07 +0000
commit2f1f39fcd5a7cc6984f74217181296e21dc441fa (patch)
tree466b64796b7d20d42c712ecd0b5cf8b15b5a4602
parentfa3170b92d1372fb9b96d596c1a65b0fa25c69ff (diff)
Disable cache state modellingarmlt-20160122
Cache state modelling has proven to be frustrating for users who think their system is broken when it takes such a long time to boot, eg, to the Android GUI. Disabling cache state modelling provides a massive increase in speed. Users can set the environment variable to 1 if they wish to enable cache state modelling, eg: export CACHE_STATE_MODELLED=1 Or set it when they run the model, eg: CACHE_STATE_MODELLED=1 ./model-scripts/run_model.sh <output dir> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rwxr-xr-xrun_model.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_model.sh b/run_model.sh
index 6c850f6..6d0712f 100755
--- a/run_model.sh
+++ b/run_model.sh
@@ -171,7 +171,7 @@ if [ "$FOUNDATION" == "1" ]; then
$disk_param \
"
else
- CACHE_STATE_MODELLED=${CACHE_STATE_MODELLED:=1}
+ CACHE_STATE_MODELLED=${CACHE_STATE_MODELLED:=0}
echo "CACHE_STATE_MODELLED=$CACHE_STATE_MODELLED"
if [ "$DISK" != "" ]; then