Hi Di, The problem you are seeing now is just a typo in the command used for the test. your command looks like: ./rtspclient.o rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov> which has weird part "<http:// ....." maybe as a result of a copy and paste.
The command provided also in a previous email had a typo: streamingVideios_10 (Videos is misspelled) it should be something like: ./rtspclient.o rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov 2000 1 Please try again and let me know how it goes. Regards, Mutaz ________________________________________ From: [email protected] [[email protected]] on behalf of di wang [[email protected]] Sent: Wednesday, March 28, 2012 8:12 PM To: Adileh Almutaz Subject: Re: [cloudsuite] questions about media streaming benchmark Thanks a lot, Mutaz. After setting the LD_LIBRARY_PATH correctly, it does not complain "unsupported rtsp protocol" and is able to connect to the server. However, it does not seem to find the files and give the following messages. All the stats of server showing are 0s. I indeed changed the default the location for movies folder in the <PREF NAME="movie_folder" >/hadoop_storage/movies/</PREF>. And streamingVideos_10/Movie8minMedium.mov is under /hadoop_storage/movies/. But even if I used the default /usr/local/movies/ folder, it still gives the same message. Any idea? thanks, di # ./rtspclient.o rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov> rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov> * About to connect() to 130.203.37.156 port 554 (#0) * Trying 130.203.37.156... * connected * Connected to 130.203.37.156 (130.203.37.156) port 554 (#0) > OPTIONS > rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov> > RTSP/1.0 CSeq: 1 < RTSP/1.0 200 OK RTSP/1.0 200 OK < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) < Cseq: 1 Cseq: 1 < Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE, RECORD < * Connection #0 to host 130.203.37.156 left intact OPTIONS Response Code: 200 * Re-using existing connection! (#0) with host 130.203.37.156 * Connected to 130.203.37.156 (130.203.37.156) port 554 (#0) > DESCRIBE > rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov> > RTSP/1.0 CSeq: 2 If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT Accept: application/x-rtsp-mh, application/rtsl, application/sdp < RTSP/1.0 404 Not Found RTSP/1.0 404 Not Found < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) < Cseq: 2 Cseq: 2 < Connection: Close Connection: Close < * Closing connection #0 DESCRIBE Response Code: 404 rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=3<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=3> * About to connect() to 130.203.37.156 port 554 (#0) * Trying 130.203.37.156... * connected * Connected to 130.203.37.156 (130.203.37.156) port 554 (#0) > SETUP > rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=3<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=3> > RTSP/1.0 CSeq: 3 Transport: RTP/AVP/UDP;unicast;client_port=20000-20001 If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT Accept: application/x-rtsp-mh, application/rtsl, application/sdp < RTSP/1.0 404 Not Found RTSP/1.0 404 Not Found < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) < Cseq: 3 Cseq: 3 < Connection: Close Connection: Close < * Closing connection #0 SETUP Response Code: 404 rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=4<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=4> * About to connect() to 130.203.37.156 port 554 (#0) * Trying 130.203.37.156... * connected * Connected to 130.203.37.156 (130.203.37.156) port 554 (#0) > SETUP > rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=4<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov/trackID=4> > RTSP/1.0 CSeq: 4 Transport: RTP/AVP/UDP;unicast;client_port=20000-20001 If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT Accept: application/x-rtsp-mh, application/rtsl, application/sdp < RTSP/1.0 404 Not Found RTSP/1.0 404 Not Found < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) < Cseq: 4 Cseq: 4 < Connection: Close Connection: Close < * Closing connection #0 SETUP Response Code: 404 playing... * About to connect() to 130.203.37.156 port 554 (#0) * Trying 130.203.37.156... * connected * Connected to 130.203.37.156 (130.203.37.156) port 554 (#0) > PLAY > rtsp://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov> > RTSP/1.0 CSeq: 5 Accept: application/x-rtsp-mh, application/rtsl, application/sdp < RTSP/1.0 500 Internal Server Error RTSP/1.0 500 Internal Server Error < Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) Server: DSS/6.0.3 (Build/526.3; Platform/Linux; Release/Darwin Streaming Server; State/Development; ) < Cseq: 5 Cseq: 5 < Connection: Close Connection: Close < * Closing connection #0 PLAY Response Code: 500 On Wed, Mar 28, 2012 at 6:48 AM, Adileh Almutaz <[email protected]<mailto:[email protected]>> wrote: Hi Di, No, your server is working correctly (we don't see anything that says it doesn't). However, the problem is in your client and basically, the rtsp client, which is clear in the message that you receive. Please make sure that you use the curl library provided with the benchmark package. Also, after compiling the curl library you may want to explicitly set the LD_LIBRARY_PATH to point to you library files. so you should do something like: export LD_LIBRARY_PATH /path-to-curldirectory/curlinst/lib/ basically this is the directory where you installed the library (based on the installation guideline) and you should find there something like: libcurl.a libcurl.la<http://libcurl.la>* libcurl.so@ libcurl.so.4@ libcurl.so.4.2.0* pkgconfig/ This will force the usage of the library that you compiled. Now when you try to run the previous test command (in the previous email) it should work with you. Then you will be able to run the benchmark. Please let me know how it goes. Regards, Mutaz ________________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of di wang [[email protected]<mailto:[email protected]>] Sent: Monday, March 26, 2012 4:15 AM To: Adileh Almutaz Subject: Re: [cloudsuite] questions about media streaming benchmark Hi Mutaz, Thanks for your quick reply. I checked the run.xml file and it is correct. The problem is when I tested single client request, it gave me unsupported protocol error as the following: [root@XXX /work/streaming/faban-streaming/streaming]# ./rtspclient.o rtsp://130.203.37.156:554/streamingVideios_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideios_10/Movie8minMedium.mov><http://130.203.37.156:554/streamingVideios_10/Movie8minMedium.mov> 20000 10 rtsp://130.203.37.156:554/streamingVideios_10/Movie8minMedium.mov<http://130.203.37.156:554/streamingVideios_10/Movie8minMedium.mov><http://130.203.37.156:554/streamingVideios_10/Movie8minMedium.mov> * Unsupported protocol: rtsp * unsupported protocol I am running client and server on virtual machines and they are Fedora release 7 (Moonshine) Kernel 2.6.18.8-xen on an x86_64. Does that mean server is not working correctly? But it can print stats. Any idea? thanks, Di On Sun, Mar 25, 2012 at 10:05 AM, Adileh Almutaz <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> wrote: 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<http://130.203.37.156:554/streamingVideos_10/Movie8minMedium.mov><http://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]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>> [[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>] on behalf of di wang [[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>] Sent: Saturday, March 24, 2012 7:09 PM To: [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[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
