ramspeed/smp: new package
PATCH 1/1 ramspeed/smp: new package
Add new package: ramspeed/smp
RAMspeed/SMP, a cache and memory benchmarking tool
(for multiprocessor machines running UNIX-like operating systems)
--- package/Config.in | 1 + package/ramsmp/Config.in | 7 +++++++ package/ramsmp/Makefile | 14 ++++++++++++++ package/ramsmp/ramsmp.mk | 20 ++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 package/ramsmp/Config.in create mode 100644 package/ramsmp/Makefile create mode 100644 package/ramsmp/ramsmp.mk
package/Config.in +1 -0
@@ -40,6 +40,7 @@ source "package/netperf/Config.in" source "package/oprofile/Config.in" source "package/perf/Config.in" source "package/ramspeed/Config.in" +source "package/ramsmp/Config.in" source "package/rt-tests/Config.in" source "package/strace/Config.in" source "package/stress/Config.in"
package/ramsmp/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_RAMSMP + bool "ramspeed/smp" + help + RAMspeed/SMP is a free open source command line utility + to measure cache and memory performance of multiprocessor machines. + + http://alasir.com/software/ramspeed/
package/ramsmp/Makefile new file +14 -0
@@ -0,0 +1,14 @@ + +all: generic + +generic: ramsmp.c fltmem.c fltmark.c intmem.c intmark.c + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o ramsmp + +i386: ramsmp.c i386/*.s i386/cpuinfo/*.s + $(CC) $(CFLAGS) -DI386_ASM $(LDFLAGS) $^ -o ramsmp + +x86_64: ramsmp.c amd64/*.s + $(CC) $(CFLAGS) -DAMD64_ASM $(LDFLAGS) $^ -o ramsmp + +clean: + rm -f *.o ramsmp
package/ramsmp/ramsmp.mk new file +20 -0
@@ -0,0 +1,20 @@ +############################################################# +# +# ramsmp +# +############################################################# + +RAMSMP_VERSION = 3.5.0 +RAMSMP_SITE = http://www.alasir.com/software/ramspeed +RAMSMP_ARCH = $(if $(BR2_i386),i386)$(if $(BR2_x86_64),x86_64) + +define RAMSMP_BUILD_CMDS + cp -f package/ramsmp/Makefile $(@D) + $(TARGET_CONFIGURE_OPTS) make -C $(@D) $(RAMSMP_ARCH) +endef + +define RAMSMP_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/ramsmp $(TARGET_DIR)/usr/bin/ramsmp +endef + +$(eval $(generic-package))
Signature · 1 line
1.7.9.5
PATCH 1/1 ramspeed/smp: new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Kelvin" == Kelvin Cheung <[email protected]> writes:
Kelvin> Add new package: ramspeed/smp
Kelvin> RAMspeed/SMP, a cache and memory benchmarking tool Kelvin> (for multiprocessor machines running UNIX-like operating systems)
Kelvin> Signed-off-by: Kelvin Cheung <[email protected]>
This looks very similar to our existing ramspeed package. Is it the same/different? Do we need both?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 ramspeed/smp: new package
Hi Peter,
Yes, they are different.
RAMspeed is for uniprocessor machines.
RAMspeed/SMP is for multiprocessor machines.
2013/6/28 Peter Korsgaard <[email protected]>
Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Kelvin" == Kelvin Cheung <[email protected]> writes:
Kelvin> Add new package: ramspeed/smp
Kelvin> RAMspeed/SMP, a cache and memory benchmarking tool Kelvin> (for multiprocessor machines running UNIX-like operating systems)Kelvin> Signed-off-by: Kelvin Cheung <[email protected]>
This looks very similar to our existing ramspeed package. Is it the same/different? Do we need both?
--
Bye, Peter Korsgaard
Signature · 5 lines
Best Regards! Kelvin Cheung -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130701/7da50eba/attachment.html>
PATCH 1/1 ramspeed/smp: new package
ping ?
2013/7/1 Kelvin Cheung <[email protected]>
Quoted 32 lines
Hi Peter,
Yes, they are different.
RAMspeed is for uniprocessor machines.
RAMspeed/SMP is for multiprocessor machines.2013/6/28 Peter Korsgaard <[email protected]>
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Kelvin" == Kelvin Cheung <[email protected]> writes:
Kelvin> Add new package: ramspeed/smp
Kelvin> RAMspeed/SMP, a cache and memory benchmarking tool Kelvin> (for multiprocessor machines running UNIX-like operating systems)Quoted 8 lines
Kelvin> Signed-off-by: Kelvin Cheung <[email protected]>
This looks very similar to our existing ramspeed package. Is it the same/different? Do we need both?
--
Bye, Peter Korsgaard--
Best Regards!
Kelvin Cheung
Signature · 5 lines
Best Regards! Kelvin Cheung -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130704/d29972c5/attachment.html>
PATCH 1/1 ramspeed/smp: new package
In reply to Kelvin CheungQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Kelvin" == Kelvin Cheung <[email protected]> writes:
Kelvin> Add new package: ramspeed/smp
Kelvin> RAMspeed/SMP, a cache and memory benchmarking tool Kelvin> (for multiprocessor machines running UNIX-like operating systems)
Kelvin> Signed-off-by: Kelvin Cheung <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard