* [PATCH] move the benchmark package bonnie++ from meta-oe layer to oe-core and upgrade bonnie++ from 1.03c to 1.03e @ 2012-11-21 2:30 fupan.li 2012-11-21 7:46 ` Martin Jansa 0 siblings, 1 reply; 5+ messages in thread From: fupan.li @ 2012-11-21 2:30 UTC (permalink / raw) To: openembedded-core; +Cc: Randy.MacLeod From: fli <fupan.li@windriver.com> Signed-off-by: fli <fupan.li@windriver.com> --- recipes-benchmark/bonnie/bonnie++_1.03e.bb | 32 ++++++++++++++++++++ .../bonnie/files/compiler-error-fix.patch | 14 +++++++++ 2 files changed, 46 insertions(+) create mode 100644 recipes-benchmark/bonnie/bonnie++_1.03e.bb create mode 100644 recipes-benchmark/bonnie/files/compiler-error-fix.patch diff --git a/recipes-benchmark/bonnie/bonnie++_1.03e.bb b/recipes-benchmark/bonnie/bonnie++_1.03e.bb new file mode 100644 index 0000000..848b206 --- /dev/null +++ b/recipes-benchmark/bonnie/bonnie++_1.03e.bb @@ -0,0 +1,32 @@ +# bonnie OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the GPLv4 license (see copyright.tx) + +DESCRIPTION="Tests large file IO and creation/deletion of small files." +HOMEPAGE = "http://www.coker.com.au/bonnie++" +SECTION = "benchmark/tests" +LICENSE="GPLv2" + +SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz \ + file://compiler-error-fix.patch" + +SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" +SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" +LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" + +inherit autotools + +EXES="bonnie++ zcav" +SCRIPTS="bon_csv2html bon_csv2txt" + +PACKAGES += "bonnie-scripts" + +do_install () { + install -d ${D}/${bindir} + install -d ${D}/${sbindir} + install -m 0755 ${EXES} ${D}/${sbindir} + install -m 0755 ${SCRIPTS} ${D}/${bindir} +} + +FILES_${PN} = "${sbindir}" +FILES_bonnie-scripts="${bindir}" diff --git a/recipes-benchmark/bonnie/files/compiler-error-fix.patch b/recipes-benchmark/bonnie/files/compiler-error-fix.patch new file mode 100644 index 0000000..6655b88 --- /dev/null +++ b/recipes-benchmark/bonnie/files/compiler-error-fix.patch @@ -0,0 +1,14 @@ +--- + zcav.cpp | 1 + + 1 file changed, 1 insertion(+) + +Index: bonnie++-1.03a/zcav.cpp +=================================================================== +--- bonnie++-1.03a.orig/zcav.cpp ++++ bonnie++-1.03a/zcav.cpp +@@ -15,6 +15,7 @@ using namespace std; + #else + #include <vector.h> + #endif ++#include <string.h> + -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] move the benchmark package bonnie++ from meta-oe layer to oe-core and upgrade bonnie++ from 1.03c to 1.03e 2012-11-21 2:30 [PATCH] move the benchmark package bonnie++ from meta-oe layer to oe-core and upgrade bonnie++ from 1.03c to 1.03e fupan.li @ 2012-11-21 7:46 ` Martin Jansa 2012-11-21 7:59 ` fupan.li 0 siblings, 1 reply; 5+ messages in thread From: Martin Jansa @ 2012-11-21 7:46 UTC (permalink / raw) To: fupan.li; +Cc: Randy.MacLeod, openembedded-core [-- Attachment #1: Type: text/plain, Size: 2864 bytes --] On Wed, Nov 21, 2012 at 10:30:25AM +0800, fupan.li@windriver.com wrote: > From: fli <fupan.li@windriver.com> Why do you think that bonnie++ is "core" enough to be in oe-core? Cheers, > > Signed-off-by: fli <fupan.li@windriver.com> > --- > recipes-benchmark/bonnie/bonnie++_1.03e.bb | 32 ++++++++++++++++++++ > .../bonnie/files/compiler-error-fix.patch | 14 +++++++++ > 2 files changed, 46 insertions(+) > create mode 100644 recipes-benchmark/bonnie/bonnie++_1.03e.bb > create mode 100644 recipes-benchmark/bonnie/files/compiler-error-fix.patch > > diff --git a/recipes-benchmark/bonnie/bonnie++_1.03e.bb b/recipes-benchmark/bonnie/bonnie++_1.03e.bb > new file mode 100644 > index 0000000..848b206 > --- /dev/null > +++ b/recipes-benchmark/bonnie/bonnie++_1.03e.bb > @@ -0,0 +1,32 @@ > +# bonnie OE build file > +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved > +# Released under the GPLv4 license (see copyright.tx) > + > +DESCRIPTION="Tests large file IO and creation/deletion of small files." > +HOMEPAGE = "http://www.coker.com.au/bonnie++" > +SECTION = "benchmark/tests" > +LICENSE="GPLv2" > + > +SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz \ > + file://compiler-error-fix.patch" > + > +SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" > +SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" > +LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" > + > +inherit autotools > + > +EXES="bonnie++ zcav" > +SCRIPTS="bon_csv2html bon_csv2txt" > + > +PACKAGES += "bonnie-scripts" > + > +do_install () { > + install -d ${D}/${bindir} > + install -d ${D}/${sbindir} > + install -m 0755 ${EXES} ${D}/${sbindir} > + install -m 0755 ${SCRIPTS} ${D}/${bindir} > +} > + > +FILES_${PN} = "${sbindir}" > +FILES_bonnie-scripts="${bindir}" > diff --git a/recipes-benchmark/bonnie/files/compiler-error-fix.patch b/recipes-benchmark/bonnie/files/compiler-error-fix.patch > new file mode 100644 > index 0000000..6655b88 > --- /dev/null > +++ b/recipes-benchmark/bonnie/files/compiler-error-fix.patch > @@ -0,0 +1,14 @@ > +--- > + zcav.cpp | 1 + > + 1 file changed, 1 insertion(+) > + > +Index: bonnie++-1.03a/zcav.cpp > +=================================================================== > +--- bonnie++-1.03a.orig/zcav.cpp > ++++ bonnie++-1.03a/zcav.cpp > +@@ -15,6 +15,7 @@ using namespace std; > + #else > + #include <vector.h> > + #endif > ++#include <string.h> > + > -- > 1.7.9.5 > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] move the benchmark package bonnie++ from meta-oe layer to oe-core and upgrade bonnie++ from 1.03c to 1.03e 2012-11-21 7:46 ` Martin Jansa @ 2012-11-21 7:59 ` fupan.li 2012-11-21 21:16 ` Randy MacLeod 0 siblings, 1 reply; 5+ messages in thread From: fupan.li @ 2012-11-21 7:59 UTC (permalink / raw) To: Martin Jansa; +Cc: Randy.MacLeod, openembedded-core On 11/21/2012 03:46 PM, Martin Jansa wrote: > On Wed, Nov 21, 2012 at 10:30:25AM +0800, fupan.li@windriver.com wrote: >> From: fli <fupan.li@windriver.com> > Why do you think that bonnie++ is "core" enough to be in oe-core? > > Cheers, I think it's better to afford those benchmark packages such as lmbench, iozone3, bonnie++ and so on in the oe-core, so that the users can benchmark its built system easily! Benchmark test for an embedded system is essential, especially for those projects based on the OE. Thanks! Fupan >> Signed-off-by: fli <fupan.li@windriver.com> >> --- >> recipes-benchmark/bonnie/bonnie++_1.03e.bb | 32 ++++++++++++++++++++ >> .../bonnie/files/compiler-error-fix.patch | 14 +++++++++ >> 2 files changed, 46 insertions(+) >> create mode 100644 recipes-benchmark/bonnie/bonnie++_1.03e.bb >> create mode 100644 recipes-benchmark/bonnie/files/compiler-error-fix.patch >> >> diff --git a/recipes-benchmark/bonnie/bonnie++_1.03e.bb b/recipes-benchmark/bonnie/bonnie++_1.03e.bb >> new file mode 100644 >> index 0000000..848b206 >> --- /dev/null >> +++ b/recipes-benchmark/bonnie/bonnie++_1.03e.bb >> @@ -0,0 +1,32 @@ >> +# bonnie OE build file >> +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved >> +# Released under the GPLv4 license (see copyright.tx) >> + >> +DESCRIPTION="Tests large file IO and creation/deletion of small files." >> +HOMEPAGE = "http://www.coker.com.au/bonnie++" >> +SECTION = "benchmark/tests" >> +LICENSE="GPLv2" >> + >> +SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz \ >> + file://compiler-error-fix.patch" >> + >> +SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" >> +SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" >> +LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" >> + >> +inherit autotools >> + >> +EXES="bonnie++ zcav" >> +SCRIPTS="bon_csv2html bon_csv2txt" >> + >> +PACKAGES += "bonnie-scripts" >> + >> +do_install () { >> + install -d ${D}/${bindir} >> + install -d ${D}/${sbindir} >> + install -m 0755 ${EXES} ${D}/${sbindir} >> + install -m 0755 ${SCRIPTS} ${D}/${bindir} >> +} >> + >> +FILES_${PN} = "${sbindir}" >> +FILES_bonnie-scripts="${bindir}" >> diff --git a/recipes-benchmark/bonnie/files/compiler-error-fix.patch b/recipes-benchmark/bonnie/files/compiler-error-fix.patch >> new file mode 100644 >> index 0000000..6655b88 >> --- /dev/null >> +++ b/recipes-benchmark/bonnie/files/compiler-error-fix.patch >> @@ -0,0 +1,14 @@ >> +--- >> + zcav.cpp | 1 + >> + 1 file changed, 1 insertion(+) >> + >> +Index: bonnie++-1.03a/zcav.cpp >> +=================================================================== >> +--- bonnie++-1.03a.orig/zcav.cpp >> ++++ bonnie++-1.03a/zcav.cpp >> +@@ -15,6 +15,7 @@ using namespace std; >> + #else >> + #include <vector.h> >> + #endif >> ++#include <string.h> >> + >> -- >> 1.7.9.5 >> >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Fupan Li WIND RIVER | China Development Center QQ: 25257157 Tel: +86 8477 8516 Mobile: +86 13401130894 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] move the benchmark package bonnie++ from meta-oe layer to oe-core and upgrade bonnie++ from 1.03c to 1.03e 2012-11-21 7:59 ` fupan.li @ 2012-11-21 21:16 ` Randy MacLeod 2012-11-21 21:26 ` Martin Jansa 0 siblings, 1 reply; 5+ messages in thread From: Randy MacLeod @ 2012-11-21 21:16 UTC (permalink / raw) To: fupan.li; +Cc: Martin Jansa, openembedded-core On 12-11-21 02:59 AM, fupan.li wrote: > On 11/21/2012 03:46 PM, Martin Jansa wrote: >> On Wed, Nov 21, 2012 at 10:30:25AM +0800, fupan.li@windriver.com wrote: >>> From: fli <fupan.li@windriver.com> >> Why do you think that bonnie++ is "core" enough to be in oe-core? >> >> Cheers, > I think it's better to afford those benchmark packages such as lmbench, > iozone3, bonnie++ and so on > in the oe-core, so that the users can benchmark its built system easily! > Benchmark test for an embedded system is essential, especially for those > projects based on the OE. Right it shouldn't be in oe-core, sorry for suggeting that Fupan. What do you suggest Martin? I haven't been following how people choose to make a YP layer or add things to meta-oe in OpenEmbedded. Should we make meta-benchmark layer for the YP or should we try to re-use: http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-benchmark d--------- bonnie d--------- cpuburn d--------- dbench d--------- fio d--------- iozone3 d--------- iperf d--------- lmbench d--------- memtester d--------- nbench-byte d--------- netperf d--------- tiobench The Phoronix Test Suite would be useful for some systems although I've primarily just read the PTS reports and expect it would be a pain to work with it. Thanks, // Randy > > Thanks! > > Fupan >>> Signed-off-by: fli <fupan.li@windriver.com> >>> --- >>> recipes-benchmark/bonnie/bonnie++_1.03e.bb | 32 >>> ++++++++++++++++++++ >>> .../bonnie/files/compiler-error-fix.patch | 14 +++++++++ >>> 2 files changed, 46 insertions(+) >>> create mode 100644 recipes-benchmark/bonnie/bonnie++_1.03e.bb >>> create mode 100644 >>> recipes-benchmark/bonnie/files/compiler-error-fix.patch >>> >>> diff --git a/recipes-benchmark/bonnie/bonnie++_1.03e.bb >>> b/recipes-benchmark/bonnie/bonnie++_1.03e.bb >>> new file mode 100644 >>> index 0000000..848b206 >>> --- /dev/null >>> +++ b/recipes-benchmark/bonnie/bonnie++_1.03e.bb >>> @@ -0,0 +1,32 @@ >>> +# bonnie OE build file >>> +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights >>> Reserved >>> +# Released under the GPLv4 license (see copyright.tx) >>> + >>> +DESCRIPTION="Tests large file IO and creation/deletion of small files." >>> +HOMEPAGE = "http://www.coker.com.au/bonnie++" >>> +SECTION = "benchmark/tests" >>> +LICENSE="GPLv2" >>> + >>> +SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz \ >>> + file://compiler-error-fix.patch" >>> + >>> +SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" >>> +SRC_URI[sha256sum] = >>> "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" >>> +LIC_FILES_CHKSUM = >>> "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" >>> + >>> +inherit autotools >>> + >>> +EXES="bonnie++ zcav" >>> +SCRIPTS="bon_csv2html bon_csv2txt" >>> + >>> +PACKAGES += "bonnie-scripts" >>> + >>> +do_install () { >>> + install -d ${D}/${bindir} >>> + install -d ${D}/${sbindir} >>> + install -m 0755 ${EXES} ${D}/${sbindir} >>> + install -m 0755 ${SCRIPTS} ${D}/${bindir} >>> +} >>> + >>> +FILES_${PN} = "${sbindir}" >>> +FILES_bonnie-scripts="${bindir}" >>> diff --git a/recipes-benchmark/bonnie/files/compiler-error-fix.patch >>> b/recipes-benchmark/bonnie/files/compiler-error-fix.patch >>> new file mode 100644 >>> index 0000000..6655b88 >>> --- /dev/null >>> +++ b/recipes-benchmark/bonnie/files/compiler-error-fix.patch >>> @@ -0,0 +1,14 @@ >>> +--- >>> + zcav.cpp | 1 + >>> + 1 file changed, 1 insertion(+) >>> + >>> +Index: bonnie++-1.03a/zcav.cpp >>> +=================================================================== >>> +--- bonnie++-1.03a.orig/zcav.cpp >>> ++++ bonnie++-1.03a/zcav.cpp >>> +@@ -15,6 +15,7 @@ using namespace std; >>> + #else >>> + #include <vector.h> >>> + #endif >>> ++#include <string.h> >>> + >>> -- >>> 1.7.9.5 >>> >>> >>> _______________________________________________ >>> Openembedded-core mailing list >>> Openembedded-core@lists.openembedded.org >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > -- # Randy MacLeod. SMTS, Linux, Wind River Direct: 613.963.1350 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] move the benchmark package bonnie++ from meta-oe layer to oe-core and upgrade bonnie++ from 1.03c to 1.03e 2012-11-21 21:16 ` Randy MacLeod @ 2012-11-21 21:26 ` Martin Jansa 0 siblings, 0 replies; 5+ messages in thread From: Martin Jansa @ 2012-11-21 21:26 UTC (permalink / raw) To: Randy MacLeod; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 1393 bytes --] On Wed, Nov 21, 2012 at 04:16:32PM -0500, Randy MacLeod wrote: > On 12-11-21 02:59 AM, fupan.li wrote: > > On 11/21/2012 03:46 PM, Martin Jansa wrote: > >> On Wed, Nov 21, 2012 at 10:30:25AM +0800, fupan.li@windriver.com wrote: > >>> From: fli <fupan.li@windriver.com> > >> Why do you think that bonnie++ is "core" enough to be in oe-core? > >> > >> Cheers, > > I think it's better to afford those benchmark packages such as lmbench, > > iozone3, bonnie++ and so on > > in the oe-core, so that the users can benchmark its built system easily! > > Benchmark test for an embedded system is essential, especially for those > > projects based on the OE. > > Right it shouldn't be in oe-core, sorry for suggeting that Fupan. > What do you suggest Martin? I haven't been following how people > choose to make a YP layer or add things to meta-oe in OpenEmbedded. > > Should we make meta-benchmark layer for the YP or > should we try to re-use: > > http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-benchmark > > d--------- bonnie > d--------- cpuburn > d--------- dbench > d--------- fio > d--------- iozone3 > d--------- iperf > d--------- lmbench > d--------- memtester > d--------- nbench-byte > d--------- netperf > d--------- tiobench Yes, using meta-oe is easiest way. And bonnie is already there, so why to move it. Cheers, [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-22 0:21 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-11-21 2:30 [PATCH] move the benchmark package bonnie++ from meta-oe layer to oe-core and upgrade bonnie++ from 1.03c to 1.03e fupan.li 2012-11-21 7:46 ` Martin Jansa 2012-11-21 7:59 ` fupan.li 2012-11-21 21:16 ` Randy MacLeod 2012-11-21 21:26 ` Martin Jansa
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox