Skip to contentSkip to conversation

pmbw: add recipe for ram benchmarks

PATCH In review Stefan Müller-Klieser 2 participants 2 messages Dec 18, 2016 – Jan 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pmbw: add recipe for ram benchmarks

This adds the Parallel Memory Bandwidth Benchmark tool to the layer. It consists of a collection of assembly routines for testing cache and memory access performance. It also contains a converter to generate gnuplot scripts for the results.

---
 meta-oe/recipes-benchmark/pmbw/pmbw_git.bb | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/pmbw/pmbw_git.bb
meta-oe/recipes-benchmark/pmbw/pmbw_git.bb new file +28 -0
new file mode 100644
index 0000000..7a69395
@@ -0,0 +1,28 @@
+SUMMERY = "Parallel Memory Bandwidth Measurement / Benchmark"
+DESCRIPTION = "\
+The tool pmbw is a set of assembler routines to measure the parallel memory \
+(cache and RAM) bandwidth of modern multi-core machines."
+HOMEPAGE = "http://panthema.net/2013/pmbw/"
+SECTION = "benchmark/tests"
+AUTHOR = "Timo Bingmann"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "git://github.com/bingmann/pmbw;protocol=https"
+
+PV = "0.6.2+git${SRCPV}"
+SRCREV = "4a3b37728060a8aba06fc83f157a1965088d79d6"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+# the hand coded asm uses r11, which therefore cannot be used for storing
+# the frame pointer when debugging on arm
+SELECTED_OPTIMIZATION_remove_arm = "-fno-omit-frame-pointer"
+
+PACKAGES =+ "${PN}-stats2gnuplot"
+
+FILES_${PN}-stats2gnuplot = "${bindir}/stats2gnuplot"
+
+RRECOMMENDS_${PN} = "${PN}-stats2gnuplot"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 4 lines · Stefan Müller-Klieser

This adds the Parallel Memory Bandwidth Benchmark tool to the layer. It consists of a collection of assembly routines for testing cache and memory access performance. It also contains a converter to generate gnuplot scripts for the results.

Fails to build for qemuarm:
http://errors.yoctoproject.org/Errors/Details/117458/

Quoted 49 lines
---
 meta-oe/recipes-benchmark/pmbw/pmbw_git.bb | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/pmbw/pmbw_git.bb
meta-oe/recipes-benchmark/pmbw/pmbw_git.bb new file +28 -0
new file mode 100644
index 0000000..7a69395
@@ -0,0 +1,28 @@
+SUMMERY = "Parallel Memory Bandwidth Measurement / Benchmark"
+DESCRIPTION = "\
+The tool pmbw is a set of assembler routines to measure the parallel memory \
+(cache and RAM) bandwidth of modern multi-core machines."
+HOMEPAGE = "http://panthema.net/2013/pmbw/"
+SECTION = "benchmark/tests"
+AUTHOR = "Timo Bingmann"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "git://github.com/bingmann/pmbw;protocol=https"
+
+PV = "0.6.2+git${SRCPV}"
+SRCREV = "4a3b37728060a8aba06fc83f157a1965088d79d6"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+# the hand coded asm uses r11, which therefore cannot be used for storing
+# the frame pointer when debugging on arm
+SELECTED_OPTIMIZATION_remove_arm = "-fno-omit-frame-pointer"
+
+PACKAGES =+ "${PN}-stats2gnuplot"
+
+FILES_${PN}-stats2gnuplot = "${bindir}/stats2gnuplot"
+
+RRECOMMENDS_${PN} = "${PN}-stats2gnuplot"
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]