Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  [PATCH v2] netperf: enable demo mode.
@ 2013-11-04  2:19 Kelvin Cheung
  2013-11-04 19:35 ` Arnout Vandecappelle
  2013-11-04 21:34 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Kelvin Cheung @ 2013-11-04  2:19 UTC (permalink / raw)
  To: buildroot

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(+)

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
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] netperf: enable demo mode.
  2013-11-04  2:19 [Buildroot] [PATCH v2] netperf: enable demo mode Kelvin Cheung
@ 2013-11-04 19:35 ` Arnout Vandecappelle
  2013-11-04 21:33   ` Peter Korsgaard
  2013-11-04 21:34 ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2013-11-04 19:35 UTC (permalink / raw)
  To: buildroot

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 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] netperf: enable demo mode.
  2013-11-04 19:35 ` Arnout Vandecappelle
@ 2013-11-04 21:33   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-11-04 21:33 UTC (permalink / raw)
  To: buildroot

>>>>> "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).

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] netperf: enable demo mode.
  2013-11-04  2:19 [Buildroot] [PATCH v2] netperf: enable demo mode Kelvin Cheung
  2013-11-04 19:35 ` Arnout Vandecappelle
@ 2013-11-04 21:34 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-11-04 21:34 UTC (permalink / raw)
  To: buildroot

>>>>> "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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-04 21:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04  2:19 [Buildroot] [PATCH v2] netperf: enable demo mode Kelvin Cheung
2013-11-04 19:35 ` Arnout Vandecappelle
2013-11-04 21:33   ` Peter Korsgaard
2013-11-04 21:34 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox