[netperf-dev] netperf2 commit notice r155 - trunk/doc/examples

raj at netperf.org raj at netperf.org
Thu Nov 8 14:55:57 PST 2007


Author: raj
Date: 2007-11-08 14:55:56 -0800 (Thu, 08 Nov 2007)
New Revision: 155

Modified:
   trunk/doc/examples/Makefile.in
   trunk/doc/examples/packet_byte_script
Log:
teach packet_byte_script about affinity

Modified: trunk/doc/examples/Makefile.in
===================================================================
--- trunk/doc/examples/Makefile.in	2007-11-08 02:18:28 UTC (rev 154)
+++ trunk/doc/examples/Makefile.in	2007-11-08 22:55:56 UTC (rev 155)
@@ -57,7 +57,6 @@
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
 EXEEXT = @EXEEXT@
-GREP = @GREP@
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -84,6 +83,8 @@
 STRIP = @STRIP@
 VERSION = @VERSION@
 ac_ct_CC = @ac_ct_CC@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
 am__include = @am__include@
@@ -96,29 +97,22 @@
 build_os = @build_os@
 build_vendor = @build_vendor@
 datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
 exec_prefix = @exec_prefix@
 host = @host@
 host_alias = @host_alias@
 host_cpu = @host_cpu@
 host_os = @host_os@
 host_vendor = @host_vendor@
-htmldir = @htmldir@
 includedir = @includedir@
 infodir = @infodir@
 install_sh = @install_sh@
 libdir = @libdir@
 libexecdir = @libexecdir@
-localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
 oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
 prefix = @prefix@
 program_transform_name = @program_transform_name@
-psdir = @psdir@
 sbindir = @sbindir@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@

Modified: trunk/doc/examples/packet_byte_script
===================================================================
--- trunk/doc/examples/packet_byte_script	2007-11-08 02:18:28 UTC (rev 154)
+++ trunk/doc/examples/packet_byte_script	2007-11-08 22:55:56 UTC (rev 155)
@@ -22,8 +22,9 @@
 fi
 
 # where is netperf
-NETPERF_CMD=${NETPERF_CMD:=/opt/netperf/netperf}
+NETPERF_DIR=${NETPERF_DIR:=/opt/netperf2/bin}
 
+
 # at what port will netserver be waiting? If you decide to run
 # netserver at a differnet port than the default of 12865, then set
 # the value of NETPERF_PORT apropriately
@@ -37,21 +38,27 @@
 # How accurate we want the estimate of performance: 
 #      maximum and minimum test iterations (-i)
 #      confidence level (99 or 95) and interval (percent)
-NETPERF_STATS=${NETPERF_STATS:="-i 10,3 -I 99,5"}
+NETPERF_STATS=${NETPERF_STATS:="-i 30,3 -I 99,5"}
 
 # The socket sizes that we will be testing - using -1 will let it 
 # be the system default.
 NETPERF_SKTS=${NETPERF_SKTS:="-1"}
 
+# The CPU affinity to be applied
+NETPERF_AFFINITY=${NETPERF_AFFINITY:=""}
+
 # The request,response sizes that we will be using. The netperf
 # command parser will treat "1" the same as "1,1" - I use 1,1 to
 # remember that it is "request,response"
 NETPERF_REQS=${NETPERF_REQS:="1 16 32 64 128 256 512 1024 \
- 1460 1461 2920 2921 4380 4381"}
+ 1448 1449 2896 2897 4344 4345"}
 
 NETPERF_RESP=${NETPERF_RESP:="1 16 32 64 128 256 512 1024 \
- 1460 1461 2920 2921 4380 4381"}
+ 1448 1449 2896 2897 4344 4345"}
 
+# NETPERF_CMD is an amalgam of previous variables
+NETPERF_CMD="${NETPERF_DIR}/netperf ${NETPERF_AFFINITY}"
+
 # if there are two parms, parm one it the hostname and parm two will
 # be a CPU indicator. actually, anything as a second parm will cause
 # the CPU to be measured, but we will "advertise" it should be "CPU"



More information about the netperf-dev mailing list