Internet Computing and the Emerging Grid

Internet Computing and the Emerging Grid

A Case for Economy Grid Architecture for Service Oriented Grid Computing Rajkumar Buyya, David Abramson, Jon Giddy School of Computer Science and Software Engineering, Monash University, Melbourne, Australia http://www.gridcomputing.com Overview A brief introduction to Grid computing Resource Management issues A Glance at Approaches to Grid computing. Grid Architecture for Computational Economy Economy Grid = Globus + GRACE Nimrod-G: A Grid Resource Broker Grid Scheduling Experiments Conclusions Economy Grid Scheduling Economics Scalable HPC: Breaking Administrative Barriers

2100 2100 2100 2100 2100 2100 2100 2100 ? P E R F O R M A N C E 2100 Administrative Barriers

Individual Group Department Campus State National Globe Inter Planet Universe Desktop Local SMPs or SuperComputers Cluster Enterprise Cluster/Grid Global Inter Planet Cluster/Grid Cluster/Grid ?? Why Grids ? Large Scale Exploration needs themKiller Applications. Solving grand challenge applications using computer modeling, simulation and analysis Aerospace Life Sciences

CAD/CAM Digital Biology Internet & Ecommerce Military Applications What is Grid ? An infrastructure that couples: Computers PCs, workstations, clusters, supercomputers, laptops, notebooks, mobile devices, PDA, etc; Software e.g., ASPs renting expensive special purpose applications on demand; Catalogued data and databases e.g. transparent access to human genome database; Special devices e.g., radio telescope

[email protected] searching for life in galaxy. People/collaborators. Potentially Offers a simple, consistent, dependable, and pervasive access across widearea networks and presents users with an integrated global resource. Grid Applications-Drivers Distributed HPC (Supercomputing): High-throughput computing: Data mining, particle physics (CERN), Drug Design. On-demand computing: Application service provides (ASPs). Data-intensive computing:

Sharing digital contents among peers (e.g., Napster) Remote software access/renting services: Large scale simulation/chip design & parameter studies. Content Sharing Computational science. Medical instrumentation & network-enabled solvers. Collaborative: Collaborative design, data exploration, education. Building and Using Grids requires...

Services that make our systems Grid Ready! Security mechanisms that permit resources to be accessed only by authorized users. (New) programming tools that make our applications Grid Ready!. Tools that can translate the requirements of an application into requirements for computers, networks, and storage. Tools that perform resource discovery, trading, composition, scheduling and distribution of jobs and collects results. Players in Grid Computing Users in Grid Economy & Strategy Grid Consumers Execute jobs for solving varying problem size and complexity Benefit by selecting and aggregating resources wisely Tradeoff timeframe and cost Strategy: minimise expenses

Grid Providers Contribute idle resource for executing consumer jobs Benefit by maximizing resource utilisation Tradeoff local requirements & market opportunity Strategy: maximise returns on services Sources of Complexity in Resource Management for World Wide Computing Size (large number of nodes, providers, consumers) Heterogeneity of resources (PCs, Workstatations, clusters, and supercomputers)

Heterogeneity of fabric management systems (single system image OS, queuing systems, etc.) Heterogeneity of fabric management polices Heterogeneity of applications (scientific, engineering, and commerce) Heterogeneity of application requirements (CPU, I/O, memory, and/or network intensive) Heterogeneity in demand patters Geographic distribution and different time zones Differing goals (producers and consumers have different objectives and strategies) Unsecure and Unreliable environment Traditional approaches to resource management are NOT useful for Grid ? They use centralised policy that need Due to too many heterogenous parameters in the Grid it is impossible to define: complete state-information and common fabric management policy or decentralised consensus-based policy. system-wide performance matrix and common fabric management policy that is acceptable to all.

So, we propose the usage of economics paradigm for managing resources proved successful in managing decentralization and heterogeneity that is present in human economies! We can easy leverage proven Economic principles and techniques Easy to regulate demand and supply User-centric, scalable, adaptable, value-driven costing, etc. Offers incentive (money?) for being part of the grid! mix-and-match Object-oriented Internet-WWW Problem Solving Approach Market/Computational Economy Grid RMS to support Authentication (once). Specify (code, resources, etc.). Discover resources. Negotiate authorisation,

authorization, Domain 1 acceptable acceptableuse, use,Cost, Cost,etc. etc. Acquire resources. Domain 2 Jobs. Schedule jobs. Initiate computation. Steer computation. Access remote data-sets. Collaborate with results. Account for usage. Ack: Globus.. Building an Economy Grid brokerage system.. Foundation for the Grid Economy Economic Models for Resource Trading

