A pre-alpha accounting architecture

Slides:



Advertisements
Similar presentations
Secondary Market with Transmission Capacities ČEPS, a.s. 11/2006.
Advertisements

An Efficient Dynamic Auction for Heterogeneous Commodities (Lawrence M.Ausubel - september 2000) Authors: Oren Rigbi Damian Goren.
- DataGrid meeting in Catania – 9 th to 11 th of April, 2001 A pre-alpha accounting architecture The.
A Grid Resource Broker Supporting Advance Reservations and Benchmark- Based Resource Selection Erik Elmroth and Johan Tordsson Reporter : S.Y.Chen.
5: CPU-Scheduling1 Jerry Breecher OPERATING SYSTEMS SCHEDULING.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Lecture 5 Operating Systems.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
Frascati, October 9th, Accounting in DataGrid Initial Architecture Albert Werbrouck Frascati, October 9, 2001.
Frascati, October 5th, Accounting in DataGrid Preliminary Proposal and basis for discussion Stefano Barale Frascati, October.
1 520 Student Presentation GridSim – Grid Modeling and Simulation Toolkit.
Wolfgang EffelsbergUniversity of Mannheim1 Differentiated Services for the Internet Wolfgang Effelsberg University of Mannheim September 2001.
Authors: Rajkumar Buyya, David Abramson & Jonathan Giddy
6.1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
Memory Management OS Fazal Rehman Shamil. swapping Swapping concept comes in terms of process scheduling. Swapping is basically implemented by Medium.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
Basic Concepts Maximum CPU utilization obtained with multiprogramming
Lecturer 5: Process Scheduling Process Scheduling  Criteria & Objectives Types of Scheduling  Long term  Medium term  Short term CPU Scheduling Algorithms.
Enabling Grids for E-sciencE Claudio Cherubino INFN DGAS (Distributed Grid Accounting System)
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Memory Management.
Copyright ©: Nahrstedt, Angrave, Abdelzaher
CPU Scheduling CSSE 332 Operating Systems
CPU SCHEDULING.
Chapter 2 Memory and process management
Dan C. Marinescu Office: HEC 439 B. Office hours: M, Wd 3 – 4:30 PM.
Introduction to Load Balancing:
EEE Embedded Systems Design Process in Operating Systems 서강대학교 전자공학과
Copyright ©: Nahrstedt, Angrave, Abdelzaher
Chapter 5a: CPU Scheduling
Xiangtong Qi The Hong Kong University of Science and Technology
CPU Scheduling Algorithms
Methodology – Physical Database Design for Relational Databases
Operating Systems Processes Scheduling.
COST PLANNING AND ESTIMATION
Chapter 6: CPU Scheduling
Lottery Scheduling Ish Baid.
Process Scheduling B.Ramamurthy 11/18/2018.
CPU Scheduling G.Anuradha
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 5: CPU Scheduling
Andy Wang Operating Systems COP 4610 / CGS 5765
Operating System Concepts
Uniprocessor scheduling
3: CPU Scheduling Basic Concepts Scheduling Criteria
Process Scheduling B.Ramamurthy 12/5/2018.
Chapter5: CPU Scheduling
Authors: Oren Rigbi Damian Goren
Operating systems Process scheduling.
Chapter 5: CPU Scheduling
Chapter 6: CPU Scheduling
CPU SCHEDULING.
Outline Scheduling algorithms Multi-processor scheduling
Chapter 5: CPU Scheduling
Market Oriented Programming
Lecture 2 Part 3 CPU Scheduling
Process Scheduling B.Ramamurthy 2/23/2019.
Process Scheduling B.Ramamurthy 2/23/2019.
Process Scheduling B.Ramamurthy 2/23/2019.
Market Oriented Programming
Process Scheduling B.Ramamurthy 4/11/2019.
Process Scheduling B.Ramamurthy 4/7/2019.
Uniprocessor scheduling
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Shortest-Job-First (SJR) Scheduling
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 6: CPU Scheduling
CPU Scheduling: Basic Concepts
Module 5: CPU Scheduling
Presentation transcript:

A pre-alpha accounting architecture The “Computational Economy” model applied to DataGrid accounting

The accounting problem in brief Services required from the accounting architecture: Optimization of queues load. Determining the priorities for accessing execution queues on the resources (allocation policies). Meeting of job requirements (cpu speed, storage space, deadlines for receiving the output back). Obviously this accounting architecture will have to cope with the heterogeneity of the resources and of the local accessing policies.

