June 22, 1999MONARC Simulation System I.C. Legrand1 MONARC Models Of Networked Analysis at Regional Centres Distributed System Simulation Iosif C. Legrand.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Interactive lesson about operating system
Database System Concepts and Architecture
Executional Architecture
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Study of Hurricane and Tornado Operating Systems By Shubhanan Bakre.
September, 1999MONARC - Distributed System Simulation I.C. Legrand1 MONARC Models Of Networked Analysis at Regional Centers Iosif C. Legrand (CERN/CIT)
1 Software & Grid Middleware for Tier 2 Centers Rob Gardner Indiana University DOE/NSF Review of U.S. ATLAS and CMS Computing Projects Brookhaven National.
Review: Chapters 1 – Chapter 1: OS is a layer between user and hardware to make life easier for user and use hardware efficiently Control program.
23/04/2008VLVnT08, Toulon, FR, April 2008, M. Stavrianakou, NESTOR-NOA 1 First thoughts for KM3Net on-shore data storage and distribution Facilities VLV.
MONARC Simulation Framework Corina Stratan, Ciprian Dobre UPB Iosif Legrand, Harvey Newman CALTECH.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
1: Operating Systems Overview
OPERATING SYSTEM OVERVIEW
Chapter 13 Embedded Systems
POLITEHNICA University of Bucharest California Institute of Technology National Center for Information Technology Ciprian Mihai Dobre Corina Stratan MONARC.
October 2003 Iosif Legrand Iosif Legrand California Institute of Technology.
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
The new The new MONARC Simulation Framework Iosif Legrand  California Institute of Technology.
Measuring Performance Chapter 12 CSE807. Performance Measurement To assist in guaranteeing Service Level Agreements For capacity planning For troubleshooting.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
What is Concurrent Programming? Maram Bani Younes.
Computer System Architectures Computer System Software
Introduction to Operating System and Operating System Components
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
B.Ramamurthy9/19/20151 Operating Systems u Bina Ramamurthy CS421.
COMP 410 & Sky.NET May 2 nd, What is COMP 410? Forming an independent company The customer The planning Learning teamwork.
SYSTEM SOFTWARE Prepared by: Mrs. Careene McCallum-Rodney.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
July, 2000.Simulation of distributed computing systems I.C. Legrand1 MONARC Models Of Networked Analysis at Regional Centers Iosif C. Legrand (CALTECH)
Ramiro Voicu December Design Considerations  Act as a true dynamic service and provide the necessary functionally to be used by any other services.
Data Import Data Export Mass Storage & Disk Servers Database Servers Tapes Network from CERN Network from Tier 2 and simulation centers Physics Software.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
October, 2000.A Self Organsing NN for Job Scheduling in Distributed Systems I.C. Legrand1 Iosif C. Legrand CALTECH.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Operating System Principles And Multitasking
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
Intelligent Agent Framework1 From Chapter 7 of Constructing Intelligent Agents with Java.
UNIX Unit 1- Architecture of Unix - By Pratima.
26 Nov 1999 F Harris LHCb computing workshop1 Development of LHCb Computing Model F Harris Overview of proposed workplan to produce ‘baseline computing.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
April 2003 Iosif Legrand MONitoring Agents using a Large Integrated Services Architecture Iosif Legrand California Institute of Technology.
PPDG February 2002 Iosif Legrand Monitoring systems requirements, Prototype tools and integration with other services Iosif Legrand California Institute.
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
January 20, 2000K. Sliwa/ Tufts University DOE/NSF ATLAS Review 1 SIMULATION OF DAILY ACTIVITITIES AT REGIONAL CENTERS MONARC Collaboration Alexander Nazarenko.
Joint Institute for Nuclear Research Synthesis of the simulation and monitoring processes for the data storage and big data processing development in physical.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Introduction to Operating Systems Concepts
OPERATING SYSTEMS CS 3502 Fall 2017
Applied Operating System Concepts
Processes and threads.
Operating Systems Bina Ramamurthy CSE421 11/27/2018 B.Ramamurthy.
World-Views of Simulation
Operating Systems Chapter 5: Input/Output Management
CS703 - Advanced Operating Systems
Multiprocessor and Real-Time Scheduling
Chapter 2: Operating-System Structures
Operating Systems : Overview
Operating Systems : Overview
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Chapter 2: Operating-System Structures
Development of LHCb Computing Model F Harris
Operating Systems Structure
Presentation transcript:

June 22, 1999MONARC Simulation System I.C. Legrand1 MONARC Models Of Networked Analysis at Regional Centres Distributed System Simulation Iosif C. Legrand (CERN/CIT) LCB, June 22, 1999

June 22, 1999MONARC Simulation System I.C. Legrand2 u To perform realistic simulation and modelling of the distributed computing systems, customised for specific HEP applications. u To reliably model the behaviour of the computing facilities and networks, using specific applications software (OODB model) and the usage patterns. u To offer a dynamic and flexible simulation environment. u To provide a design framework to evaluate the performance of a range of possible computer systems, as measured by their ability to provide the physicists with the requested data in the required time, and to optimise the cost. u To narrow down a region in this parameter space in which viable models can be chosen by any of the LHC-era experiments. The GOALS of the Simulation Program

June 22, 1999MONARC Simulation System I.C. Legrand3 Design Considerations of the Simulation Program è The simulation & modelling task for the MONARC project requires to describe complex programs running in a distributed architecture. J Selecting Tools which allow one easily to map the logical model into the simulation environment. è A process oriented approach for discrete event simulation is well suited to describe concurrent running programs. k “Active objects” (having an execution thread, a program counter, stack...) allow an easy way to map the structure of a set of distributed running programs into the simulation environment.

June 22, 1999MONARC Simulation System I.C. Legrand4 Design Considerations of the Simulation Program (2) u This simulation project is based on Java (TM) technology which provides adequate tools for developing a flexible and distributed process oriented simulation. Java has build-in multi-thread support for concurrent processing, which can be used for simulation purposes by providing a dedicated scheduling mechanism. u The distributed objects support (through RMI or CORBA) can be used on distributed simulations, or for an environment in which parts of the system are simulated and interfaced through such a mechanism with other parts which actually are running the real application. The distributed object model can also provide the environment to be used for autonomous mobile agents.

June 22, 1999MONARC Simulation System I.C. Legrand5 Simulation Model Simulation Model uIt is necessary to abstract from the real system all components and their time dependent interaction. uTHE MODEL has to be equivalent to the simulated system in all important respects. CATEGORIES OF SIMULATION MODELS u Continuous time  usually solved by sets of differential equations u Discrete time  Systems which are considered only at selected moments in time u Continuous time + discrete event Discrete event simulations (DES) u EVENT ORIENTED  PROCESS ORIENTED

June 22, 1999MONARC Simulation System I.C. Legrand6 Simulation Model(2) Process oriented DES Based on “ACTIVE OBJECTS” Thread: execution of a piece of code that occurs independently of and possibly concurrently with another one Execution state: set of state information needed to permit concurrent execution Mutual exclusion: mechanism that allow an action to performed on an object without interruption Asynchronous interaction: signals/ semaphores for interrupts thread execution state KERNEL thread scheduling mechanism I/O queues “Active Object” Methods for communication with others objects thread execution state I/O queues “Active Object” Methods forcommunication with others objects

June 22, 1999MONARC Simulation System I.C. Legrand7 Data Model ê It provides: uRealistic mapping for an Object Database uSpecific HEP data structure uTransparent access to any data uAutomatic storage management uAn efficient way to handle very large number of Objects. uEmulate clustering factors for different types of access patterns. uHandles related objects in different data bases.

June 22, 1999MONARC Simulation System I.C. Legrand8 Multitasking Processing Model Concurrent running tasks share resources (CPU, memory, I/O) “ Interrupt” driven scheme: For each new task or when one task is finished, an interrupt is generated and all “processing times” are recomputed. It provides: An easy way to apply different load balancing schemes An efficient mechanism to simulate multitask processing

