Computer and Automation Research Institute Hungarian Academy of Sciences SZTAKI’s work in DataGrid WP3 2002 September Norbert Podhorszki Laboratory of.

Slides:



Advertisements
Similar presentations
WP3 WP3 17/9/2002 Steve Fisher / RAL. WP3 Steve Fisher 17/9/2002WP32 Summary Quality Current status 1.2 R-GMA in release 2.0 Recent Requirements Work.
Advertisements

Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
Grid Application Builders Teach In31/01/02Antony Wilson Information & Monitoring Services WP3.
Database Architectures and the Web
1 OBJECTIVES To generate a web-based system enables to assemble model configurations. to submit these configurations on different.
Visual Solution to High Performance Computing Computer and Automation Research Institute Laboratory of Parallel and Distributed Systems
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
1 Java Networking – Part I CS , Spring 2008/9.
1 SWE Introduction to Software Engineering Lecture 22 – Architectural Design (Chapter 13)
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
CrossGrid Task 3.3 Grid Monitoring Trinity College Dublin (TCD) Brian Coghlan Paris MAR-2002.
Canonical Producer CP API User Code CP Servlet Files CreateTable, Port, Protocol, Security, SQL Support, Multiple Query Support Security Insert Query Port.
WSN Simulation Template for OMNeT++
Performance Analysis Necessity or Add-on in Grid Computing Michael Gerndt Technische Universität München
An Introduction to Internetworking. Algorithm for client-server communication with UDP (connectionless) A SERVER A CLIENT Create a server-socket (listener)and.
JSP Architecture  JSP is a simple text file consisting of HTML or XML content along with JSP elements  JSP packages define the interface for the compiled.
Computers Are Your Future © 2008Prentice-Hall, Inc.
1 Application Specific Module for P-GRADE Portal 2.7 Application Specific Module overview Akos Balasko MTA-SZTAKI LPDS
Application for Internet Radio Directory 19/06/2012 Industrial Project (234313) Kickoff Meeting Supervisors : Oren Somekh, Nadav Golbandi Students : Moran.
UNIT-V The MVC architecture and Struts Framework.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
GRAPPA Part of Active Notebook Science Portal project A “notebook” like GRAPPA consists of –Set of ordinary web pages, viewable from any browser –Editable.
Chapter 9 Message Passing Copyright © Operating Systems, by Dhananjay Dhamdhere Copyright © Operating Systems, by Dhananjay Dhamdhere2 Introduction.
Hungarian Supercomputing GRID
Remote OMNeT++ v2.0 Introduction What is Remote OMNeT++? Remote environment for OMNeT++ Remote simulation execution Remote data storage.
PVM. PVM - What Is It? F Stands for: Parallel Virtual Machine F A software tool used to create and execute concurrent or parallel applications. F Operates.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
Cluster Programming Technology and its Application in Meteorology Computer and Automation Research Institute Hungarian Academy of Sciences Hungarian Meteorological.
Using the SAS® Information Delivery Portal
Computer and Automation Research Institute Hungarian Academy of Sciences Presentation and Analysis of Grid Performance Data Norbert Podhorszki and Peter.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
GRM + Mercury in P-GRADE Monitoring of P-GRADE applications in the Grid using GRM and Mercury.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
SZTAKI in DataGrid 2003 What to do this year. Topics ● Application monitoring (GRM) ● Analysis and Presentation (Pulse) ● Performance of R-GMA.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
Application code Registry 1 Alignment of R-GMA with developments in the Open Grid Services Architecture (OGSA) is advancing. The existing Servlets and.
INFSO-RI Enabling Grids for E-sciencE Supporting legacy code applications on EGEE VOs by GEMLCA and the P-GRADE portal P. Kacsuk*,
Chapter 6 Server-side Programming: Java Servlets
OMIS Approach to Grid Application Monitoring Bartosz Baliś Marian Bubak Włodzimierz Funika Roland Wismueller.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
WP3 Information and Monitoring Steve Fisher / RAL 23/9/2003.
An information and monitoring system for static and dynamic information about grid resources, applications, networks … RDBMS Servlet aware of API during.
1 CSCD 326 Data Structures I Software Design. 2 The Software Life Cycle 1. Specification 2. Design 3. Risk Analysis 4. Verification 5. Coding 6. Testing.
Saving State on the WWW. The Issue  Connections on the WWW are stateless  Every time a link is followed is like the first time to the server — it has.
WP3 R-GMA: A Relational Grid information and monitoring system Steve Fisher / RAL 13/12/2002.
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA gLite Information System Pedro Rausch IF.
Website: Answering Continuous Queries Using Views Over Data Streams Alasdair J G Gray Werner.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
 CMS data challenges. The nature of the problem.  What is GMA ?  And what is R-GMA ?  Performance test description  Performance test results  Conclusions.
