Hi there,
I am trying to setup media-streaming on two servers, one for the darwin
server, the other for the faban client. The installation was quite smooth,
however when I ran the workload with run-test.sh, it always gives me the
following error on the client:
Dec 24, 2013 4:20:56 AM com.sun.faban.driver.engine.AgentThread logError
WARNING: StreamDriverAgent[2].946.doGetMediumLow: Cannot run program
"/home/hailong/media-streaming/faban-streaming/streaming/rtspclient.o":
java.io.IOException: error=11, Resource temporarily unavailable
Note: Error not counted in result.
Either transaction start or end time is not within steady state.
java.io.IOException: Cannot run program
"/home/hailong/media-streaming/faban-streaming/streaming/rtspclient.o":
java.io.IOException: error=11, Resource temporarily unavailable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
And also I notice on the darwin server, the statistics are always zero as
the following:
RTP-Conns RTSP-Conns HTTP-Conns kBits/Sec Pkts/Sec RTP-Playing
AvgDelay CurMaxDelay MaxDelay AvgQuality NumThinned Time
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:09
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:10
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:11
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:12
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:13
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:14
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:15
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:16
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:17
0 0 0 0 0 0
0 0 0 0 0 2013-12-24 17:18:18
It seems the darwin server has not received the client requests at all. The
firewall on both of the servers has been shut down. The workload
configuration is as follows:
<!-- The scale of the benchmark run, the driver definition
defines the number of threads for each driver scale
and each driver type. -->
<fa:scale>4500</fa:scale>
<!-- The rampup, steadystate, and rampdown of the driver -->
<fa:runControl unit="time">
<fa:rampUp>6</fa:rampUp>
<fa:steadyState>1000</fa:steadyState>
<fa:rampDown>60</fa:rampDown>
</fa:runControl>
<!-- The place where results are written -->
<outputDir>/home/hailong/media-streaming/faban-streaming/streaming/results</outputDir>
<!-- Audit is a flag for benchmarks to audit results
at the end of the run. It is not currently used
and subject to change in the near future -->
<audit>false</audit>
<threadStart>
<!-- The avg time between the start of each thread in
an agent -->
<delay>30</delay>
<!-- Whether the agents will wait until all threads to
be up and then start the load all at once. If
set to false, each thread will start executing the
operations as soon as it is started. This will
gradually load up the server. -->
<simultaneous>false</simultaneous>
<!-- Whether the agents will start up threads in parallel
or not. If set to false, an agent will start all it's
threads before the next agent gets to start the
threads. The socket connection queue will be less
loaded when it is set to false. -->
<parallel>true</parallel>
</threadStart>
<!-- Run-time stats exposed or not and the interval to update
the stats. A graphing package is required to display the
real time stats. It is not yet integrated into Faban. -->
<runtimeStats enabled="false">
<interval>5</interval>
</runtimeStats>
<!-- The driver-specific config. -->
<driverConfig name="StreamDriver">
<!-- The number of agents, or host:agents pairs
separated by space -->
<agents>5</agents>
<!-- The stats interval, overrides the ones specified for
the benchmark.
<stats>
<interval>30</interval>
</stats> -->
<!-- Port to send the runtime stats. -->
<runtimeStats target="9988"/>
<operationMix>
<name>GetLongLow</name>
<r>33</r>
</operationMix>
<operationMix>
<name>GetLongMedium</name>
<r>0</r>
</operationMix>
<operationMix>
<name>GetLongHi</name>
<r>0</r>
</operationMix>
<operationMix>
<name>GetMediumLow</name>
<r>33</r>
</operationMix>
<operationMix>
<name>GetMediumMedium</name>
<r>0</r>
</operationMix>
<operationMix>
<name>GetMediumHi</name>
<r>0</r>
</operationMix>
<operationMix>
<name>GetShortLow</name>
<r>34</r>
</operationMix>
<operationMix>
<name>GetShortMedium</name>
<r>0</r>
</operationMix>
<operationMix>
<name>GetShortHi</name>
<r>0</r>
</operationMix>
<operationMix>
<name>GetStressLow</name>
<r>0</r>
</operationMix>
<operationMix>
<name>GetStressHi</name>
<r>0</r>
</operationMix>
</driverConfig>
</fa:runConfig>
<!-- This shows a way to set different configurations of resources
outside
the driver. Such parameters are generally used by the
Faban Harness.-->
<serverConfig>
<ipAddress>10.1.1.16</ipAddress>
<portNumber>554</portNumber>
<datasetScale>28</datasetScale>
<protocolCode>
<codeDirectory>/home/hailong/media-streaming/faban-streaming/streaming</codeDirectory>
</protocolCode>
<fixDuration>-1</fixDuration>
</serverConfig>
</streamBenchmark>
Any ideas?
Best
Hailong