The Ibis model as a paradigm for programming distributed systems Henri Bal Vrije Universiteit Amsterdam (from Grids and Clouds to Smartphones)

Slides:



Advertisements
Similar presentations
European Research Network on Foundations, Software Infrastructures and Applications for large scale distributed, GRID and Peer-to-Peer Technologies Scalability.
Advertisements

European Research Network on Foundations, Software Infrastructures and Applications for large scale distributed, GRID and Peer-to-Peer Technologies Experiences.
Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.
Vrije Universiteit Interdroid: a platform for distributed smartphone applications Henri Bal, Nick Palmer, Roelof Kemp, Thilo Kielmann High Performance.
CCGrid2013 Panel on Clouds Henri Bal Vrije Universiteit Amsterdam.
7 april SP3.1: High-Performance Distributed Computing The KOALA grid scheduler and the Ibis Java-centric grid middleware Dick Epema Catalin Dumitrescu,
The Ibis Project: Simplifying Grid Programming & Deployment Henri Bal Vrije Universiteit Amsterdam.
SALSA HPC Group School of Informatics and Computing Indiana University.
The Distributed ASCI Supercomputer (DAS) project Henri Bal Vrije Universiteit Amsterdam Faculty of Sciences.
1 Towards Pervasive Connectivity in Mobile Computing Frank Siegemund European Microsoft Innovation Center November 2006.
Distributed supercomputing on DAS, GridLab, and Grid’5000 Henri Bal Vrije Universiteit Amsterdam Faculty of Sciences.
Harness and H2O Alternative approaches to metacomputing Distributed Computing Laboratory Emory University, Atlanta, USA
Summary Background –Why do we need parallel processing? Applications Introduction in algorithms and applications –Methodology to develop efficient parallel.
Parallel Programming on Computational Grids. Outline Grids Application-level tools for grids Parallel programming on grids Case study: Ibis.
The Distributed ASCI Supercomputer (DAS) project Henri Bal Vrije Universiteit Amsterdam Faculty of Sciences.
Real-World Distributed Computing with Ibis Henri Bal Vrije Universiteit Amsterdam.
Parallel Programming Henri Bal Rob van Nieuwpoort Vrije Universiteit Amsterdam Faculty of Sciences.
Parallel Programming Henri Bal Vrije Universiteit Faculty of Sciences Amsterdam.
The Ibis Project: Simplifying Grid Programming & Deployment Henri Bal, Jason Maassen, Rob van Nieuwpoort, Thilo Kielmann, Niels Drost, Ceriel Jacobs, Frank.
© 2009 Research In Motion Limited Methods of application development for mobile devices.
Grid Adventures on DAS, GridLab and Grid'5000 Henri Bal Vrije Universiteit Amsterdam Faculty of Sciences.
Ibis: a Java-centric Programming Environment for Computational Grids Henri Bal Vrije Universiteit Amsterdam vrije Universiteit.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica System architectures Updated: November 2014.
The Ibis Project: Simplifying Grid Programming & Deployment Henri Bal Vrije Universiteit Amsterdam.
The Distributed ASCI Supercomputer (DAS) project Henri Bal Vrije Universiteit Amsterdam Faculty of Sciences.
High-Performance Distributed Multimedia Computing Frank Seinstra, Jan-Mark Geusebroek Intelligent Systems Lab Amsterdam Informatics Institute University.
Parallel Programming Henri Bal Vrije Universiteit Faculty of Sciences Amsterdam.
Inter-cluster Job Deployment by AgentTeamwork Sentinel Agents Emory Horvath CSS497 Spring 2006 Advisor: Dr. Munehiro Fukuda.
SM3121 Software Technology Mark Green School of Creative Media.
Parallel Programming Henri Bal Vrije Universiteit Amsterdam Faculty of Sciences.
Undergraduate Poster Presentation Match 31, 2015 Department of CSE, BUET, Dhaka, Bangladesh Wireless Sensor Network Integretion With Cloud Computing H.M.A.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Course Outline Introduction in algorithms and applications Parallel machines and architectures Overview of parallel machines, trends in top-500, clusters.
RUNNING PARALLEL APPLICATIONS BEYOND EP WORKLOADS IN DISTRIBUTED COMPUTING ENVIRONMENTS Zholudev Yury.
DAS 1-4: 14 years of experience with the Distributed ASCI Supercomputer Henri Bal Vrije Universiteit Amsterdam.
This work was carried out in the context of the Virtual Laboratory for e-Science project. This project is supported by a BSIK grant from the Dutch Ministry.
Panel Abstractions for Large-Scale Distributed Systems Henri Bal Vrije Universiteit Amsterdam.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
The Ibis Project: Simplifying Grid Programming & Deployment Henri Bal Vrije Universiteit Amsterdam.
Introduction to Interactive Media Interactive Media Tools: Software.
Distributed Systems: Concepts and Design Chapter 1 Pages
Architectures of distributed systems Fundamental Models
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Henri Bal Vrije Universiteit Amsterdam High Performance Distributed Computing.
SALSA HPC Group School of Informatics and Computing Indiana University.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Distributed Systems and Algorithms Sukumar Ghosh University of Iowa Spring 2011.
Cloud Age Time to change the programming paradigm?
The Grid the united computing power Jian He Amit Karnik.
ICT infrastructure for Science: e-Science developments Henri Bal Vrije Universiteit Amsterdam.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Seminar on Service Oriented Architecture Distributed Systems Architectural Models From Coulouris, 5 th Ed. SOA Seminar Coulouris 5Ed.1.
A Technical Overview Bill Branan DuraCloud Technical Lead.
Parallel Programming Henri Bal Vrije Universiteit Faculty of Sciences Amsterdam.
Parallel Programming Henri Bal Vrije Universiteit Faculty of Sciences Amsterdam.
Parallel Computing on Wide-Area Clusters: the Albatross Project Aske Plaat Thilo Kielmann Jason Maassen Rob van Nieuwpoort Ronald Veldema Vrije Universiteit.
Nguyen Thi Thanh Nha HMCL by Roelof Kemp, Nicholas Palmer, Thilo Kielmann, and Henri Bal MOBICASE 2010, LNICST 2012 Cuckoo: A Computation Offloading Framework.
High level programming for the Grid Gosia Wrzesinska Dept. of Computer Science Vrije Universiteit Amsterdam vrije Universiteit.
AMOEBA study of distributed system
Fault tolerance, malleability and migration for divide-and-conquer applications on the Grid Gosia Wrzesińska, Rob V. van Nieuwpoort, Jason Maassen, Henri.
INTRODUCTION TO HIGH PERFORMANCE COMPUTING AND TERMINOLOGY.
Chapter 1 Characterization of Distributed Systems
Real-World Distributed Computing with Ibis
Summary Background Introduction in algorithms and applications
Architectures of distributed systems Fundamental Models
Architectures of distributed systems Fundamental Models
MPJ: A Java-based Parallel Computing System
Architectures of distributed systems
Architectures of distributed systems Fundamental Models
Vrije Universiteit Amsterdam
Presentation transcript:

