java based visualizer for beosim
DESCRIPTION
Java Based Visualizer for BeoSim. Michael Bassily SURE 2004 Advisor: Dr. Ligon. Visualizer Constructs. Background What is BeoSim?. New All Native java: AWT and SWING Data structure at most the size of number of time stamps. New Visualizer Components. OLD - PowerPoint PPT PresentationTRANSCRIPT
Java Based Visualizer for BeoSimMichael Bassily
SURE 2004
Advisor: Dr. Ligon
Background
•What is BeoSim?
•A mini-grid simulator -Mini-grid: a collection of clusters limitedto campus wide setting
•Event Driven
•Used for testing of meta-scheduling algorithms:
Higher level distributed scheduling process, through which actions of all local schedules are coordinated on a grid wide bases, used for Co-allocation of clusters
Example Mini grid
Co-allocation
Problem
The output file of BeoSim can sometimes be thousands of lines long, a way is needed so that the user can easily see what is occurring at any given time point, a Visualizer is needed!!!
There is also a previous Visualizer, but it is too slow.
Visualizer GUI Concept Figure
New Visualizer Components
The Data structure:JobNode.java: holds data about each specific jobTimeSlice.java: holds data about each time stampTimeSack.java: holds data about the entire parse
The Parser: BeoParse.jj
Based on sun standard compiler compiler JavaCCBased on regular expressions, i.e.:
("\n" | "\r")* Header() Body(currentData) Footer(currentData) <EOF>Header():<HDR> ("\n" | "\r") <NUM>+ ("\n" | "\r")
GUI Interface:
BeoVizGuie.java: main frame holder
Sub files for each inner frame:
ClusterFrame.java – displays cluster allocation information
JobAllocFrame.java – displays timeline of running jobs
QueueFrame.java – displays instantaneous and average queue lengths
StatsFrame.java – displays usage statistics such as grid utilization percentage
Visualizer Constructs
OLD •Used 3rd party graphic package JFreeChart
•Large data structure
New •All Native java:
AWT and SWING
•Data structure at most the size of number of time stamps
GUI Interface
Runtime Improvements
The new Visualizer is much faster!!!!