summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2014-08-19 05:16:17 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-21 21:35:08 +0200
commit7dc1efce3fbb539e955a2be6d8dc72e80200f1e5 (patch)
tree140ab9f4b051ddb0fdd39e18dd81b3fccced3506 /meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
parentfca294b76eb2477fb23bf412b2188fdbffad6629 (diff)
downloadmeta-openembedded-7dc1efce3fbb539e955a2be6d8dc72e80200f1e5.tar.gz
lmbench: fix lmbench memory check failure
lmbench can't proceed on some targets. The memory check fails because the memory latency of each page is longer then 10us, which is a time limit set in the original memsize.c. The memory latency is very different on different targets due to the hardware and current system load. The targets with slower memory chips or heavy system load need much longer time to read or write the memory. This fix changes the fixed time limit of 10us to a specific value calculated from the runtime target. Also set an upper limit of memory size used for lmbench testing. The memory check sometimes fails if the target has a large amount of memory, for example more than 4G. Signed-off-by: Qingming Su <qingming.su@windriver.com> Signed-off-by: Fupan Li <fupan.li@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb')
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index d8238ae4b..c5d6ac8c3 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -17,6 +17,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
17 file://update-config-script.patch \ 17 file://update-config-script.patch \
18 file://use-base_libdir-instead-of-hardcoded-lib.patch \ 18 file://use-base_libdir-instead-of-hardcoded-lib.patch \
19 file://lmbench_result_html_report.patch \ 19 file://lmbench_result_html_report.patch \
20 file://fix-lmbench-memory-check-failure.patch \
20" 21"
21SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf" 22SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
22SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551" 23SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"