The Ibis model as a paradigm for programming distributed systems Henri Bal Vrije Universiteit Amsterdam (from Grids and Clouds to Smartphones)

Outline ● History of distributed systems ● Clusters, grids, clouds, networked world ● Programming distributed systems ● Driving applications ● The Ibis system ● Ibis on smartphones

History of the Distributed World – Part I (1980s) ● Networks of Workstations (NOWs) ● Collections of Workstations (COWs) ● Processor pools (Amoeba) ● Condor pools ● (Beowulf) clusters

Amoeba processor pool (Zoo, 1994)

History of the (more) Distributed World – Part II ● Metacomputing (Smarr & Catlett, CACM 1992) ● Flocking Condor (Epema, FGCS 1996) ● Distributed ASCI Supercomputer (1996 – ?) ● Grid Blueprint (Foster & Kesselmann 1998) ● Desktop grids, (1999)

Design of DAS (1996) DAS-1DAS-2DAS-3 DAS-4 (slide from Andy’s ASCI’97 presentation)

DAS-3DAS-3

A real (heterogeneous) Grid

History of the (Modern) Distributed World – Part III ● Cloud computing ● Infrastructure as a service ● Virtualization ● Mobile computing ● Sensor networks ● Smart phones ● The Networked World

Problem ● How to write high-performance applications for real-world distributed systems? ● How to integrate many different resources?

Our approach ● Study fundamental underlying problems ● … hand-in-hand with realistic applications ● … integrate solutions in one system: Ibis Distributed SystemsUser !

Fundamental problems ● Performance – efficiency on wide-area systems ● Heterogeneity – different systems & APIs ● Malleability – resources come and go ● Fault tolerance - crashes ● Connectivity – firewalls, NAT, etc. ● Security – very hard

Case study: spam filters #1 Dutch Computer scientist Top security-expert CONGRATULATIONS!! YOU HAVE WON 2.5 MEURO!! Dear prof. Tanenbaum, You may not know me, but I’d like to give you 2.5 Million Euro to do research. Please come to Brussels to collect the money. Yours sincerely, Mr. V.I. Person

Applications ● Scientific applications ● Imaging (VUMC, AMOLF) ● Bioinformatics (sequence analysis, cell modeling) ● Astronomy (data analysis challenge) ● Multimedia content analysis ● Games and model checking ● Semantic web (distributed reasoning)

Multimedia content analysis ● Automatically extract information from images & video ● Extract feature vectors from images ● Describe properties (color, shape) ● Data-parallel task on a cluster ● Compute on consecutive images ● Task-parallelism on a grid

MMCA ‘ Most Visionary Research’ award at AAAI 2007, (Frank Seinstra et al.)