What is Computational Economy? In recent years the problem of accounting has been investigated by many theoretical groups giving birth to various theoretical models and algorithms. The most flexible and capable of meeting our needs seems to be an economical analogy model. In this picture resources (i.e. cpu time) are exchanged between the groups participating in the project using a kind of virtual money (that we'll call Grid Credits, GC). Each time a group allows the use of its resources gains some GC that can be spent to get access to other Grid resources when needed.

A theoretical model What distinguish among the various theoretical models (and the extent of the economical analogy) is the price-setting mechanism used to decide the price of resource access and the type of algorithm used to reach market equilibrium. This last goal is of prime importance to avoid the trigger of undesirable effects like ‘virtual’ inflation or ‘virtual’ finance speculation.

Price-setting policies Here's a list of possible price-setting policies we found in literature: 1. Commodity market (flat or demand & supply driven pricing) model 2. Posted-price model 3. Bargaining model 4. Tendering/contract net model 5. Auction Model 6. Bid-based proportional resource sharing model 7. Community/coalition/bartering model

Price-Oriented and Resource-Oriented Algorithms (1) As we noticed before, the possibility of bulding a satisfying model heavily relies on the certainty of avoiding the typical undesireable effects of real world markets. This goal is within reach if the system is constrained to reach and keep equilibrium (while real world markets usually expand). In literature this kind of model is usually called 'multy-commodity market' (where each Grid site is the single commodity). The search for general equilibrium in such a system has been performed with basically two families of algorithms:

Price-Oriented and Resource-Oriented Algorithms (2) 1. Price-Oriented Algorithms. This algorithms guarantee that the price of each commodity is equal for every group participating in the Grid, but some groups may be unable to access Grid resources. 2. Resource-Oriented Algorithms. This ones are based on the resource constraint which guarantees that allocation is always feasible, since resources are only transferred between groups participating in the Grid.

Basic Principles In our preliminary work we started from the following basic principles: 1. A Grid structure with FIFO, FCFS or other 'simple' priority schemes won't fit the needs. 2. No one would participate in the Grid if there are no advantages in doing it (the flop of experiences like Popular Power seems to demonstrate this assumption quite clearly).

Proposals for guidelines (1) 1. Establish a biunique correspondance between Grid Credits and the amount of resources shared (no one is allowed to coin GC). This forces the model into a much simpler pure exchange and resource oriented system. 2. The virtual account which manages each user's GC is located at her/his Home Location Registry (HLR, in analogy with the one used by mobile phones networks). 3. Manage GC exchange with debit card like mechanism. This guarantees no-one could easily forge GC and lets taking into account GC that are gained by the user while using 'foreign' Grid resources.

Proposals for guidelines (2) 4. At each Grid resource, the cost for a job submitted to a particular queue is expressed in some simple way (regardless of the complexity of the issue of calculating it) 5. Since we want to assign cost to resources in an homogenous way, each time a new resource enters the Grid a benchmarking utility is automatically run and ends sending (in a sealed way) the benchmarking results to some appropriate Information Service. To help the end user in estimating realistic computing costs this benchmarks can also include typical applications (maybe like the reconstruction of a HEP event?).

A possible accounting flow (1) A job request arrives to the queue manager that responds to the submitter giving: a) lower cost queue where the job should be executed within the time limit specified by the submitter; b) cost of execution assuming estimated time should be associated with a tolerance or overrun, such as “2 hrs + 1 hr tolerance”. User replies confirming or canceling reservation within, say, ten minutes. If no reply arrives after above time, job is definitely inserted in queue and data transfer requested to WP2, if necessary. The HLR is checked to control that account balance is sufficient to cover the computing cost (estimated + tolerance).

A possible accounting flow (3) The amount of GC corresponding to the maximum duration (estimated + tolerance) is 'frozen' before the job is finally submitted. When the job finishes the frozen amount is released and the real cost is deducted from GC balance. GC which come into computing facilities associated with a HLR will be distribuited according to local criteria, not part of the Grid middleware.

References R. Buyya, D. Abramson, J. Giddy - “A Case for Economy Grid Architecture for Service Oriented Grid Computing” http://www.csse.monash.edu.au/~rajkumar/papers/ecogrid.pdf F. Ygge / H. Akkermans “Duality in Multi-Commodity Market Computations” - http://www.soc.hk-r.se/research/1997/dmcmc.ps An example of a ‘Grid like’ environment with price setting policy based on a community/coalition/bartering model - http://www.mojonation.net The first ‘Grid flop’ we know of: http://www.popularpower.com