Advanced Industrial Science and Technology 10 Aug. 2001 / Globus Retreat Ninf-G: Grid RPC system based on the Globus Toolkit Yoshio Tanaka (AIST, Japan)

Slides:



Advertisements
Similar presentations
National Institute of Advanced Industrial Science and Technology Experiences through Grid Challenge Event Yoshio Tanaka.
Advertisements

Demonstrations at PRAGMA demos are nominated by WG chairs Did not call for demos. We will select the best demo(s) Criteria is under discussion. Notes.
National Institute of Advanced Industrial Science and Technology Advance Reservation-based Grid Co-allocation System Atsuko Takefusa, Hidemoto Nakada,
National Institute of Advanced Industrial Science and Technology Ninf-G - Core GridRPC Infrastructure Software OGF19 Yoshio Tanaka (AIST) On behalf.
Does the implementation give solutions for the requirements? Flexibility GridRPC enables dynamic join/leave of QM servers. GridRPC enables dynamic expansion.
Three types of remote process invocation
ATLAS/LHCb GANGA DEVELOPMENT Introduction Requirements Architecture and design Interfacing to the Grid Ganga prototyping A. Soroko (Oxford), K. Harrison.
INTRODUCTION TO SIMULATION WITH OMNET++ José Daniel García Sánchez ARCOS Group – University Carlos III of Madrid.
Data Management Expert Panel - WP2. WP2 Overview.
RPC Robert Grimm New York University Remote Procedure Calls.
Grid Resource Allocation Management (GRAM) GRAM provides the user to access the grid in order to run, terminate and monitor jobs remotely. The job request.
This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
GridRPC Sources / Credits: IRISA/IFSIC IRISA/INRIA Thierry Priol et. al papers.
The road to reliable, autonomous distributed systems
ProActive Task Manager Component for SEGL Parameter Sweeping Natalia Currle-Linde and Wasseim Alzouabi High Performance Computing Center Stuttgart (HLRS),
USING THE GLOBUS TOOLKIT This summary by: Asad Samar / CALTECH/CMS Ben Segal / CERN-IT FULL INFO AT:
Workload Management Workpackage Massimo Sgaravatto INFN Padova.
John Kewley e-Science Centre GIS and Grid Computing Workshop 13 th September 2005, Leeds Grid Middleware and GROWL John Kewley
Slides for Grid Computing: Techniques and Applications by Barry Wilkinson, Chapman & Hall/CRC press, © Chapter 1, pp For educational use only.
Massimo Cafaro GridLab Review GridLab WP10 Information Services Massimo Cafaro CACT/ISUFI University of Lecce, Italy.
Data Grids: Globus vs SRB. Maturity SRB  Older code base  Widely accepted across multiple communities  Core components are tightly integrated Globus.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Application-specific Tools Netsolve, Ninf, and NEOS CSE 225 Chas Wurster.
Workload Management Massimo Sgaravatto INFN Padova.
1 GRID D. Royo, O. Ardaiz, L. Díaz de Cerio, R. Meseguer, A. Gallardo, K. Sanjeevan Computer Architecture Department Universitat Politècnica de Catalunya.
Grids and Globus at BNL Presented by John Scott Leita.
Cross Cluster Migration Remote access support Adianto Wibisono supervised by : Dr. Dick van Albada Kamil Iskra, M. Sc.
Speaker: Xin Zuo Heterogeneous Computing Laboratory (HCL) School of Computer Science and Informatics University College Dublin Ireland International Parallel.
- 1 - Grid Programming Environment (GPE) Ralf Ratering Intel Parallel and Distributed Solutions Division (PDSD)
Grid ASP Portals and the Grid PSE Builder Satoshi Itoh GTRC, AIST 3rd Oct UK & Japan N+N Meeting Takeshi Nishikawa Naotaka Yamamoto Hiroshi Takemiya.
GridFE: Web-accessible Grid System Front End Jared Yanovich, PSC Robert Budden, PSC.
GRAM5 - A sustainable, scalable, reliable GRAM service Stuart Martin - UC/ANL.
Shannon Hastings Multiscale Computing Laboratory Department of Biomedical Informatics.
Resource Brokering in the PROGRESS Project Juliusz Pukacki Grid Resource Management Workshop, October 2003.
Tool Integration with Data and Computation Grid GWE - “Grid Wizard Enterprise”
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
GO-ESSP Workshop, LLNL, Livermore, CA, Jun 19-21, 2006, Center for ATmosphere sciences and Earthquake Researches Construction of e-science Environment.
REQUEST/REPLY COMMUNICATION
Globus Toolkit Massimo Sgaravatto INFN Padova. Massimo Sgaravatto Introduction Grid Services: LHC regional centres need distributed computing Analyze.
GRIDS Center Middleware Overview Sandra Redman Information Technology and Systems Center and Information Technology Research Center National Space Science.
The EDGeS project receives Community research funding 1 Porting Applications to the EDGeS Infrastructure A comparison of the available methods, APIs, and.
ICalendar Compatible Collaborative Calendar- Server (CCS) Web Services Ahmet Fatih Mustacoglu Indiana University Computer Science Department Community.
Enabling Grids for E-sciencE Software installation and setup Viet Tran Institute of Informatics Slovakia.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
National Institute of Advanced Industrial Science and Technology Developing Scientific Applications Using Standard Grid Middleware Hiroshi Takemiya Grid.
Data Manipulation with Globus Toolkit Ivan Ivanovski TU München,
Tool Integration with Data and Computation Grid “Grid Wizard 2”
Globus: A Report. Introduction What is Globus? Need for Globus. Goal of Globus Approach used by Globus: –Develop High level tools and basic technologies.
John Kewley e-Science Centre All Hands Meeting st September, Nottingham GROWL: A Lightweight Grid Services Toolkit and Applications John Kewley.
Grid Information Services The Globus Project Argonne National Laboratory USC Information Sciences Instutute
GridRPC Sources / Credits: IRISA/IFSIC IRISA/INRIA Thierry Priol et. al papers.
Status of Globus activities Massimo Sgaravatto INFN Padova for the INFN Globus group
MGRID Architecture Andy Adamson Center for Information Technology Integration University of Michigan, USA.
Kento Aida, Tokyo Institute of Technology Ninf-G: GridRPC System Tokyo Institute of Technology Kento Aida.
CEN6502, Spring Understanding the ORB: Client Side Structure of ORB (fig 4.1) Client requests may be passed to ORB via either SII or DII SII decide.
Use of Performance Prediction Techniques for Grid Management Junwei Cao University of Warwick April 2002.
The Globus Toolkit The Globus project was started by Ian Foster and Carl Kesselman from Argonne National Labs and USC respectively. The Globus toolkit.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Tutorial on Science Gateways, Roma, Catania Science Gateway Framework Motivations, architecture, features Riccardo Rotondo.
EMI is partially funded by the European Commission under Grant Agreement RI Common Authentication Library Daniel Kouril, for the CaNL PT EGI CF.
A System for Monitoring and Management of Computational Grids Warren Smith Computer Sciences Corporation NASA Ames Research Center.
NAREGI PSE with ACS S.Kawata 1, H.Usami 2, M.Yamada 3, Y.Miyahara 3, Y.Hayase 4 1 Utsunomiya University 2 National Institute of Informatics 3 FUJITSU Limited.
Towards a High Performance Extensible Grid Architecture Klaus Krauter Muthucumaru Maheswaran {krauter,
Advanced Industrial Science and Technology / Tokyo Institute of Technology July 19, 2000 at ANL Implementation of Ninf using Globus Toolkit -- Ninf-G Hidemoto.
Evaluating Web Services Based Implementations of Grid RPC
How to connect your DG to EDGeS? Zoltán Farkas, MTA SZTAKI
Chapter 5 Remote Procedure Call
Cluster Computing and the Grid, Proceedings
Remote Procedure Call (invocation) RPC
Introduction to Web Services
Presentation transcript:

Advanced Industrial Science and Technology 10 Aug / Globus Retreat Ninf-G: Grid RPC system based on the Globus Toolkit Yoshio Tanaka (AIST, Japan) Most slides: by courtesy of Hidemoto Nakada (AIST/TITECH)

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology GridRPC(1/2) RPC on the Grid simple and ease-of-use programming interface suitable for task-parallel programs  c.f. MPI for data parallel programs GridRPC based middleware for applications/portals Discuss in GGF APM WG client server arguments results

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology GridRPC (2/2) Programming Model middleware between “ the Grid ” and Application Bases for more complex form of global computing Success stories of large computational problems happening Parameter sweeping  Monte Carlo Simulation – MCell (Netsolve) Coarse-Grained Iterative Algorithms  Fork-Join per iteration  SCRM-SDPA App (Ninf) Network-enabled “ generic ” libraries  SCLAPACK for Netsolve/Ninf Lower-level Grid Systems Grid RPC Application

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf-G: Ninf on Globus Ninf: Grid RPC system Ver.1 is released in ‘ 96 Ninf protocol and authentication using SSL stable and used for application and research Ninf-G: Ninf implementation using the Globus Toolkit Provide GridRPC core package  leave other functions such as security, scheduling, and resource management for Globus. Grid RPC package in the Globus toolkit Can be used for evaluation of other Globus-based package

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Outline Ninf overview Ninf original implementation Ninf-G implementation How to use Ninf-G Preliminary Evaluation Todo

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Brief History of Ninf The first design paper (Jun. ’ 94) A proto implementation (Sep. ’ 94) w/PVM Paper POOMA ’ 95 at Santa Fe (Mar. ’ 95) ETL Cray J90 installed as Ninf server Sep. ’ 95 The Metaserver introduced Feb. ’ 96 The v.1.0 released Jun. ’ 96 Ninf/Netsolve Collaboration, Fall ’ 97 Extensive Tools Development Early ’ 98~, v.1.2 Ninf v.2.0 Development ’ 00~ GridRPC and Grid Data Farm 2000~ Ninf-G (Ninf on Globus) 2001~

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf - a Grid RPC system Easy to use Grid system for Scientific Computing Very simple RPC API Existing libs and apps into GridRPC components  Legacy library written in Fortran / C can be published as Grid Component  File interfaced application also can be published double A[n][n],B[n][n],C[n][n]; /* Data Decl.*/ dmmul(n,A,B,C); /* Call local function*/ ninfy Ninf_call(“dmmul”,n,A,B,C); /* Call server side routine*/ double A[n][n],B[n][n],C[n][n]; /* Data Decl.*/ dmmul(n,A,B,C); /* Call local function*/ ninfy Ninf_call(“dmmul”,n,A,B,C); /* Call server side routine*/

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf - a Grid RPC System (cont.) Easy to publish existing library Just write an IDL file and compile it Interface Information library function ’ s name, and its alias (Define) arguments ’ access mode, data type (mode_in, out, inout,...) required library for the routine (Required) computation order (CalcOrder) source language (Calls) Define dmmul(mode_in int n, mode_in double A[n][n], mode_in double B[n][n], mode_out double C[n][n]) “ description “ Required “libXXX.o” CalcOrder n^3 Calls “C” dmmul(n,A,B,C); Define dmmul(mode_in int n, mode_in double A[n][n], mode_in double B[n][n], mode_out double C[n][n]) “ description “ Required “libXXX.o” CalcOrder n^3 Calls “C” dmmul(n,A,B,C);

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf-G - an implementation on top of globus toolkit What we expect with globus Security Inf. (including CA management) Resource Management … What we will provide Easy to use Grid Tool  Even simpler than MPI-G  For non-computer scientist, using globus is too complicated Building blocks for programming Grid application

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf implementation overview Client API Provides users easy to use API Remote Library Executable Execute numerical operation Ninf Server Provides library interface info. Invokes remote library executable IDL compiler Compiles Interface description Generates 'stub main' for remote library executable Helps to link the executable Ninf Register driver Registers remote library executable into the Server

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf architecture and protocol Client Ninf Server Invoke Executable Connect back IDL file Numerical Library IDL Compiler Register Remote Library Executable Generate Interface Request Interface Reply Server side Client side Use remote library Retrieve interface information Invoke Remote Library Executable It Calls back to the client Server side setup Make Remote Library Executable Register it to the Ninf Server fork

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf-G - basic design Replace Ninf Server functions with MDS and GRAM Retrieves interface information using MDS (GRIS)  Automatic generation of LDIF file Invokes Remote library Executable using GRAM

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf - Original Client Ninf Server Invoke Executable Connect back IDL file Numerical Library IDL Compiler Register Remote Library Executable Generate Interface Request Interface Reply Server sideClient side fork

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf-G Client GRAM Invoke Executable Connect back IDL file Numerical Library IDL Compiler Remote Library Executable Generate Interface Request Interface Reply Server sideClient side fork GRIS Interface Information LDIF File retrieve

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Registration to GRIS Generate LDIF file Interface information is encoded in Base64 Put the file at ${globus-deploy-dir}/var/gridrpc dn: rpcFuncname=perf/pingpong, sw=GridRPC hn=ninf.aist.go.jp, dc=gci, dc=jp, o=Grid objectclass: GridRPCEntry hn: ninf.aist.go.jp rpcFuncname: perf/pingpong module: perf entry: pingpong path: /home/ninf/tests/pingpong/_stub_pingpong stub:: PGZ1bmN0aW9uICB2ZXJzaW9uPSIyMjEuMDAwMDAwIiA+PGZ1bmN0 aW9uX25hbWUgbW9kdWxlPSJwZXJmIiBlbnRyeT0icGluZ3Bvbmci IC8+IDxhcmcgZGF0YV90eXBlPSJpbnQiIG1vZGVf …

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Ninf-G Installation Steps I.Install Globus toolkit II.Untar, configure, make Ninf-G package III.Make a directory (server side) ${globus-deploy-dir}/var/gridrpc Change the mode of the directory IV.Edit the GRIS setup file (server side) Add following line 0 cat ${localstatedir}/gridrpc/*.ldif

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology How to use Ninf-G Server side Write an IDL file for the Remote library Compile it with IDL Compiler Run make on generated makefile Register the executable by make -f XXX.mak install Client side Write a client program using Ninf API Compile and link with the supplied compile driver grid-proxy-init to generate proxy certificate Run the program

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Preliminary Evaluation Evaluate cost GRIS lookup GRAM invocation Target program PingPong - no computation Environment LAN: intra AIST: 100 base/T WAN: inter Titech - AIST:  Fore: 200KB/sec  Back: 600KB/sec

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Result (LAN) GRIS Lookup costs around 5 seconds GRAM invocation costs around 1 second

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Result (WAN) GRIS Lookup costs around 5-20 seconds GRAM invocation costs around 4-6 second

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Discussion Lookup and invocation cost related with the network latency GRIS lookup cost includes database update We need immediate update What we should do? Can we enforce GRIS update or 'push' information? Lookup results are cached in client side Subsequent invocations for the same library do not require GRIS lookup 0 cat ${localstatedir}/gridrpc/*.ldif

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Todo Communication using Globus I/O Develop a job manager for cluster system Fault management Java Client using CoG ? Application Portals / ASP

10 Aug., 2001 / Globus Retreat Advanced Industrial Science and Technology Summary Ninf-G is easy to use Grid system component Implemented using GRIS and GRAM Will be released 2001/4Q We'd like to contribute Ninf-G to the globus package