[netperf-dev] netperf2 commit notice r42 - in trunk: . src

raj at netperf.org raj at netperf.org
Thu Nov 10 11:44:30 PST 2005


Author: raj
Date: 2005-11-10 11:44:26 -0800 (Thu, 10 Nov 2005)
New Revision: 42

Added:
   trunk/autogen.sh
Removed:
   trunk/README.windows~
Modified:
   trunk/configure
   trunk/configure.ac
   trunk/src/netlib.c
   trunk/src/nettest_bsd.c
Log:
Cause information about first burst size to be emitted for RR tests, and add
autogen.sh to the repository.


Deleted: trunk/README.windows~
===================================================================
--- trunk/README.windows~	2005-11-08 21:38:07 UTC (rev 41)
+++ trunk/README.windows~	2005-11-10 19:44:26 UTC (rev 42)
@@ -1,19 +0,0 @@
-It has been reported that versions of netperf have configured and
-compiled under Cygwin.  
-
-It is also known that netperf has compiled using the Windows DDK.
-Here is a skeleton of the instructions to do so:
-
-Steps are:
-
-A) Install the Windows driver developer kit (if not already done).
-
-B) open a Cmd windows (i.e., a DOS box) for the target environment
-   (target OS version; free vs checked build; x86, AMD64, or IA64).
-   This is picked from the "Start\Developer Kits" path.
-
-C) go to the netperf\src directory and type "build /cD".
-
-D) the target files will be in a directory like:
-   NetPerf\objchk_wnet_IA64\IA64, NetServer\objchk_wnet_IA64\IA64
-   NetPerf\objfre_wnet_x86\i386, or NetPerf\objfre_wnet_AMD64\amd64

Added: trunk/autogen.sh
===================================================================
--- trunk/autogen.sh	2005-11-08 21:38:07 UTC (rev 41)
+++ trunk/autogen.sh	2005-11-10 19:44:26 UTC (rev 42)
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+aclocal -I src/missing/m4 \
+&& automake  --add-missing \
+&& autoconf 


Property changes on: trunk/autogen.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/configure
===================================================================
--- trunk/configure	2005-11-08 21:38:07 UTC (rev 41)
+++ trunk/configure	2005-11-10 19:44:26 UTC (rev 42)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for netperf 2.4.1.
+# Generated by GNU Autoconf 2.59 for netperf 2.4.2pre1.
 #
 # Copyright (C) 2003 Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation
@@ -267,8 +267,8 @@
 # Identity of this package.
 PACKAGE_NAME='netperf'
 PACKAGE_TARNAME='netperf'
-PACKAGE_VERSION='2.4.1'
-PACKAGE_STRING='netperf 2.4.1'
+PACKAGE_VERSION='2.4.2pre1'
+PACKAGE_STRING='netperf 2.4.2pre1'
 PACKAGE_BUGREPORT=''
 
 ac_unique_file="src/hist.h"
@@ -779,7 +779,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures netperf 2.4.1 to adapt to many kinds of systems.
+\`configure' configures netperf 2.4.2pre1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -846,7 +846,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of netperf 2.4.1:";;
+     short | recursive ) echo "Configuration of netperf 2.4.2pre1:";;
    esac
   cat <<\_ACEOF
 
@@ -973,7 +973,7 @@
 test -n "$ac_init_help" && exit 0
 if $ac_init_version; then
   cat <<\_ACEOF
-netperf configure 2.4.1
+netperf configure 2.4.2pre1
 generated by GNU Autoconf 2.59
 
 Copyright (C) 2003 Free Software Foundation, Inc.
@@ -987,7 +987,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by netperf $as_me 2.4.1, which was
+It was created by netperf $as_me 2.4.2pre1, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
@@ -1682,7 +1682,7 @@
 
 # Define the identity of the package.
  PACKAGE=netperf
- VERSION=2.4.1
+ VERSION=2.4.2pre1
 
 
 cat >>confdefs.h <<_ACEOF
@@ -8307,7 +8307,7 @@
 } >&5
 cat >&5 <<_CSEOF
 
-This file was extended by netperf $as_me 2.4.1, which was
+This file was extended by netperf $as_me 2.4.2pre1, which was
 generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -8370,7 +8370,7 @@
 
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-netperf config.status 2.4.1
+netperf config.status 2.4.2pre1
 configured by $0, generated by GNU Autoconf 2.59,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2005-11-08 21:38:07 UTC (rev 41)
+++ trunk/configure.ac	2005-11-10 19:44:26 UTC (rev 42)
@@ -2,15 +2,15 @@
 # Process this file with autoconf to produce a configure script.
 
 FULL-PACKAGE-NAME=netperf
-VERSION=2.4.1
+VERSION=2.4.2pre1
 BUG-REPORT-ADDRESS=netperf-feedback at netperf.org
 
 AC_PREREQ(2.59)
-AC_INIT(netperf, 2.4.1)
+AC_INIT(netperf, 2.4.2pre1)
 # use the target version rather than host - one day we may want cross-compile
 AC_CANONICAL_TARGET
 AC_CONFIG_SRCDIR([src/hist.h])
-AM_INIT_AUTOMAKE(netperf, 2.4.1)
+AM_INIT_AUTOMAKE(netperf, 2.4.2pre1)
 AM_CONFIG_HEADER(config.h)
 # AC_CONFIG_HEADER(config.h)
 

Modified: trunk/src/netlib.c
===================================================================
--- trunk/src/netlib.c	2005-11-08 21:38:07 UTC (rev 41)
+++ trunk/src/netlib.c	2005-11-10 19:44:26 UTC (rev 42)
@@ -1709,13 +1709,15 @@
      CPUs... raj 2005-11-08 */
   unsigned long       this_mask;
   unsigned int        len = sizeof(this_mask);
-  printf("masking\n");
+
   this_mask = 1 << processor_affinity;
-  printf("masked\n");
+
   if (sched_setaffinity(getpid(), len, &this_mask)) {
-    fprintf(stderr, "failed to set PID %d's CPU affinity errno %d\n",
-            getpid(),errno);
-    fflush(stderr);
+    if (debug) {
+      fprintf(stderr, "failed to set PID %d's CPU affinity errno %d\n",
+	      getpid(),errno);
+      fflush(stderr);
+    }
   }
 #elif HAVE_BIND_TO_CPU_ID
   /* this is the one for Tru64 */

Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c	2005-11-08 21:38:07 UTC (rev 41)
+++ trunk/src/nettest_bsd.c	2005-11-10 19:44:26 UTC (rev 42)
@@ -1026,6 +1026,14 @@
 #ifdef WANT_DEMO
   fprintf(where," : demo");
 #endif
+#ifdef WANT_FIRST_BURST
+  /* a little hokey perhaps, but we really only want this to be
+     emitted for tests where it actually is used, which means a
+     "REQUEST/RESPONSE" test. raj 2005-11-10 */
+  if (strstr(test_name,"REQUEST/RESPONSE")) {
+    fprintf(where," : first burst %d",first_burst_size);
+  }
+#endif
   fprintf(where,"\n");
   
 }



More information about the netperf-dev mailing list