Install Netperf On Windows

Posted by admin
InstallInstall Netperf On Windows

From here you can retrieve information about netperf and the performance of systems running the netperf benchmark. You can also submit performance results. 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). Instructions on how to install netperf on Debian 8 (Jessie) using command-line.

Netperf Server

Permalink

Join GitHub today

Netperf Windows Download

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

Sign up
Branch:master
Find file Copy path

Netperf

Cannot retrieve contributors at this time
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 'StartDeveloper Kits' path.
C) enter the srcNetPerfDir directory
D) Edit sources to enable any desired optional features (eg
-DWANT_HISTOGRAM) or to remove features which your version of
Windows might not support (eg -DHAVE_STRUCT_SOCKADDR_STORAGE)
E) while still in the srcNetperfDir directory type 'build /cD'.
F) Repeat steps C through E in srcNetServerDir
G) the target files will be in a directory like:
NetPerfDirobjchk_wnet_IA64IA64, NetServerDirobjchk_wnet_IA64IA64
NetPerfDirobjfre_wnet_x86i386, or NetPerfDirobjfre_wnet_AMD64amd64
NOTE: If any components of the path (ie the full names of the files,
including parent directories) contain spaces (eg 'My Documents'),
build will charge off into the weeds.
If you do not want the corresponding features, edit the sources files
and remove the -Ds for WANT_DEMO, WANT_HISTOGRAM and/or WANT_INTERVALS
And if that weren't enough, it is also known that netperf has been
compiled using MS Visual Studio 2003. Here are the instructions from
the person who made that work (See Authors):
1. Under the PROJECT tab, <project name> PROPERTIES, LINKER folder,
Select COMMAND LINE and add WS2_32.lib in the whitespace labeled
Additional Options:
2. Under the PROJECT tab, <project name> PROPERTIES, C/C++ foleder,
Select Preprocessor, On the right, add DO_IPV6; at the end of the
Preprocessor Definitions whitespace.
He goes on to say:
NOTE: WHEN COMPLING NETSERVER, it works, but I got issued the
foillowing warnigns in my build:
------ Rebuild All started: Project: netserver, Configuration: Debug Win32 ------
Deleting intermediate files and output files for project 'netserver', configuration 'Debug Win32'.
Compiling...
nettest_bsd.c
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(846) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(1303) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(2020) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(5080) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(5715) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(6591) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(8013) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnettest_bsd.c(11123) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
netsh.c
netserver.c
g:Program Filesnetperfnetperf-2.4.1rc1srcnetserver.c(457) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
netlib.c
g:Program Filesnetperfnetperf-2.4.1rc1srcnetlib.c(2470) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
g:Program Filesnetperfnetperf-2.4.1rc1srcnetlib.c(2480) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data
netcpu_ntperf.c
inet_ntop.c
Generating Code...
Linking...
Build log was saved at 'file://g:Documents and SettingsAdministratorMy DocumentsVisual Studio ProjectsnetserverDebugBuildLog.htm'
netserver - 0 error(s), 11 warning(s)
---------------------- Done ----------------------
Rebuild All: 1 succeeded, 0 failed, 0 skipped
  • Copy lines
  • Copy permalink