[netperf-talk] NetPerf fails in Windows 2008 Server

Rick Jones rick.jones2 at hp.com
Wed Jun 29 17:35:00 PDT 2011


On 06/07/2011 04:40 AM, Vinod Pademar wrote:
>
>     Hi All,
>
>     I have a strange behaviour of NetPerf/NetServer in a Linux/Windows
>     2008 Server environment. Please find the details below.
>
>     Any assistance to solve this issue will be highly appreciated. Thank
>     you.
>
>     Regards
>
>     Vinod
>
>     *_Client: Windows 2008 R2 Server_*
>
>     Installed NetPerf by compiling the source code using Windows
>     Development Kit (7600.16385.1)
>
>     *_Server: Debain Linux 5.0 Server (10.220.42.31)_*
>
>     Installed NetServer by compiling the source code using Linux “make”
>     tools
>
>     *_Test under consideration_*
>
>     I am trying to execute test and italways fails for the following
>     command.
>
>     C:\>netperf.exe -f m -i 9,3 -t TCP_STREAM -H 10.220.42.31 -l 20 -c
>     -- -s 131072 -S 131072
>
>     TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
>     10.220.42.31 (10.220.42.31) port 0 AF_INET : +/-2.500% @ 99% conf.
>
>     netperf: cannot shutdown tcp stream socket: An operation was
>     attempted on something that is not a socket.

Perhaps a timing race between the windows code in the thread that tries 
to simulate the sigalarm and the main thread of execution.

I seem to recall someone mentioning that already, along with a proposed 
patch - I don't recall if I put that into the top-of-trunk or not though.

happy benchmarking,

rick jones

>
>     I have noticed that the test only fails when there are multiple
>     iterations as given above. However, it works fine for a single
>     iteration as shown below.
>
>     C:\>netperf.exe -f m -t TCP_STREAM -H 10.220.42.31 -l 20 -c -- -s
>     131072 -S 131072
>
>     TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to
>     10.220.42.31 (10.220.42.31) port 0 AF_INET
>
>     RecvSendSendUtilizationService Demand
>     Socket SocketMessageElapsedSendRecvSendRecv
>     SizeSizeSizeTimeThroughputlocalremotelocalremote
>     bytesbytesbytessecs.10^6bits/s% N% Uus/KBus/KB
>     262142 131072 13107220.196.961.04-1.0024.557-1.000
>
>     I have tried with the following versions of NetPerf/NetServer from
>     the source.
>
>     2.4.3
>
>     2.4.4
>
>     2.4.5
>
>
>
> _______________________________________________
> netperf-talk mailing list
> netperf-talk at netperf.org
> http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-talk



More information about the netperf-talk mailing list