Commodity Market Model Posted Prices Models Bargaining Model Tendering (Contract Net) Model Auction Model English, first-price sealed-bid, second-price sealded-bid (Vickrey), and Dutch. Proportional Resource Sharing Model Shareholder Model Partnership Model Grid Architecture for Computational Economy Grid Explorer Application Job Control Agent QoS Grid Node1 Pricing Algorithms

Trade Server Trade Manager Grid Resource Broker Trading Deployment Agent Grid User Grid Node N Secure Schedule Advisor JobExec Storage Grid Middleware Services Health Monitor Info ? Information Server(s)

Sign-on Grid Market Services Accounting Resource Reservation Misc. services Resource Allocation R1 R2 Rm Grid Service Providers Economy Grid = Globus + GRACE Applications Scienc e Engineering MPI-G

MDS Condor LSF MPI-IO Heartbeat Monitor Nexus GASS GRD PBS Portals High-level Services and Tools GlobusView DUROC Commerce DUROC QBank eCash

ActiveSheet Grid Status Nimrod/G CC++ globusrun Grid Apps. Grid Tools Core Services Globus Security Interface Local Services GRACE-TS GRAM GARA GMD GBank JVM

TCP UDP Linux Irix Solaris Grid Middleware Grid Fabric GRACE components A resource broker (e.g., Nimrod/G) Resource trading protocols A mediator for negotiating between users and grid service providers (Grid Market Directory) A deal template for specifying resource requirements and services offers A trade server

A pricing policy specification Accounting (e.g., QBank) and payment management (GBank) Grid Open Trading Protocols Trade Manager Trade Server Get Connected Call for Bid(DT) Reply to Bid (DT) Pricing Rules Negotiate Deal(DT) API . Confirm Deal(DT, Y/N) Cancel Deal(DT) Change Deal(DT) Get Disconnected DT - Deal Template - resource requirements (BM) - resource profile (BS) - price (any one can set) - status - change the above values - negotiation can continue - accept/decline

- validity period Open Trading Finite State Machine DT < TM, Request for Resource > < TM, Ask Price > << TS, Update >> DT < TS, Final Offer > Offer TS < TM, Accept > DA << TM, Update >> < TM, Final Offer > Offer TM < TS, Reject > DN DT TM TM

DA DN - Deal Template - Trade Manager - Trade Server - Deal Accepted - Deal Not accepted Pricing, Accounting, Allocations and Job Scheduling Flow @ each site/Grid Level 0 Pricing Policy 2 0 1 Trade Server 3 4 [email protected] Site QBank 5 8 Resource Manager IBM-LL/PBS/. 6

GRID Bank (digital transactions) 7 Compute Resources clusters/SGI/SP/... 0. Make Deposits, Transfers, Refunds, Queries/Reports 1. Clients negotiates for access cost. 2. Negotiation is performed per owner defined policies. 3. If client is happy, TS informs QB about access deal. 4. Job is Submitted 5. Check with QB for go ahead 6. Job Starts 7. Job Completes 8. Inform QB about resource resource utilization. Service Items to be Charged CPU - User and System time Memory:

maximum resident set size - page size amount of memory used page faults: with/without physical I/O Storage: size, r/w/block IO operations Network: msgs sent/received Signals received, context switches Software and Libraries accessed Data Sources (e.g. Protein Data Bank) How to decide Price ?

Fixed price model (like todays Internet) Dynamic/Demand and Supply (like tomorrows Internet) Usage Period Loyalty of Customers (like Airlines favoring frequent flyers!) Historical data Advance Agreement (high discount for corporations) Usage Timing (peak, off-peak, lunch time) Calendar based (holiday/vacation period) Bulk Purchase (register 100 .com domains at once!) Voting -- trade unions decide pricing structure Resource capability as benchmarked in the market! Academic R&D/public-good application users can be offered at cheaper rate compared to commercial use. Customer Type Quality or price sensitive buyers. Can be Prescribed by Regulating (Govt.) authorities Payments- Options & Automation Buy credits in advance / GSPs bill the user later--pay as you go Pay by Electronic Currency via Grid Bank NetCash (anonymity), NetCheque, and Paypal NetCheque: - http://www.isi.edu/gost/info/netcash/

NetCash - http://www.isi.edu/gost/info/netcheque/ Users register with NC accounting servers, can write electronic cheques and send (e.g email). When deposited, balance is transferred from sender to receiver account. It supports anonymity and it uses the NetCheque system to clear payments between currency servers. Paypal.com account+email is linked to credit card. Enter the recipients email address and the amount you wish to request. The recipient gets an email notification and pays you at www.PayPal.com A Glance at Nimrod-G Broker Nimrod/G Client Nimrod/G Client Nimrod/G Client Nimrod/G Engine Schedule Advisor Trading Manager

Grid Store Grid Dispatcher Grid Explorer Grid Middleware Globus,Legion, Condor-g,, Ninf,etc. TM TS GE GIS Grid Information Server(s) RM & TS RM & TS G L G Globus enabled node. L RM & TS C

