vg ES Demonstrations Andrew A Chien Henri Casanova











![A simple vg. DL query VG 1 = Cluster. Of(node) [4: 64] { node A simple vg. DL query VG 1 = Cluster. Of(node) [4: 64] { node](https://slidetodoc.com/presentation_image/8e256376ee06a41846bb303f2b145578/image-12.jpg)

![A simple vg. DL query VG 1 = Cluster. Of(node) [4: 64] { node A simple vg. DL query VG 1 = Cluster. Of(node) [4: 64] { node](https://slidetodoc.com/presentation_image/8e256376ee06a41846bb303f2b145578/image-14.jpg)









![EMAN and the Virtual Grid VG = Loose. Bag. Of (cluster) [1: 4] { EMAN and the Virtual Grid VG = Loose. Bag. Of (cluster) [1: 4] {](https://slidetodoc.com/presentation_image/8e256376ee06a41846bb303f2b145578/image-24.jpg)



- Slides: 27
vg. ES Demonstrations Andrew A. Chien, Henri Casanova, Fran Berman Yang-Suk Kee, Kenneth Yocum Richard Huang, Dionysis Logothetis, and Jerry Chou CSE, SDSC, and CNS University of California, San Diego VGr. ADS Site Visit April 28, 2005
vg. ES: Prototype Research Infrastructure • We have developed a functional prototype of vg. ES • Two demonstrations: — vg. ES 0. 7, March 2005 — vg. FAB: Finding and Selecting Resources — vg. ES: Full application run on the VGr. ADS testbed
The vg. ES Research Prototype Application vg. DL vg. FAB
The vg. ES Research Prototype Application vg. DL vg. FAB Resource Info vg. Agent
The vg. ES Research Prototype bind Application vg. DL vg. FAB vg. LAUNCH Resource Info vg. Agent
The vg. ES Research Prototype bind Application vg. DL vg. FAB vg. LAUNCH Resource Info vg. Agent VG return VG to App
Demonstration #1: vg. FAB bind Application vg. DL vg. FAB vg. LAUNCH Resource Info vg. Agent VG return VG to App
Demonstration #1: vg. FAB bind Simple vg. DL query program vg. DL vg. FAB vg. LAUNCH Resource Info vg. Agent VG return VG to App
Demonstration #1: vg. FAB bind Simple vg. DL query program vg. DL vg. FAB vg. LAUNCH Resource Info vg. Agent VG return VG to App
VGr. ADS and Tera. Grid Resources Xeon Itanium UCSD Rice UTK UH Pentium III Itanium
VGr. ADS and Tera. Grid Resources Itanium SDSC ANL Power 4 PSC Xeon Itanium UCSD Rice UTK Pentium III UH Itanium Xeon IU Purdue Power 3 Xeon Itanium ORNL Cal. Tech Altix Pentium 4 Alpha TACC NCSA Ultra. Sparc Itanium
A simple vg. DL query VG 1 = Cluster. Of(node) [4: 64] { node =[ (Processor == Xeon) && (Clock >= 1000) && (Memory >= 1000) ] } Xeon Itanium UCSD Rice UTK Pentium III UH Itanium SDSC ANL Power 4 PSC Itanium Xeon IU Purdue Power 3 Xeon Itanium ORNL Cal. Tech Altix Pentium 4 Alpha TACC NCSA Ultra. Sparc Itanium
Switch to live demo
A simple vg. DL query VG 1 = Cluster. Of(node) [4: 64] { node =[ (Processor == Xeon) && (Clock >= 1000) && (Memory >= 1000) ] } Xeon Itanium UCSD Rice UTK Pentium III UH Itanium SDSC ANL Power 4 PSC Itanium Xeon IU Purdue Power 3 Xeon Itanium ORNL Cal. Tech Altix Pentium 4 Alpha TACC NCSA Ultra. Sparc Itanium
A more complex vg. DL query VG 2 = rsc 1 = Cluster. Of(node)[4: 64] { node = [ (Processor == Xeon) && (Clock>=1000) && (Memory >=1000) ] } FAR rsc 2 = Loose. Bag. Of(cluster 1)[1: 20] { cluster 1 = Cluster. Of(node)[4: 128] { node = [ (Processor == Itanium) && (Memory >= 2048) ] } } Xeon Itanium UCSD Rice UTK Pentium III UH Itanium SDSC ANL Power 4 PSC Itanium Xeon IU Purdue Power 3 Xeon Itanium ORNL Cal. Tech Altix Pentium 4 Alpha TACC NCSA Ultra. Sparc Itanium
Switch to live demo
A more complex vg. DL query VG 2 = rsc 1 = = Cluster. Of(node)[4: 64] { VG 1 foo + node = [ (Processor == Xeon) && (Clock>=1000) && (Memory >=1000) ] } FAR rsc 2 = Loose. Bag. Of(cluster 1)[1: 20] { cluster 1 = Cluster. Of(node)[4: 128] { node = [ (Processor == Itanium) && (Memory >= 2048) ] } } Itanium SDSC ANL Power 4 SHOW RESULTS Xeon Itanium UCSD Rice UTK Pentium III UH Itanium PSC Itanium Xeon IU Purdue Power 3 Xeon Itanium ORNL Cal. Tech Altix Pentium 4 Alpha TACC NCSA Ultra. Sparc Itanium
Synthetic Resource Environments • Resource selection is a difficult problem • Research: result quality, scalability, response time, contention, . . . • We have developed a “resource environment generator” • A sample synthetic environment — It’s NP-hard — We have a heuristic and a prototype implementation — What is needed: Simulation studies in large and realistic environments — Based on survey of existing systems and analysis of technology trends — Kee, Casanova, Chien, Realistic Modeling and Synthesis of Resources for Computational Grids, SC 2004. — 1 million hosts, 10, 000 clusters, Pentium 2 -4, Itanium, Opteron, Athlon. — VG 3 = rsc 1= Cluster. Of (node) [4: 64] { node = [ (Processor==Pentium 4) && (Clock>=2000) && (Memory>=4096) ] } FAR rsc 2 = Loose. Bag. Of (nest_cluster) [1: 20] { nest_cluster = Cluster. Of (node) [4: 128] { node = [ (Processor==Itanium) && (Memory>=8192) ] } }
Switch to live demo
Take-away from Demonstration #1 • We have a working research prototype for vg. FAB within vg. ES • Makes it possible to use a high-level description of resource requirements • • — interfaces with the application via vg. DL — interfaces with resource information systems — returns sets of matching resources Makes it possible to find resources over different resource environments Research — evaluating scalability, result quality, etc. [CCGrid’ 05] [SC’ 05 submission]
Demonstration #2: vg. ES bind Application vg. DL vg. FAB vg. LAUNCH Resource Info vg. Agent VG return VG to App
Demonstration #2: vg. ES bind Application vg. DL vg. FAB vg. LAUNCH Resource Info vg. Agent VG return VG to App
Application: EMAN • EMAN: Electro Micrograph ANalysis • Demonstration: Run EMAN on the VGr. ADS testbed with vg. ES — Performs 3 -D reconstructions — Workflow Application — See Chuck Koelbel’s talk this afternoon, and the EMAN poster seq Xeon Itanium UCSD Rice UTK UH par Pentium III Itanium
EMAN and the Virtual Grid VG = Loose. Bag. Of (cluster) [1: 4] { cluster = Cluster. Of (node) [4: 10] { node = [Clock >= 900] } } VGES my. VGES = new VGES() // new vg. ES instance my. VG = my. VGES. create. VG( vg. DL_string ) // found & bound VG vg. Root = my. VG. get. Root(); . . . // Traverse VG tree to find resource information vg. ES. copy. To. Node(some. Node, “input 1”); // Send input files vg. ES. run. Cmd(some. Node, ”command”); // Start command vg. ES. copy. From. Node(some. Node, “output 1”); // Get output files vg. ES. terminate. VG(my. VG); // Destroy VG
Switch to live demo
Take-away from Demonstration #2 2 -D images • • 3 -D model The vg. ES prototype is functional for a real-application VG provides a simple abstraction that integrates — access to resources (Globus) — access to resource information (MDS, Ganglia, NWS, etc. )
VGr. ADS and the Virtual Grid • The VG abstraction and its runtime implementation are the focal point of the VGr. ADS multi-team collaboration — see afternoon presentations and posters VG • • • Interface to applications (vg. DL + VG) • Research platform for all the above Program preparation and optimization Application scheduling Monitoring, fault-tolerance, and adaptation Resource Management Single access/interface to various resource information sources



























