[netperf-dev] About netperf test of Windows guests

Amos Kong akong at redhat.com
Fri Dec 21 01:11:56 PST 2012


CC netperf maillist

On Fri, Dec 21, 2012 at 02:50:28PM +0800, Amos Kong wrote:
> On Tue, Dec 18, 2012 at 04:47:33PM +0800, Amos Kong wrote:
> > On Tue, Dec 18, 2012 at 02:44:28PM +0800, wenli wrote:
> > > On Tue 18 Dec 2012 02:11:26 PM CST, Amos Kong wrote:
> > > >Hi Yiqiao,
> > > >
> > > >I want to update netperf for Windows guests, but I upstream
> > > >netperf_win doesn't work.
> > > >
> > > >>>>netperf.netperf_cygwin (doesn't work, no code to setup cygwin for
> > > >>>>windows guest in upstream)
> > > >
> > > >We have a 'cyg_install' case in rh internal to install cygwin for
> > > >Windoes guest, but it's pushed to Autotest upstream. But cygwin is
> > > >used in netperf.netperf_cygwin
> > > >
> > > >Please help to push this case to upstream, and make sure it works. I
> > > >suggest to test patches with fresh environment&  git tree&  images&
> > > >etc before sending patches to upstream. Otherwise, it looks work, but
> > > >it doesn't work really.
> > > >
> > > >Can you help to update netperf.exe in winutils.iso to 2.6.0 and test
> > > >if case works?
> > > >
> > > 
> > > We used the copy netperf.2.4 from
> > > http://people.redhat.com/jeder/rpms/netperf/netperf_24/.
> > > We still do not completely know how to compile netperf.exe,
> > 
> > contact with jeder?
> 
> Hi Jeremy,
> 
> We are using your netperf binaries [1] for Windoews guests in network
> performance regression testing.

I tried to compile netperf-2.6.0 on Win2003-64 referencing to [1],
installed Windows DDK [2], when I compile by 'build /cD', got
following error:

BUILD: Computing Include file dependencies:
BUILD: Examining c:\netperf-2.6.0\src\netserverdir directory for files to compile.
Compiling (NoSync) c:\netperf-2.6.0\src\netserverdir directory ********************
1>'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 PASS1_NOLIB=1 386=1'
1>BUILDMSG: Processing c:\netperf-2.6.0\src\netserverdir
1>NMAKE : fatal error U1073: don't know how to make 'objchk_wxp_x86\i386\netsec_win.obj'
1>Stop.
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 PASS1_NOLIB=1 386=1 failed - rc = 2
Compiling  c:\netperf-2.6.0\src\netserverdir directory ********************
100>'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1'
100>BUILDMSG: Processing c:\netperf-2.6.0\src\netserverdir
100>NMAKE : fatal error U1073: don't know how to make 'objchk_wxp_x86\i386\netsec_win.obj'
100>Stop.
BUILD: nmake.exe failed - rc = 2
Compile errors: not linking c:\netperf-2.6.0\src\netserverdir directory ********************

And there are many build environment (free|check, x86|64|ia-64,
xp|2003|2000, ...), but I found you only have one kind of binary file
[3].


[1] http://www.netperf.org/svn/netperf2/trunk/README.windows
[2] Win2K3:http://download.microsoft.com/download/9/0/f/90f019ac-8243-48d3-91cf-81fc4093ecfd/1830_usa_ddk.iso 
[3] http://people.redhat.com/jeder/rpms/netperf/2.5.0/
 
> Right now, we want to update netperf to 2.6.0, can help to guide us to
> compile 2.6.0 binary? any document?
> 
> We need to enable demo mode for it.
> 
> Or can you help to compile one for use and upload to [2]
> 
> Thanks, Amos
> 
> [1] http://people.redhat.com/jeder/rpms/netperf/netperf_24/.
> [2] http://people.redhat.com/jeder/rpms/netperf/2.6.0/
>  
> > > since
> > > you will includes netperf demo-mode, I think we have to investigate
> > > how to compile netperf.exe at least.(More reference comes from
> > > https://bugzilla.redhat.com/show_bug.cgi?id=826596#c37).
> > 
> > We only launch a netserver insider Windows guest, what we should do
> > is compiling a 2.6.0 netperf (demo mode enabled), case doesn't need to
> > be changed.
> >  
> > > wenli
> > > 
> > > >I have finished some code of netperf demo-mode and only tested with
> > > >linux guests. I will send it out first, we can fix netperf_win part
> > > >latter.

-- 
		Amos.


More information about the netperf-dev mailing list