Legion enabled node. RM: Local Resource Manager, TS: Trade Server C Condor enabled node. Nimrod/G : A Grid Resource Broker A resource broker for managing and steering task farming (parametric sweep) applications on computational Grids based on deadline and computational economy. Key Features A single window to manage & control experiment Resource Discovery Trade for Resources Resource Composition & Scheduling Steering & data management It allows to study the behaviour of some of the output variables against a range of different input scenarios.

Nimrod/G Grid Broker Architecture Legacy Applications Customised Apps (Active Sheet) P-Tools (GUI/Scripting) (parameter_modeling) Farming Engine Programmable Entities Management Resource Job Task ResourceScheduler Monitoring and Steering Portals Nimrod Clients Meta-Scheduler Algorithm1 Schedule Advisor Variables

... AlgorithmN JobServer Grid Explorer Dispatcher Nimrod Broker Trading Manager (transport and execution management) Globus Computers Legion Local Schedulers PC/WS/Clusters ... Condor-G Storage Condor/LL/Mosix/

GRACE-TS Networks Database ... ... G-Bank Instruments Radio Telescope Middleware Fabric Deadline A Nimrod/G Client Cost 66 A r li n g to n A le x a n d r ia Legion hosts Shena nd o a h

Rive r 64 81 77 R oa noke Ra p p a ha nno c k Poto m a c Rive r Rive r 64 Ja m e s Rive r Ap p o m a tox Rive r V IR G IN IA R ic h m o n d N ew p ort N ew s 85 P o r ts m o u th H a m p to n N o r f o lk V ir g in i a B e a c h C he sapea ke Globus Hosts

Bezek is in both Globus and Legion Domains Nimrod/G Interactions Resource Discovery Farming Engine Scheduler Trade Server Dispatcher Process server I/O server Root node Grid Info servers Resource allocation (local) Queuing System

Job Wrapper User process File access Gatekeeper node Computational node Adaptive Scheduling algorithms Adaptive Scheduling Algorithms Time Minimisation Cost Minimisation None Minimisation Execution Time (not beyond deadline) Minimise Limited by deadline Limited by deadline Discover Establish Resources Rates Distribute Jobs Compose &

Schedule Execution Cost (not beyond budget) Limited by budget Minimise Limited by budget Discover More Resources Evaluate & Reschedule Meet requirements ? Remaining Jobs, Deadline, & Budget ? Inter-Continental Grid Australia North America ANL: SGI/Sun/SP2 USC-ISI: SGI UVa: Linux Cluster Monash Uni.: Nimrod/G Linux cluster Globus+Legion +Condor/G Solaris WS

Globus/Legion GRACE_TS Internet Asia/Japan Tokyo I-Tech.: ETL, Tuskuba Linux cluster Globus + GRACE_TS Europe ZIB/FUB: T3E/Mosix Cardiff: Sun E6500 Paderborn: HPCLine Lecce: Compaq SC CNR: Cluster Calabria: Cluster CERN: Cluster Pozman: SGI/SP2 Globus + GRACE_TS Experiment-1 Setup Workload:

165 jobs, each need 5 minute of cpu time Deadline: 1 hrs. and budget: 800,000 units Strategy: minimise cost and meet deadline Execution Cost with cost optimisation AU Peaktime:471205 (G$) AU Offpeak time: 427155 (G$) Resources Selected & Price/CPUsec. Resource Type & Size Owner and Location Grid services Peaktime Offpeak Cost (G$) cost Linux cluster Monash, (60 nodes) Australia

