[oe-commits] Marcin Juszkiewicz : mbw: added 1. 1 version of simple memory bandwidth benchmark

GIT User account git at amethyst.openembedded.net
Thu Mar 12 16:27:26 UTC 2009


Module: openembedded.git
Branch: hrw/poky-merge/add-rpm-packages-support
Commit: 38402a4968328e289ef5ae133097879521531afb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=38402a4968328e289ef5ae133097879521531afb

Author: Marcin Juszkiewicz <hrw at openembedded.org>
Date:   Fri Mar  6 22:24:41 2009 +0100

mbw: added 1.1 version of simple memory bandwidth benchmark

Results from my devices:

root at bug:~# mbw 16|grep AVG
AVG     Method: MEMCPY  Elapsed: 0.16403        MiB: 16.00000   Copy: 97.544 MiB/s
AVG     Method: DUMB    Elapsed: 0.12401        MiB: 16.00000   Copy: 129.023 MiB/s
AVG     Method: MCBLOCK Elapsed: 0.09725        MiB: 16.00000   Copy: 164.519 MiB/s

root at at91sam9263ek:~# mbw 16|grep AVG
AVG     Method: MEMCPY  Elapsed: 0.30546        MiB: 16.00000   Copy: 52.381 MiB/s
AVG     Method: DUMB    Elapsed: 0.13668        MiB: 16.00000   Copy: 117.064 MiB/s
AVG     Method: MCBLOCK Elapsed: 0.15507        MiB: 16.00000   Copy: 103.181 MiB/s

root at vortex86sx:~# mbw 16|grep AVG
AVG     Method: MEMCPY  Elapsed: 0.55531        MiB: 16.00000   Copy: 28.813 MiB/s
AVG     Method: DUMB    Elapsed: 1.04163        MiB: 16.00000   Copy: 15.361 MiB/s
AVG     Method: MCBLOCK Elapsed: 1.26276        MiB: 16.00000   Copy: 12.671 MiB/s

---

 packages/mbw/mbw_1.1.bb |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/packages/mbw/mbw_1.1.bb b/packages/mbw/mbw_1.1.bb
new file mode 100644
index 0000000..31ba432
--- /dev/null
+++ b/packages/mbw/mbw_1.1.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Memory bandwidth benchmark"
+AUTHOR = "Andras Horvath <Andras.Horvath at cern.ch>"
+
+SRC_URI = "http://ahorvath.web.cern.ch/ahorvath/mbw/mbw-${PV}-1.tar.gz"
+
+S = "${WORKDIR}/mbw/"
+
+inherit autotools
+
+do_install() {
+        install -d ${D}${bindir} ${D}${mandir}
+        install -m 755  mbw ${D}${bindir}
+        install -m 644  mbw.1 ${D}${mandir}/man1/
+}





More information about the Openembedded-commits mailing list