stress-ng: add 0.05.09
PATCH 1/1 stress-ng: add 0.05.09
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system" +HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz" + +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6" + +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2" + +do_install() { + oe_runmake DESTDIR=${D} install +}
Signature · 1 line
2.2.0
Quoted 17 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+)create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +1
-0@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system"
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb line 11
Quoted 10 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +10
-0+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz" + +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6" + +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"
Why hardcode -O2, please ? It impacts the DEBUG_BUILD.
// Robert
Quoted 5 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +4
-0+ +do_install() { + oe_runmake DESTDIR=${D} install +}
Quoted 24 lines · Robert Yang
Quoted 21 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bbmeta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +5
-0@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system" +HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +
Quoted 8 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb line 11
Quoted 6 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +6
-0+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz" + +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6" + +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"Why hardcode -O2, please ? It impacts the
DEBUG_BUILD.
Those above are the same exact CFLAGS used by stress-ng own Makefile. In reality it only needs -DVERSION to build, but I decided to preserve all flags in order to simplify comparison with other published stress results...
Quoted 6 lines
Quoted 5 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +4
-0+ +do_install() { + oe_runmake DESTDIR=${D} install +}
Quoted 26 lines · Robert Yang
Quoted 23 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+)create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +6
-0@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system" +HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz"
Quoted 8 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
Quoted 6 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +3
-0+ +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] ="
d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6"meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +2
-0+ +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"Why hardcode -O2, please ? It impacts the
DEBUG_BUILD.
And while your at it, why force-feed "-Wall -Wextra" to the compiler? It will just make the compilation take longer and generate a bigger log file that no one will ever read, but it won't make a difference in the output.
Quoted 8 lines
// Robert
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb line 15
Quoted 5 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +4
-0+ +do_install() { + oe_runmake DESTDIR=${D} install +}
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: [email protected]
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
Visit us at: Embedded World 2016 Germany, Hall 1, stand number 220. Click here to schedule an appointment with us at Embedded World, free ticket included
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
What's the rationale for adding this to oe-core over another layer?
Ross
Quoted 6 lines · Ross
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
What's the rationale for adding this to oe-core over another layer?
None, besides the original stress is in oe-core. What other layer would you suggest?
Signature · 1 line
Denys
Quoted 10 lines · Denys Dmytriyenko
Quoted 6 lines · Ross
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
What's the rationale for adding this to oe-core over another layer?
None, besides the original stress is in oe-core. What other layer would you suggest?
I think meta-oe is better; in fact the 'stress' package could go there as well.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hi Otavio,
Quoted 7 lines · Otavio Salvador
Quoted 6 lines · Denys Dmytriyenko
Quoted 5 lines · Ross
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
What's the rationale for adding this to oe-core over another layer?
None, besides the original stress is in oe-core. What other layer would you suggest?
I think meta-oe is better; in fact the 'stress' package could go there as well.
"stress" package was moved from meta-linaro to oe-core as a dependency for rt-tests ptest.
Quoted 4 lines
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Best Regards,
Maxin
Quoted 10 lines · Denys Dmytriyenko
Quoted 6 lines · Ross
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
What's the rationale for adding this to oe-core over another layer?
None, besides the original stress is in oe-core. What other layer would you suggest?
Ross,
Care do make your own suggestion? Do you think meta-oe would be a better fit? Are there any other considerations, since stress-ng is a replacement of the original stress and it was added to oe-core? Thanks.
Signature · 1 line
Denys
Quoted 12 lines · Denys Dmytriyenko
Quoted 8 lines · Denys Dmytriyenko
Quoted 6 lines · Ross
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
What's the rationale for adding this to oe-core over another layer?
Quoted 9 lines
Quoted 2 lines
None, besides the original stress is in oe-core. What other layer would you suggest?
Ross,
Care do make your own suggestion? Do you think meta-oe would be a better fit? Are there any other considerations, since stress-ng is a replacement of the original stress and it was added to oe-core? Thanks.
IIRC we had meta-benchmarking. They all should go there.
Quoted 7 lines
--
Denys
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 14 lines · On Wed, 27 Jan 2016 14:28:47 Khem Raj wrote:
Quoted 14 lines · Denys Dmytriyenko
Quoted 10 lines · Denys Dmytriyenko
Quoted 5 lines · Ross
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
What's the rationale for adding this to oe-core over another layer?
None, besides the original stress is in oe-core. What other layer would you
suggest?
Quoted 7 lines
Quoted 5 lines
Ross,
Care do make your own suggestion? Do you think meta-oe would be a better fit? Are there any other considerations, since stress-ng is a replacement of the original stress and it was added to oe-core? Thanks.
IIRC we had meta-benchmarking. They all should go there.
I guess you mean meta-oe/recipes-benchmark (though an actual separate layer might be interesting.)
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 17 lines · Paul Eggleton
Quoted 16 lines · On Wed, 27 Jan 2016 14:28:47 Khem Raj wrote:
Quoted 16 lines · Denys Dmytriyenko
Quoted 10 lines · Denys Dmytriyenko
Quoted 5 lines · Ross
Quoted 2 lines · Denys Dmytriyenko
A clean room re-implementation and extension of the original stress tool.
What's the rationale for adding this to oe-core over another layer?
None, besides the original stress is in oe-core. What other layer would you
suggest?Ross,
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Care do make your own suggestion? Do you think meta-oe would be a better fit? Are there any other considerations, since stress-ng is a replacement of the original stress and it was added to oe-core? Thanks.
IIRC we had meta-benchmarking. They all should go there.
I guess you mean meta-oe/recipes-benchmark (though an actual separate layer might be interesting.)
yes recipes-benchmarking.
Quoted 8 lines
Cheers,
Paul--
Paul Eggleton
Intel Open Source Technology Centre
Quoted 17 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bbmeta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +1
-0@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system"
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb line 11
Quoted 10 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +10
-0+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz" + +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6" + +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"
Where version comes from?
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 22 lines · Otavio Salvador
Quoted 21 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bbmeta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +5
-0@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system" +HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +
Quoted 8 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb line 11
Quoted 6 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +6
-0+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz" + +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6" + +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"Where version comes from?
From the Makefile
Signature · 1 line
Denys
Quoted 32 lines · Denys Dmytriyenko
Quoted 22 lines · Otavio Salvador
Quoted 21 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bbmeta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +5
-0@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system" +HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +Quoted 8 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb line 11
Quoted 6 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +6
-0+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz" + +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6" + +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"Where version comes from?
Quoted 1 line
From the
Makefile
And $(VERSION) ? I think you need to use ${PV} here.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 33 lines · Otavio Salvador
Quoted 32 lines · Denys Dmytriyenko
Quoted 30 lines · Otavio Salvador
Quoted 17 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
A clean room re-implementation and extension of the original stress tool.
Signed-off-by Denys Dmytriyenko <[email protected]>--- meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bbmeta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +1
-0@@ -0,0 +1,15 @@ +SUMMARY = "A tool to load and stress a computer system"meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb line 11
Quoted 10 lines
meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb new file +10
-0+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz" + +SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763" +SRC_URI[sha256sum] = "d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6" + +CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"Where version comes from?
Quoted 3 lines
Quoted 1 line
From the
MakefileAnd $(VERSION) ? I think you need to use ${PV} here.
Yes, $(VERSION) is defined by the Makefile. I'd rather avoid magling CFLAGS completely...
Signature · 1 line
Denys