Hi Alexandre. The duration of the videos range between 1 to 630 min. Since the duration of the steadyState you set is in seconds, 150 seconds is not enough for most of these videos to finish.
Please set the steadyState to a value, which is suitable for your measurements. e.g., if you want to measure something on the server for 10 min., set the value to 600. As long as the number of clients you specified is the same as what the server shows (number of connections), it means that the connections between the client and server machines are live and streaming is actually happening. When the number of clients shown by the server starts decreasing, it means that the steady state is over and the client driver will start killing the client threads. At this point, you should stop taking any measurements on the server side. What’s important is to make sure that the client threads are not killed during the steady state. Hope this helps. Let me know if you have any other questions. -- Cansu On 07 Jul 2014, at 20:58, Alexandre Ternis Ferreira <[email protected]<mailto:[email protected]>> wrote: Hi Cansu, I can run the number of clients that I choose. The steadyState is 150. I continue with the error that the threads are forcefully terminated on the client side. On the serve side the numbers of connections goes down until the error, and goes printing the connection without transferring data. I will take a look at the StreamDriver.java. Thanks for your patience, Alexandre. On Jul 6, 2014, at 11:21 AM, Cansu Kaynak <[email protected]<mailto:[email protected]>> wrote: Dear Alexandre, Please take a look at the driver code (streaming-release/faban-streaming/src/sample/streamdriver/StreamDriver.java) to get an understanding of the bit rates, durations, and videos in the request mix. Regarding the number of connections and clients: What is value of “maximum_connections” on the server side? It should be set to -1 for an infinite number of connections. What is the value of “steadyState” time in run.xml? -- Cansu On 30 Jun 2014, at 15:58, Alexandre Ternis Ferreira <[email protected]<mailto:[email protected]>> wrote: Hi Cansu, Thanks for the answer. I chose 100 clients to run, and I chose to run GetShortMedium with 100. The server appears different number of connections between 10 and 20 every time I run the test. Additionally I do not know how long is the video since the folder streamingVideos_10 has a lot of videos and I do not know which videos is the GetShortMedium. Do you have any suggestion that I can try? Best, Alexandre On Jun 29, 2014, at 10:23 AM, Cansu Kaynak <[email protected]<mailto:[email protected]>> wrote: Dear Alexandre, I have not seen such an error before, but my guess is that it has to do with the fact that the steady state and ramp down duration you specified in run.xml is shorter than the duration of the videos. So, the driver closes the connections by “forcefully terminating” the client threads. Because the client side doesn’t collect any statistics about the connections or streaming requests, such error messages on the client side are not important. To take measurements on the server side during the steady state, you would like to make sure that the number of connections you specified in run.xml is the same as what the media streaming server shows in its output, which means that all the connections are active at a given time. Let us know if you have any other questions. -- Cansu On 26 Jun 2014, at 22:57, Alexandre Ternis Ferreira <[email protected]<mailto:[email protected]>> wrote: Hi, I am running media streaming normally, but at the end of the execution I am getting this error. The server responde normally printing the numbers. I have already tried to solve changing the run.xml file, but did not work. INFO: Ramp up completed Jun 26, 2014 3:49:40 PM com.sun.faban.driver.engine.MasterImpl executeRun INFO: Steady state completed Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[10]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[10]: 2 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[8]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[8]: 1 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[7]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[7]: 2 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[6]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[6]: 2 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[4]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[4]: 2 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[3]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[3]: 1 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[2]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[2]: 2 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[1]: Forcefully terminating benchmark run Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.AgentImpl terminate WARNING: StreamDriverAgent[1]: 3 threads forcefully terminated. java.lang.Throwable: Stack of non-terminating thread. at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at sample.streamdriver.StreamDriver.Get(StreamDriver.java:439) at sample.streamdriver.StreamDriver.doGetShortHi(StreamDriver.java:351) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.faban.driver.engine.TimeThread.doRun(TimeThread.java:169) at com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202) Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.MasterImpl executeRun INFO: Ramp down completed Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.MasterImpl getDriverMetrics INFO: Gathering StreamDriverStats ... Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.MasterImpl generateReports INFO: Printing Summary report ... Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.MasterImpl generateReports INFO: Summary finished. Now printing detail ... Jun 26, 2014 3:52:10 PM com.sun.faban.driver.engine.MasterImpl generateReports INFO: Detail finished. Results written to /afs/cs.pitt.edu/usr0/aferreira/public/media-streaming/streaming-release/faban-streaming/tmp/output/3<http://cs.pitt.edu/usr0/aferreira/public/media-streaming/streaming-release/faban-streaming/tmp/output/3>. Best, Alexandre
