Message ID | 1383531561-5550-1-git-send-email-keguang.zhang@gmail.com |
---|---|
State | Accepted |
Headers | show |
On 04/11/13 03:19, Kelvin Cheung wrote: > Enable demo mode for netperf to activates a global "-D" <interval> option. > This option will display interim results at least every time interval. > > Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> 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 > --- > package/netperf/netperf.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/netperf/netperf.mk b/package/netperf/netperf.mk > index 2bd11f3..455f27e 100644 > --- a/package/netperf/netperf.mk > +++ b/package/netperf/netperf.mk > @@ -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 > >
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes: > On 04/11/13 03:19, Kelvin Cheung wrote: >> Enable demo mode for netperf to activates a global "-D" <interval> option. >> This option will display interim results at least every time interval. >> >> Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> > Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> > 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).
>>>>> "Kelvin" == Kelvin Cheung <keguang.zhang@gmail.com> writes: > Enable demo mode for netperf to activates a global "-D" <interval> option. > This option will display interim results at least every time interval. > Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Committed, thanks.
diff --git a/package/netperf/netperf.mk b/package/netperf/netperf.mk index 2bd11f3..455f27e 100644 --- a/package/netperf/netperf.mk +++ b/package/netperf/netperf.mk @@ -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
Enable demo mode for netperf to activates a global "-D" <interval> option. This option will display interim results at least every time interval. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> --- package/netperf/netperf.mk | 1 + 1 file changed, 1 insertion(+)