mbw: added 1.1 version of simple memory bandwidth benchmark
authorMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 6 Mar 2009 21:24:41 +0000 (22:24 +0100)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 6 Mar 2009 21:27:06 +0000 (22:27 +0100)
Results from my devices:

root@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@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@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 [new file with mode: 0644]

diff --git a/packages/mbw/mbw_1.1.bb b/packages/mbw/mbw_1.1.bb
new file mode 100644 (file)
index 0000000..31ba432
--- /dev/null
@@ -0,0 +1,14 @@
+DESCRIPTION = "Memory bandwidth benchmark"
+AUTHOR = "Andras Horvath <Andras.Horvath@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/
+}