June 22, 1999MONARC Simulation System I.C. Legrand9 “Interrupt” driven simulation  for each new message an interrupt is created and for all the active transfers the speed and the estimated time to complete the transfer are recalculated. An efficient & realistic way to simulate concurrent transfers having different sizes / protocols. LAN/WAN Simulation Model

June 22, 1999MONARC Simulation System I.C. Legrand10 Regional Centre Model Complex Composite Object

June 22, 1999MONARC Simulation System I.C. Legrand11 Arrival Patterns for( int k =0; k< jobs_per_group; k++) { Job job = new Job( this, Job.ANALYSIS, "TAG"+rc_name, event_offset, event_offset+events_to_process-1, null, null ); job.setAnalyzeFactors( 0.01, ); farm.addJob( job); sim_hold( ) ; } A flexible mechanism to define the Stochastic process of data processing Dynamic loading of “Activity” Tasks, which are threaded objects and controlled by the simulation scheduling mechanism Physics Activities Generating Jobs Each “Activity” thread generates data processing Jobs PA... job FARMS

June 22, 1999MONARC Simulation System I.C. Legrand12 The Structure of the Simulation Program User Directory Config Files Initializing Data Define Activities (jobs) GUI Monarc Package Network Package Data Model Package Auxiliary tools Graphics SIMULATION ENGINE Parameters Prices.... Processing Package Statistics Regional Center, Farm, AMS, CPU Node, Disk, Tape Job, Active Jobs, Physics Activities, Init Functions, LAN, WAN, Messages Data Container, Database Database Index Dynamically Loadable Modules

June 22, 1999MONARC Simulation System I.C. Legrand13 Input Parameters for the Simulation Program Response functions are based on “the previous state” of the component, a set of system related parameters (SysP) and parameters for a specific request (ReqP). Allows to describe correctly Highly Nonlinear Processes or “Chaotic” Systems behavior (typical for caching, swapping…) Correctly identify and describe the time response functions for all active components in the system. This should be done using realistic measurements. The simulation frame allows one to introduce any time dependent response function for the interacting components.

June 22, 1999MONARC Simulation System I.C. Legrand14 WEB GUI CS-2 like Distributed System

June 22, 1999MONARC Simulation System I.C. Legrand15 WEB GUI (2) WEB GUI (2) Graphic “Beans” “ Logic Analyzer” Monitoring different parameters

June 22, 1999MONARC Simulation System I.C. Legrand16 Simulation GUI Simulation GUI One may dynamically change parameters to control the simulation program

June 22, 1999MONARC Simulation System I.C. Legrand17 Example: Reconstruction èIt is performed in one Regional Centre  Requires access to large amounts of data and a lot of processing power

June 22, 1999MONARC Simulation System I.C. Legrand18 Example: Reconstruction (2)

June 22, 1999MONARC Simulation System I.C. Legrand19 Example : Physics Analysis èSimilar data processing jobs are performed in several RCs èEach Centre has “TAG” and “AOD” databases replicated. èMain Centre provides “ESD” and “RAW” data èEach job processes AOD data, and also a a fraction of ESD and RAW

June 22, 1999MONARC Simulation System I.C. Legrand20 Example: Physics Analysis (2)

June 22, 1999MONARC Simulation System I.C. Legrand21 Example: Physics Analysis (3)

June 22, 1999MONARC Simulation System I.C. Legrand22 k The Java (JDK 1.2) environment is well-suited for developing a flexible and distributed process oriented simulation. k This Simulation program is still under development, and dedicated measurements to evaluate realistic parameters and “validate” the simulation program are in progress. Summary A CPU- and code-efficient approach for the simulation of distributed systems has been developed for MONARC èprovides an easy way to map the distributed data processing, transport, and analysis tasks onto the simulation ècan handle dynamically any Model configuration, including very elaborate ones with hundreds of interacting complex Objects ècan run on real distributed computer systems, and may interact with real components