Performance Modeling and Benchmarking of Event-Based ... - DVS
Performance Modeling and Benchmarking of Event-Based ... - DVS
Performance Modeling and Benchmarking of Event-Based ... - DVS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
96 CHAPTER 5. BENCHMARKING OF EVENT-BASED SYSTEMS<br />
Figure 5.16: Driver Framework<br />
Agents Each logical agent represents one <strong>of</strong> the locations in the application scenario. This<br />
means that, for example, a distribution center agent will contain a set <strong>of</strong> DC event h<strong>and</strong>lers<br />
pertaining to that location. Agents connect back to the Controller who coordinates the stages<br />
<strong>of</strong> the test. Once all agents are connected, the event h<strong>and</strong>lers (implemented as a Java thread<br />
each) start connecting to the JMS server <strong>and</strong> the warm-up phase <strong>of</strong> messaging begins. The<br />
controller manages the life cycle <strong>of</strong> the test by monitoring progress, coordinating phase changes<br />
<strong>and</strong> collecting statistics from the other components. When complete, it validates <strong>and</strong> combines<br />
the statistics into summary output files <strong>and</strong> presents the final metric for the test.<br />
Steps <strong>of</strong> a SPECjms2007 Run<br />
A SPECjms2007 run is a sequence <strong>of</strong> eight periodes[214], which can be grouped according three<br />
phases:<br />
Phase I: Benchmark Preparation<br />
1. Starting Driver Framework<br />
2. Starting Agents<br />
3. Starting <strong>Event</strong> H<strong>and</strong>lers<br />
Phase II: Benchmark Run<br />
4. Warmup Period<br />
5. Measurement Period<br />
6. Drain Period<br />
Phase III: Post Run<br />
7. Stopping <strong>Event</strong> H<strong>and</strong>lers<br />
8. Post-processing Results<br />
Period 1: Starting Driver Framework The controller component reads in all <strong>of</strong> the configuration<br />
<strong>and</strong> topological layout preferences given by the user. This will include items such as<br />
the number <strong>of</strong> different types <strong>of</strong> location <strong>and</strong> lists <strong>of</strong> the nodes across which they are distributed.