Hi Di,
After running the start-run script, the 
/path-to/faban-streaming/streaming/deploy/run.xml shout reflect your desired 
parameters. Please check the file and confirm that
1. The scale parameter is set to 1
2. The ipAddress is set to 130.203.37.156
3. The codeDirectory is set to : /path-to/faban-streaming/streaming (where 
path-to is the path in your directory hierarchy that leads to faban-streaming)

If all the above are set properly(which should be the case), then you should 
test the single client request to see what happens when the client sends the 
request to the server. You can do this by the following:
-start the server
-From the Client machine, under /path-to/faban-streaming/streaming issue the 
following command (just a test request): ./rtspclient.o 
rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov 20000 10
Make sure that you see the code 200 in the printout (in the end) indicating 
that the request was submitted correctly and the server is responding with the 
desired video. Also the server stats should show that it has one connection. 

Let me know how it goes.

Regards,
Mutaz
________________________________________
From: [email protected] [[email protected]] on behalf of di wang 
[[email protected]]
Sent: Saturday, March 24, 2012 7:09 PM
To: [email protected]
Subject: [cloudsuite] questions about media streaming benchmark

Hi,

I am currently trying to use your media streaming benchmark. I followed the 
instructions to set up both client and server side.

Once I start to run the benchmark, e.g., sh scripts/start-run.sh 1 longlow 
130.203.37.156 1,

It does not seem to connect to Darwin media server at all, since the output 
from the server screen is like the following:

Streaming Server done starting up
     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     2012-03-24 14:04:10
          0          0          0          0          0             0          
0          0          0          0          0     2012-03-24 14:04:11
          0          0          0          0          0             0          
0          0          0          0          0     2012-03-24 14:04:12
          0          0          0          0          0             0          
0          0          0          0          0     2012-03-24 14:04:13

But the client does not complain anything about the connection, it still 
proceeded like this:
[root@XXX /work/streaming/faban-streaming/streaming]#
s/start-run.sh 1 longlow 100.1.1.1 1streaming]# sh script
Mar 24, 2012 1:55:50 PM com.sun.faban.common.RegistryImpl main
INFO: Registry started.
Mar 24, 2012 1:56:04 PM com.sun.faban.driver.engine.MasterImpl runBenchmark
INFO: RunID for this run is : 16
Mar 24, 2012 1:56:04 PM com.sun.faban.driver.engine.MasterImpl runBenchmark
INFO: Output directory for this run is : /tmp/output/16
Mar 24, 2012 1:56:04 PM com.sun.faban.driver.engine.MasterImpl configure
WARNING: Reducing agents from 10 to 1 due to too low scale.
Mar 24, 2012 1:56:04 PM com.sun.faban.driver.engine.MasterImpl configureAgents
INFO: Configuring 1 StreamDriverAgents...
Mar 24, 2012 1:56:04 PM com.sun.faban.driver.util.Timer idleTimerCheck
INFO: StreamDriverAgent[1]: Performing idle timer check
Mar 24, 2012 1:56:08 PM com.sun.faban.driver.util.Timer idleTimerCheck
INFO: StreamDriverAgent[1]: Idle timer characteristics:
Accuracy=1000,
min. invocation cost=1000,
med. invocation cost (math)=1000.0,
med. invocation cost (phys)=1000,
avg. invocation cost=1157.5,
max. invocation cost=21000,
variance of invocation cost=172893.75.
Mar 24, 2012 1:56:11 PM com.sun.faban.driver.engine.AgentImpl run
INFO: StreamDriverAgent[1]: Successfully started 1 driver threads.
Mar 24, 2012 1:56:11 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Started all threads; run commences in 2998 ms
Mar 24, 2012 1:56:14 PM com.sun.faban.driver.util.Timer$BusyTimerMeter run
INFO: StreamDriverAgent[1]: Performing busy timer check
Mar 24, 2012 1:56:18 PM com.sun.faban.driver.util.Timer$BusyTimerMeter run
INFO: StreamDriverAgent[1]: Busy timer characteristics:
Accuracy=1000,
min. invocation cost=0,
med. invocation cost (math)=1000.0,
med. invocation cost (phys)=1000,
avg. invocation cost=1174.5,
max. invocation cost=8000,
variance of invocation cost=166249.75.
Mar 24, 2012 1:56:20 PM com.sun.faban.driver.util.Timer$SleepCalibrator run
INFO: StreamDriverAgent[1]: Calibration succeeded. Sleep time deviation: 
14.376507633587787 ms, compensation: 15 ms.
Mar 24, 2012 1:56:20 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Ramp up completed
Mar 24, 2012 2:01:20 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Steady state completed
Mar 24, 2012 2:01:50 PM com.sun.faban.driver.engine.MasterImpl executeRun
INFO: Ramp down completed
Mar 24, 2012 2:01:50 PM com.sun.faban.driver.engine.MasterImpl getDriverMetrics
INFO: Gathering StreamDriverStats ...
Mar 24, 2012 2:01:50 PM com.sun.faban.driver.engine.MasterImpl generateReports
INFO: Printing Summary report ...
Mar 24, 2012 2:01:50 PM com.sun.faban.driver.engine.MasterImpl generateReports
INFO: Summary finished. Now printing detail ...
Mar 24, 2012 2:01:50 PM com.sun.faban.driver.engine.MasterImpl generateReports
INFO: Detail finished. Results written to /tmp/output/16.

Even if I give a wrong IP of server or shut down the server, the client output 
would still be the same, so it seems to me it did not talk to server at all. 
Did I miss something? Any idea what I did wrong?

I will appreciate your help.

thanks a lot in advance,

Di

Reply via email to