Games and Model Checking ● Can solve entire Awari game on wide-area DAS-3 ● Needs 10G private optical network (StarPlane) ● Distributed model checking has very similar communication pattern ● Search huge state spaces, random work distribution, bulk asynchronous transfers ● Can efficiently run DeVinE model checker on wide- area DAS-3, use up to 1 TB memory

Awards SCALE 2008 DACH BS DACH FT AAAI-VC 2007 ISWC 2008 Multimedia Computing Astronomy Semantic Web (van Harmelen et al.)

Outline ● History of distributed systems ● Clusters, grids, clouds, networked world ● Programming distributed systems ● Driving applications ● The Ibis system ● Ibis on smartphones

Ibis Philosophy ● Real-world distributed applications should be developed and compiled on a local workstation, and simply be launched from there

Ibis Approach ● Virtual Machines (Java) deal with heterogeneity ● Provide range of programming abstractions ● Designed for dynamic/faulty environments ● Easy deployment through middleware- independent programming interfaces ● Modular and flexible: can replace Ibis components by external ones

Ibis Design ● Functionality from programming languages ● High-Performance Application Programming System ● Functionality from operating systems ● Distributed Application Deployment System

Ibis System

Programming system ● Programming models: ● Message passing (RMI, MPJ) ● Divide-and-conquer (Satin) ● Master-worker (Maestro) ● Jorus: (multimedia applications) ● IPL (Ibis Portability Layer) ● Java-centric “run-anywhere” library ● Point-to-point, multicast, streaming, …. ● Simple model (Join-Elect-Leave ) for tracking resources, supports malleability & fault-tolerance

SmartSockets library ● Detects connectivity problems ● Tries to solve them automatically ● With as little help from the user as possible ● Integrates existing and several new solutions ● Reverse connection setup, STUN, TCP splicing, SSH tunneling, smart addressing, etc. ● Uses network of hubs as a side channel

Example

Deployment system ● IbisDeploy GUI ● JavaGAT: ● Java Grid Application Toolkit ● Make applications independent of underlying middleware ● Zorilla P2P system ● Jobs management, gossiping, clustering, flood scheduling

● Runs simultaneously on clusters (DAS-3, Japan, Australia), Desktop Grid, Amazon EC2 Cloud ● Connectivity problems solved automatically by Ibis SmartSockets Multimedia Content Analysis Client Broker Servers Ibis (Java)

Connection management With SmartSockets: run everywhere Standard sockets: only local VU machines can be reached due to firewalls problems

Ibis movie (part 1)

Performance on 1 DAS-3 cluster ● Relative speedups of Java/Ibis and C++/MPI ● Using TCP or Myricom’s MX protocol ● Sequential performance Java: 80% of C++

Ibis Performance (wide area) ● Wide-area DAS: ● Frame-rate increases linearly with #clusters from 1 frame/sec to 4 frames/sec ● World-wide experiments: 22 frames/sec

Smart Phones ● GSM + PC + GPS + camera + networks + …. ● Location-aware ● What if everyone always carries a smart phone (like a GSM now)? ● Next wave in computing?

Ibis on Smart Phones ● Our focus: distributed smart phone applications ● Applications running on multiple phones ● Integration with distributed computing backbone ● Use Android for development ● Google’s open-source platform ● Java-based

Distributed applications ● Disaster management (Katrina) ● Use ad-hoc Wifi network when GSM network fails ● Finding nearby people with certain skills ● Bus drivers, CPR ● Distributed decision support ● Moving people to shelters (logistics) ● Social networks ● Similar issues ● Find nearby friends, decide on restaurant

Wild example ● Track position => automatic diary of your life ● Cross-comparisons between diaries Haven’t we met before? Yes, on 23 Oct 2010, 3.48 pm at N 52°22.688´ E 004°53.990´

eyeDentify ● Object recognition on a G1 smartphone ● Smartphone is a limited device: ● Can run only 64 x 48 pixels (memory bound) ● 1024 x 768 pixels would take 5 minutes ● Distributed Ibis version: + = x 768 pixels 2.0 seconds

Ibis movie (part 2)

Interdroid Distributed Communication Data Management Novel Mobile Distributed Applications Context Sensitive Programming Models

Current work ● Raven: API for Viable Episodic Networking ● Decentralized synchronization API ● Fine grained control over data sharing ● Bluetooth support for ad-hoc communication ● Discovery of devices using multiple networks ● Context Aware Programming Models ● Supporting distributed decision making ● Representing and using context (location etc.) ● Exploiting social relationships (Hyves, Facebook)

Summary ● It’s a wild (distributed) world

Acknowledgements Niels Drost Ceriel Jacobs Roelof Kemp Timo van Kessel Thilo Kielmann Jason Maassen Rob van Nieuwpoort Nick Palmer Kees van Reeuwijk Frank J. Seinstra Kees Verstoep Gosia Wrzesinska

Big Acknowledgement Andy

Questions?