I'm a afraid I feel a bit dense but I'm not understanding the benefit of jmeter vs. custom tests vs. selenium even with your detailed explanation. I gather that jmeter tests performance more holistically in that it tests the performance of different aspects of the system under varying degrees of load. Whereas with custom integration tests, it seems like you're suggesting we can determine whether a given service in isolation meets an acceptable threshold. Load vs. Stress testing? What did you mean by "the analysis we're missing by not using Selenium". I could see us using Selenium and leveraging the data provided in our services/server UI, but I primarily saw Selenium as a means to automate functional testing.

Chris, how do we determine our initial benchmarks and what is our baseline topology to establish these? Where do we get the hardware to confirm topology characterizations meet these benchmarks. Perhaps its more helpful to should rely on data from existing production deployments and map these topologies to the deploymentzonas (sorry I couldn't resist) suggested by Chris. It would be great if we could provide a case study on how to interpret the service/services data, and what changes were made to a given deployment to maximize performance.

At the end of the day, ideally we need to be able to recommend to people hardware requirements. How can we do this in a straight forward way?



On 1/11/11 1:49 AM, Ruediger Rolf wrote:
Hi Chris, Hi Olaf,

I'm not sure what you want to achieve with this scenarios. I don't think that we need such a high degree of specification here. When I comes to jmeter you can change the number of users and the iterations that they make very easy. There are just 2 values that you have to change in each "Thread". Okay to give a detailed view about what you put in these scenarios I would need to change the test slighly but this would not be a real problem. But I don't think that jmeter would provide the information that you would like to know. The purpose of jmeter is to create many requests to a webserver and to see how this server reacts under this load. You can see how quick some pages can be loaded and you can see how good your internet-connection is for this demand, etc.

With Jmeter I can do the request in a more or less random manner. So I schedule a recording now and then or I upload a video (both happens every few minutes with the current settings) and in the meantime I request some additional pages and see how fast they load. To enter the amount of events that you have in scenario 3 or 4 it would take a few days or even weeks. Jmeter will create a more or less realistic load and report how the system reacts.

What you want to know should be better included in the performance tests in the test-harness. There I can create several hundred events in a few seconds and check if the system still responds within an acceptable time period.

But then again I would not create this scenarios. I would suggest to say that I expect instances.xml to respond faster than 1s and the calendar to be delivered faster than 10s in average or something like this. Then we could add more events, workflows, etc to the system iteratively and tell the admin how many jobs would be the maximum load for the current server. We would get the results within minutes and not within days or weeks like with jmeter (and this date would still need some interpretation).

I must say that I currently don't think that going on with Jmeter is worth the work. Jmeter has some overlap with Selenium, but without the detailed analysis that Selenium can provide (writing detailed test for the content can be done with very limited XPATH and RegEx expressions, where only one fact can be checked per test). And from the performance point of view the first test did not provide any surprising facts. Jmeter told us that there are no other weak points than the already expected ones. And the few weak points can be tested in a more efficient way in the test harness. I once created the calendar performance test in the Unit Test, what was disliked for a good reason, but by this I knew very well that the calendar for 10,000 events could be created in 8s on my machine. And if we add such test to the test-harness they would not slow down the regular build process.

RĂ¼diger

Schulte Olaf A. wrote:
Hello Chris

1. Pilot, 3 machines capturing 2 lectures per day.
2. Single, 5 machines capturing 4 lectures per day.
3. Moderate, 15 machines capturing 5 lectures per day.
4. Significant, 50 machines capturing 7 lectures per day.
The increase in the number of recordings doesn't make sense to me:
More rooms equipped in my experience won't lead to a higher load per
room. Same for the engage end: More rooms and more recordings per
room won't automatically see more users. Or is this for pointing the
different scenarios? Maybe we could replace the "Moderate" scenario
with a "dedicated recording room" scenario where you have 5 machines
recording 7 lectures a day. Just a thought.
This is a good point.  Most of the values should actually come from
distributions instead of a set number of lectures per day, I'm just
unsure how well jmeter can do this.  Ruediger, any thoughts here?

What do you think of this then olaf?:

1. Pilot, 3 machines capturing 2 lectures per day.
2. Single, 5 machines capturing 5 lectures per day.
3. Moderate, 15 machines capturing 5 lectures per day.
4. Significant, 50 machines capturing 5 lectures per day.

From my experience our top end is really 5 or so lectures per room.  So
just going with this as the "worst case" maybe is ok at this time?

I think these are fine. Even with Judy mentioning 6-7 recordings (which I would expect in some dedicated rooms as well), I would stick with these profiles as this evens out with lower utilization in other rooms.
Since each new category we introduce will require a plethora of new
test plans for all of our components I'd like to keep the number of
categories to a minimum.  Do you think this would sufficient, or should
we change pilot to something else (e.g. dedicated recording room)?

Fine as is. Just for the record: Are you referring to 60 minutes lectures? Ours would be 90+ minutes and I seem to remember this being the standard at German universities as well - RĂ¼diger?

Regards

Olaf A.


Chris
--
Christopher Brooks, BSc, MSc
ARIES Laboratory, University of Saskatchewan

Web: http://www.cs.usask.ca/~cab938
Phone: 1.306.966.1442
Mail: Advanced Research in Intelligent Educational Systems Laboratory
     Department of Computer Science
     University of Saskatchewan
     176 Thorvaldson Building
     110 Science Place
     Saskatoon, SK
     S7N 5C9
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________



_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to