Globus/Condor 20 5 IBM SP2 (80 ANL, Chicago, nodes) US Globus/LL 5 10 Sun (8 nodes) Globus/Fork 5 10 ANL, Chicago, US SGI nodes) (96 ANL, Chicago, US Globus/

Condor-G 15 15 SGI nodes) (10 ISI, LA, US Globus/Fork 10 20 Execution @ AU Peak Time 12 Linux clus ter - Monas h (20) Sun - ANL (5) SP2 - ANL (5) 10 Jobs 8 6

4 2 0 Time (minutes) SGI - ANL (15) SGI - ISI (10) Execution @ AU Offpeak Time 12 Linux clus ter - Monas h (5) Sun - ANL (10) SP2 - ANL (10) 10 Jobs 8 6 4 2

0 Time (minutes) SGI - ANL (15) SGI - ISI (20) AU peak: Resources/Cost in Use 40 30 After the calibration phase, note the difference in pattern of two graphs. This is when scheduler stopped using expensive resources. 25 20 15 10 5 500 0 450 400 Tim e (in m in.) Cost of Resources in Use

Resources (No. of CPUs) in Use 35 350 300 250 200 150 100 50 0 Tim e (in m in.) AU offpeak: Resources/Cost in Use 30 20 15 10 5 350 0 300 Time (in min.) Cost of Resources in Use

Resources (No. of CPUs) in Use 25 250 200 150 100 50 0 Time (in min.) [email protected]: Data Intensive Computing on Grid A Virtual Laboratory for Molecular Modelling for Drug Design" on Peer-to-Peer Grid. It provides tools for examining millions of chemical compounds (molecules) in the Protein Data Bank (PDB) to identify those having potential use in drug design. In collaboration with:

Kim Branson, Structural Biology, Walter and Eliza Hall Institute (WEHI) http://www.csse.monash.edu.au/~rajkumar/[email protected]/ Active Sheet: Spreadsheet Processing on Grid Nimrod Proxy Nimrod/G Related Works (contd) Mariposa-Distributed Database system (UCB) UCB Millennium clusters query with budget, creates sub-query & divides budget, trades with (remote) servers remote execution environment on clusters and supports computational economy rexec for clusters - proportional resource sharing UNSW Mungi

Storage management: allocation of backing store and garbage collection of unwanted memory segments depending available credit. Amount of credit required to store increases as available storage space becomes minimum. Related Works JaWS - Java based Webcomputing system offers market oriented programming and computing mechanisms on the Web. Xenoservers - Accounted execution of untrusted code DAgents - Agents and computational economy MOSIX - cost based cluster load balancing A number of theoretical works on pricing. FIPA standard Agents Interaction Protocols (for trading) - we plan to explore this! Can we Predict its Future ? I think there is a world market for about five computers.

Thomas J. Watson Sr., IBM Founder, 1943 Conclusions The HPC will be dominated by Peer-to-Peer Grid of clusters. Adaptive, scalable, and easy to use Systems and End-User applications will be prominent. Access electricity, internet, entertainment (music, movie,), etc. from the wall socket! An Economics based Service Oriented Grid Computing computing needed for eventual success of Grids! The impact of World-Wide Grid on 21st century economy will be the same as electricity on 20th century economy. Thank Thank You You Any Any ?? ??

Recently Viewed Presentations

  • Acids, pH, and Buffers: Some Basic Chemistry for

    Acids, pH, and Buffers: Some Basic Chemistry for

    Acids, pH, and Buffers: Some Basic Chemistry for Biological Science Terry Platt University of Rochester * Paul Mathews has just learned about acidity in his chemistry class, and… surprises his parents with questions about the acidity of common substances, such...
  • 2 63420 Student Learning Advisory Service Contact us

    2 63420 Student Learning Advisory Service Contact us

    Converting a strength expressed in one measure to another - parts, percentages and amounts. Example 1. What is 5% expressed as a ratio strength?
  • Political Heresy: Sedition in the United States Since 1917

    Political Heresy: Sedition in the United States Since 1917

    Political Heresy: Sedition in the United States Since 1917 Comm454-001 Free Speech & Ethics Instructor: Steve Klein Political Heresy: Sedition in the United States Since 1917 Why is the chapter important? "The absence of seditious libel as a crime is...
  • NEXTEL 2002 Service Improvement Plan August 29, 2002 - Verizon

    NEXTEL 2002 Service Improvement Plan August 29, 2002 - Verizon

    With TAXI directly linking a company's application to Verizon's backend, no need to train on the Verizon's application (VTAG or LSI-TA). All work performed on customer's own application. Enhancement requests for items outside industry standards will be managed by the...
  • Benchmarks and Benchmarking - wwtld.org

    Benchmarks and Benchmarking - wwtld.org

    3/20/2006 11:00:43 PM Document presentation format ... Times New Roman Verdana Default Design Benchmarks and Benchmarking Presented by Nick Griffin 26 March 2006 Benchmarks and Benchmarking Motivation for Benchmarking What is Benchmarking Advantages Disadvantages Types of Benchmarking Industry ...
  • Educational Technology Plan - PGUSD Board Meeting Agendas

    Educational Technology Plan - PGUSD Board Meeting Agendas

    Educational Technology Plan. Pacific Grove Unified School District. 2016-2019. Matthew Binder. Instructional Technology, Data and Assessments - TOSA. May 19, 2016
  • Here I Am To Worship Light of the

    Here I Am To Worship Light of the

    Here I Am To Worship Light of the world, You step down into darkness. Opened my eyes let me see. beauty that made this heart adore you hope of a life spent with you. And here I am to worship,...
  • Folie 1 - Userpage

    Folie 1 - Userpage

    FU Berlin Constanze Donner / Ludwig Pohlmann 2014 * Adsorbierte Spezies Einfachster Fall: nur die adsorbierten Zustände sind elektroaktiv Folgerungen: Diffusion spielt keine Rolle die Peaks verschieben sich nicht mit der Scanrate Hin- und Rückpeak an der gleichen Stelle Peakhöhe...