  # net.core.[r|w]mem_max are sufficiently large
 -DO_BIDIR=1;
 +DO_BIDIR=0;
- DO_RRAGG=1;
+-DO_RRAGG=1;
++DO_RRAGG=0;
 -DO_RR=1;
 -DO_ANCILLARY=1;
 +DO_RR=0;

+  CPU_ZERO(&mask);
+  CPU_SET(mapped_affinity, &mask);
+  if (cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, -1,
+			 sizeof(mask), &mask)) {
+	perror("cpuset_setaffinity failed");
+	fflush(stderr);
+  }
+#endif /* __FreeBSD_version */    
 #else

 extern char *remote_data_address;
 
diff -u -r netperf-2.6.0/src/nettest_bsd.h netperf-2.6.0-patch/src/nettest_bsd.h
--- netperf-2.6.0/src/nettest_bsd.h 2012-06-19 13:47:09.000000000 -0700
+++ netperf-2.6.0-patch/src/nettest_bsd.h   2016-11-02 11:10:13.542697954 -0700
@@ -66,6 +66,10 @@
 
   int32_t    test_length;    /* how long is the test? */