Java Message Service (JMS) Web Apps and Services.
Pipeline Execution Environment Laboratory of NeuroImaging UCLA.
The impact of R-GMA (upon WP1 and WP4). EDG (Paris) 6 Mar James MagowanImpact of R-GMA Grid Monitoring Architecture (GMA) We use it not only for.
Portals, Services, Interfaces Marlon Pierce Indiana University March 15, 2002.
Chapter 5: MULTIMEDIA DATABASE MANAGEMENT SYSTEM ARCHITECTURE BIT 3193 MULTIMEDIA DATABASE.
Source Level Debugging of Parallel Programs Roland Wismüller LRR-TUM, TU München Germany.
WP3 Security and R-GMA Linda Cornwall. WP3 UserVOMS service authr map pre-proc authr LCAS LCMAPS pre-proc LCAS Coarse-grained e.g. Spitfire WP2 service.
EGEE is a project funded by the European Union under contract IST Information and Monitoring Services within a Grid R-GMA (Relational Grid.
Application Specific Module Tutorial Zoltán Farkas, Ákos Balaskó 03/27/
INFSO-RI Enabling Grids for E-sciencE R-GMA Gergely Sipos and Péter Kacsuk MTA SZTAKI Credit to Valeria Ardizzone.
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Michael Hucka1 The Modeler’s Workspace Current Design Plans and Status Current project members: Michael Hucka Kavita Shankar Sara Emardson David Beeman.
General Grid Monitoring Infrastructure (GGMI) Peter kacsuk and Norbert Podhorszki MTA SZTAKI.
Debugging. Design Well A careful design limits the necessary debugging - think “top-down” Write comments as you go, especially invariants –You can test.
Canonical Producer CP API CP Servlet User Code Files
An Introduction to Internetworking
Exceptions and networking
Presentation transcript:

Computer and Automation Research Institute Hungarian Academy of Sciences SZTAKI’s work in DataGrid WP September Norbert Podhorszki Laboratory of Parallel and Distributed Systems MTA SZTAKI

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 2 Contents GRM and PROVE Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 3 GRM and PROVE Monitoring and visualisation of parallel programs Goal: Connect GRM to R-GMA –Modify instrumentation library to act as a Producer –Modify Main Monitor of GRM to act as a Consumer –Prove can be untouched –C API to R-GMA is needed

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 4 GRM Main Site User’s Host Host 1Host 2 Application Process Appl. Process R-GMA PROVE Connection to R-GMA

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 5 R-GMA Sensor Code Producer API Application Code Consumer API ProducerServlet Registry API Registry Servlet Schema API Schema Servlet “Event Dictionary” Consumer Servlet Registry API Main Monitor Instrumented code

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 6 GRM – RGMA How to use Instrument and compile your application with GRM. grm_instr.hinstrumentation header file libgrmon.alibrary to be linked to the application grm_Start should give a name (e.g. MyApp) unique for the whole grid Submit/execute the application Start GRM main monitor giving the unique application name grm –o trace_file MyApp Main monitor prints its listening socket port address (e.g. 6100) After execution start PROVE and read trace file

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 7 GRM Instrumentation library RGMA C API Two CircularBufferProducer to publish trace data Two schemas (relational tables) GRMHeader(String appName, String event) appName: unique identifier for this application event: GRM event string as is contains important header events (START) for P-GRADE also: GROUP, CHANNEL, TEMPLATE etc. small buffer in servlet (10 elements) GRMTrace(String appName, String event) all other trace events (BEGIN-END, SEND-RECEIVE etc.) local buffer (100) + large remote buffer (1000)

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 8 GRM Main monitor RGMA C API First, look for application: create a Consumer with select statement “SELECT * FROM GRMHeader WHERE appName = “...” events flushed into trace file R-GMA gives back all producers that produces such data. If found then create a streaming Consumer for trace data “SELECT * FROM GRMTrace WHERE appName = “...” remote buffer in ConsumerServlet for streaming (100)

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 9 Buffers in trace delivery Application process Producer API Local Buffer Application process Producer API Local Buffer ProducerServlet PServlet API Remote Buffer ConsumerServlet CServlet API Remote Buffer GRM – Consumer Consumer API ProducerServlet PServlet API Remote Buffer Trace file

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 10 Small PVM program worked

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 11 GRM – RGMA Problems: GRM CircularBufferProducer can loose data (overwrite buffer before it is read) PROVE should be ready for this! Buffer sizes can help a bit. In theory, no limit on buffer sizes in R- GMA Could RGMA report to Consumer if there was an overwrite? GRM main monitor exit and restart later? Tried only with a single, simple application. Parallel programs? Tried to use with P-GRADE but could not. Apps aborted always. Simple PVM program worked. Nested blocks are not allowed in PROVE (from P-GRADE) but might be a natural requirement for general monitoring.

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 12 GRM – RGMA Problems: RGMA Application exits  Producer exits  ProducerServlet exits, too  all data not delivered to ConsumerServlet are destroyed what about GRRP connection between servlets to keep all data in stream. Timeout application process uses local buffer to send events in bucks. no “near on-line” behaviour if events are generated rarely. timeout is defined but not implemented in RGMA C api Throughput performance? is the “quick-fixed bug in libwww” in the C api correctly solved? measurements needed

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 13 GRM – RGMA improvements Streaming single event per pop operation, i.e. communication between Consumer and ConsumerServlet One pop for the whole buffer in ConsumerServlet could improve performance Idea 1: when streaming, cons.execute() could give back the content of the buffer. This does not hurt the api. Idea 2: introduce new function: popAll() What about the streaming between the servlets? One-by-one or in blocks.

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 14 Improvement? Application process Producer API Local Buffer Application process Producer API Local Buffer ProducerServlet PServlet API Remote Buffer ConsumerServlet CServlet API Remote Buffer GRM – Consumer Consumer API ProducerServlet PServlet API Remote Buffer Trace file ConsumerServlet CServlet API Remote Buffer Create a ProducerServletConnection for each process and do not use Mediator?

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 15 Improvement? Application process Producer API Local Buffer Application process Producer API Local Buffer ProducerServlet PServlet API Remote Buffer GRM – Consumer Consumer API + something ProducerServlet PServlet API Remote Buffer Trace file Connect to ProducerServlets directly? Needs to write a consumer which implements features of ConsumerServlet. This is not clean RGMA anymore!!!

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 16 Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 17 Pulse Analysis and visualisation tool for monitoring data of resources and services and applications. Java code data source components  preprocessing components  view components their connections are defined in XML

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 18 Pulse Separates data model from visualisation modules based on Model-View-Controller paradigm Data model: meta-data (name, type, unit, range) and interface to the data source. Controller: preprocessing, analysis components View: displaying components

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 19 Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 20 The Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 21 The Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 22

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 23 The Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 24 Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 25 R-GMA Schema Browser Basic connection to R-GMA –RGMASimpleConsumer sensor component in Pulse which maps R-GMA data model to the data model of Pulse –Both single query and streaming supported Browser –get list of schemas (tables) from SchemaServlet –simple streaming query on a selected table (select * from table) –compose query based on selected table(s) Only tabular view currently.

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 26 R-GMA Schema Browser

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 27 R-GMA Simple Query

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 28 R-GMA Simple Query

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 29 Pulse: Future More visualisation modules for different kinds of monitoring data Analysis: modules for data analysis can be included in Pulse Interactivity in Pulse

Computer and Automation Research Institute Hungarian Academy of Sciences 2 September 2002, SZTAKI reportDataGrid WP3 30 Automatic Search for Bottlenecks APART project outcome: Apart Specification Language ASL in Java: JavaPSL from T. Fahringer, TU Vienna Talked about to use JavaPSL library and performance bottleneck search engine in Pulse. Need –to define performance bottlenecks for Grid resources Theoretical work, see Zs. Németh’s presentation –to collect necessary data through RGMA, –to implement in Pulse what is needed to connect all of it.