Skip to contentSkip to conversation

netperf: enable demo mode.

PATCH New Kelvin Cheung 3 participants 4 messages Nov 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 netperf: enable demo mode.

Enable demo mode for netperf to activates a global "-D" <interval> option. This option will display interim results at least every time interval.

---
 package/netperf/netperf.mk |    1 +
 1 file changed, 1 insertion(+)
package/netperf/netperf.mk +1 -0
index 2bd11f3..455f27e 100644
@@ -7,6 +7,7 @@
 NETPERF_VERSION = 2.6.0
 NETPERF_SITE = ftp://ftp.netperf.org/netperf
 NETPERF_CONF_ENV = ac_cv_func_setpgrp_void=set
+NETPERF_CONF_OPT = --enable-demo=yes
 NETPERF_LICENSE = netperf license
 NETPERF_LICENSE_FILES = COPYING
 
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 netperf: enable demo mode.

Quoted 4 lines · Kelvin Cheung

Enable demo mode for netperf to activates a global "-D" <interval> option. This option will display interim results at least every time interval.

On x86_64 with glibc, this makes a difference of 3K (<2%) on the
netperf and netserver executables. So I think it's OK to enable it unconditionally.

Regards,
Arnout

Quoted 17 lines
---
  package/netperf/netperf.mk |    1 +
  1 file changed, 1 insertion(+)
package/netperf/netperf.mk +1 -0
index 2bd11f3..455f27e 100644
@@ -7,6 +7,7 @@
  NETPERF_VERSION = 2.6.0
  NETPERF_SITE = ftp://ftp.netperf.org/netperf
  NETPERF_CONF_ENV = ac_cv_func_setpgrp_void=set
+NETPERF_CONF_OPT = --enable-demo=yes
  NETPERF_LICENSE = netperf license
  NETPERF_LICENSE_FILES = COPYING
 
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#2 lore raw

PATCH v2 1/1 netperf: enable demo mode.

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Quoted 3 lines · Kelvin Cheung

Enable demo mode for netperf to activates a global "-D" <interval> option. This option will display interim results at least every time interval.

Quoted 7 lines
Quoted 1 line

On x86_64 with glibc, this makes a difference of 3K (<2%) on the
netperf and netserver executables. So I think it's OK to enable it unconditionally.

Agreed. It is +4K here (uClibc, ARM).

Signature · 1 line
Bye, Peter Korsgaard