SlideShare a Scribd company logo
1 of 26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Cake Cutting of CPU Resources among multiple
HPC agents on a Cloud
Kausal Malladi, Debargha Ganguly
International Institute of Information Technology - Bangalore
July 25, 2013
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 1/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Agenda
1 Introduction
2 Existing Algorithms
3 Proposed Algorithm
4 Performance
5 Conclusion
6 References
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 2/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Quick Introduction
Cloud Computing
Cloud computing is a model for enabling ubiquitous, convenient,
on-demand network access to a shared pool of configurable
computing resources (e.g., networks, servers, storage, applications,
and services) that can be rapidly provisioned and released with
minimal management effort or service provider interaction
Resource
A resource is any physical or virtual component of limited
availability within a computer system
Shared resource
A shared resource is a piece of information on a computer that can
be remotely accessed from another computer, typically via a LAN
or an enterprise Intranet
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 3/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Quick Introduction
Cake Cutting
Fair division is the problem of dividing a set of goods between
several people, such that each person receives his/her due share.
This problem arises in various real-world settings: auctions, divorce
settlements, electronic spectrum and frequency allocation, airport
traffic management, or exploitation of Earth Observation Satellites
High Performance Agents
A supercomputer is a computer at the frontline of contemporary
processing capacity, particularly speed of calculation
Game Theory
Game theory is a study of strategic decision making. More
formally, it is the study of mathematical models of conflict and
cooperation between intelligent rational decision makers
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 4/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Quick Introduction
Problem Statement
Cake Cutting of resources (CPU) among several dynamically
adding HPC agents on a Cloud, ensuring that the resources are
utilized to the utmost.
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 5/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Existing Algorithms
Dominant Resource Fairness (DRF) Algorithm, proposed by
Ghodsi et. al.
Dynamic Dominant Resource Fairness (Dynamic DRF)
Algorithm, proposed by Kash et. al.
Max-min Algorithm, proposed by Kumar et. al.
Assumptions
Agents once added don’t leave the system
Agents demand resources in fixed proportions
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 6/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Dominant Resource Fairness (DRF) Algorithm
Sharing Incentive
Each user should be better off sharing the cluster, than exclusively
using her own partition of the cluster. Consider a cluster with
identical nodes and n users. Then a user should not be able to
allocate more tasks in a cluster partition consisting of 1/n of all
resources
Strategy-proofness
Users should not be able to benefit by lying about their resource
demands. This provides incentive compatibility, as a user cannot
improve her allocation by lying
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 7/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Dominant Resource Fairness (DRF) Algorithm
Envy-freeness
A user should not prefer the allocation of another user. This
property embodies the notion of fairness
Pareto efficiency
It should not be possible to increase the allocation of a user
without decreasing the allocation of at least another user. This
property is important as it leads to maximizing system utilization
subject to satisfying the other properties
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 8/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Dominant Resource Fairness (DRF) Algorithm
Static resource allocation
Meets all four properties of a fair allocation policy
For every user, computes the share of each resource allocated
Maximum among all shares is the dominant share
Corresponding resource is called dominant resource
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 9/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Dynamic DRF Algorithm
Strategyproofness
No agent can misreport its demand vector and be strictly better off
at any step k, regardless of the reported demands of other agents
Dynamic Pareto Optimality
At each step the allocation should not be Pareto dominated by any
other allocation that only redistributes the collective entitlements
of the agents present in the system among those agents
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 10/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Dynamic DRF Algorithm
Sharing Incentive
When an agent arrives it receives an allocation that it likes at least
as much as an equal split of the resources. This models a setting
where agents have made equal contributions to the system and
hence have equal entitlements
Dynamic Envy Freeness
At any step an agent i envies an agent j only if j arrived before i
did and j has not been allocated any resources since i arrived
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 11/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Dynamic DRF Algorithm
Works for a dynamic setting
Satisfies all the four properties and can be implemented in
polynomial time
HPC agents?
Single resource type?
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 12/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Max-min Algorithm
Maximum of minimum amount of resources that can be
allocated to a host
Assigns weights to agents
Each agent receives allocation proportional to its weight
Static setting, proved to satisfy four properties of DRF
Algorithm
Dynamic setting?
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 13/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Features
Inspired from Dynamic DRF Algorithm
Linear Program (LP) formulation
HPC agents
Dynamic setting
Assumptions
Only a certain number of agents can be run on a host
Agents follow Game-Theoretic approach in demanding
Agents once added won’t leave host
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 14/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
The Algorithm
Algorithm 1: Modified Dynamic DRF Planner
1 agentCount ← 1;
2 foreach new agent added do
3 if agentCount ≤ maxAgentsthen
4 d[agentCount] ← demand by new agent;
5 proportion ← solve LP(agentCount,d);
6 for i=1 toagentCount do
7 allocation[i] ← proportion[i]∗d[i]/agentCount;
8 i←i+1;
9 end
10 end
11 agentCount ← agentCount+1;
12 end
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 15/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
The Algorithm...continued
Algorithm 2: solve LP(agentCount,d)
Data: N ← total resource units available on host machine
Result: proportion [i]
1 Maximize S such that
2 proportion[i][k]≥ S
3 proportion[i][k]≥ proportion[i − 1][k]
4
N
k=1 proportion[i][k]*d[k] ≤ i/N
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 16/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Results
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 17/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Results
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 18/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Results
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 19/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Results
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 20/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Results - Summary
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 21/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Winding it up...
Proposed Algorithm works in the dynamic setting
Works well for Computationally intensive HPC agents
Performs better than traditionally implemented algorithms
Assumptions are realistic and do not lead to loss of generality
Resources utilized to the utmost!
Future Work
Performance optimization
Less number of assumptions
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 22/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Acknowledgement
Prof. Dr. Shrisha Rao, IIITB
Continuous help in terms of showcasing results effectively and
suggestions to make the proposed algorithm better
Testers
Anshul Sharma
Pakalapati Srinivas Raju
Pratibind Jha
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 23/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
References
Peter Mell and Tim Grance, “The NIST Definition of Cloud
Computing,” 2009
A. D. Procaccia, “Cake cutting: Not just child’s play,” in
Communications of the ACM, 2013
C. Vecchiola, S. Pandey and R. Buyya, “High Performance
Cloud Computing: A view of Scientific Applications,”in
Proceedings of the 2009 10th International Symposium on
pervasive Systems, Algorithms and Networks, ISPAN ’09,
(Washington, USA), pp 4-16, IEEE Computer Society, 2009
S. Tijs and T. Driessen, “Game Theory and cost allocation
Problems,” tech. rep., 1986
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 24/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
References...continued
A. Ghodsi, M. Zaharia, B. Hindman, A. Konwinski, S. Shenker
and I. Stoica, “Dominant Resource Fairness: Fair Allocation
of Multiple Resource Types,” in Proceedings of the 8th
USENIX conference on Networked Systems design and
implementation, NSDI 11, (Berkeley, CA, USA), pp. 24-24,
USENIX Association, 2011
I. Kash, A. D. Procaccia and N. Shah, “No Agent Left Behind:
Dynamic Fair Division of Multiple Resources,” in Proceedings
of the 11th International Conference on Autonomous Agents
and Multi-Agent Systems, AA-MAS, 2013
P. Kumar, A. Verma, “Independent Task Scheduling in Cloud
Computing by Improved Genetic Algorithm,” in International
Journal of Advanced Research in Computer Science and
Software Engineering, vol. 2, issue 5, pp. 111-114, May 2012
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 25/26
Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References
Thank you!
{kausalmalladi, debargha.ganguly}@gmail.com
http://www.kausalmalladi.tk
Powered by LATEX
Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 26/26

More Related Content

Similar to Cake Cutting of CPU Resources among multiple HPC agents on a Cloud

HBaseCon 2013: Being Smarter Than the Smart Meter
HBaseCon 2013: Being Smarter Than the Smart MeterHBaseCon 2013: Being Smarter Than the Smart Meter
HBaseCon 2013: Being Smarter Than the Smart MeterCloudera, Inc.
 
Performance Testing
Performance TestingPerformance Testing
Performance TestingvodQA
 
Cooperative mitigation DDoS
Cooperative mitigation DDoSCooperative mitigation DDoS
Cooperative mitigation DDoSG Prachi
 
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud ComputingPerformance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud ComputingEswar Publications
 
Oracle 12c Optimizer IOUG
Oracle 12c Optimizer IOUGOracle 12c Optimizer IOUG
Oracle 12c Optimizer IOUGConnor McDonald
 
Genetic Algorithm for task scheduling in Cloud Computing Environment
Genetic Algorithm for task scheduling in Cloud Computing EnvironmentGenetic Algorithm for task scheduling in Cloud Computing Environment
Genetic Algorithm for task scheduling in Cloud Computing EnvironmentSwapnil Shahade
 
IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...
IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...
IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...IRJET Journal
 
IRJET-Scaling Distributed Associative Classifier using Big Data
IRJET-Scaling Distributed Associative Classifier using Big DataIRJET-Scaling Distributed Associative Classifier using Big Data
IRJET-Scaling Distributed Associative Classifier using Big DataIRJET Journal
 
Proactive Scheduling in Cloud Computing
Proactive Scheduling in Cloud ComputingProactive Scheduling in Cloud Computing
Proactive Scheduling in Cloud ComputingjournalBEEI
 
IN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHOD
IN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHODIN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHOD
IN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHODijdms
 
A novel scheduling algorithm for cloud computing environment
A novel scheduling algorithm for cloud computing environmentA novel scheduling algorithm for cloud computing environment
A novel scheduling algorithm for cloud computing environmentSouvik Pal
 
Cloud Computing Task Scheduling Algorithm Based on Modified Genetic Algorithm
Cloud Computing Task Scheduling Algorithm Based on Modified Genetic AlgorithmCloud Computing Task Scheduling Algorithm Based on Modified Genetic Algorithm
Cloud Computing Task Scheduling Algorithm Based on Modified Genetic AlgorithmIRJET Journal
 
IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...
IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...
IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...IRJET Journal
 
Iaetsd protecting privacy preserving for cost effective adaptive actions
Iaetsd protecting  privacy preserving for cost effective adaptive actionsIaetsd protecting  privacy preserving for cost effective adaptive actions
Iaetsd protecting privacy preserving for cost effective adaptive actionsIaetsd Iaetsd
 
A load balancing strategy for reducing data loss risk on cloud using remodif...
A load balancing strategy for reducing data loss risk on cloud  using remodif...A load balancing strategy for reducing data loss risk on cloud  using remodif...
A load balancing strategy for reducing data loss risk on cloud using remodif...IJECEIAES
 
Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...
Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...
Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...IJERA Editor
 
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...IRJET Journal
 

Similar to Cake Cutting of CPU Resources among multiple HPC agents on a Cloud (20)

HBaseCon 2013: Being Smarter Than the Smart Meter
HBaseCon 2013: Being Smarter Than the Smart MeterHBaseCon 2013: Being Smarter Than the Smart Meter
HBaseCon 2013: Being Smarter Than the Smart Meter
 
Data dayposter v1.2
Data dayposter v1.2Data dayposter v1.2
Data dayposter v1.2
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Cooperative mitigation DDoS
Cooperative mitigation DDoSCooperative mitigation DDoS
Cooperative mitigation DDoS
 
Opa in the api management world
Opa in the api management worldOpa in the api management world
Opa in the api management world
 
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud ComputingPerformance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
Performance Comparision of Dynamic Load Balancing Algorithm in Cloud Computing
 
Oracle 12c Optimizer IOUG
Oracle 12c Optimizer IOUGOracle 12c Optimizer IOUG
Oracle 12c Optimizer IOUG
 
Genetic Algorithm for task scheduling in Cloud Computing Environment
Genetic Algorithm for task scheduling in Cloud Computing EnvironmentGenetic Algorithm for task scheduling in Cloud Computing Environment
Genetic Algorithm for task scheduling in Cloud Computing Environment
 
IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...
IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...
IRJET- Enhance Dynamic Heterogeneous Shortest Job first (DHSJF): A Task Schedu...
 
IRJET-Scaling Distributed Associative Classifier using Big Data
IRJET-Scaling Distributed Associative Classifier using Big DataIRJET-Scaling Distributed Associative Classifier using Big Data
IRJET-Scaling Distributed Associative Classifier using Big Data
 
Proactive Scheduling in Cloud Computing
Proactive Scheduling in Cloud ComputingProactive Scheduling in Cloud Computing
Proactive Scheduling in Cloud Computing
 
IN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHOD
IN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHODIN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHOD
IN SEARCH OF ACTIONABLE PATTERNS OF LOWEST COST - A SCALABLE GRAPH METHOD
 
A novel scheduling algorithm for cloud computing environment
A novel scheduling algorithm for cloud computing environmentA novel scheduling algorithm for cloud computing environment
A novel scheduling algorithm for cloud computing environment
 
Cloud Computing Task Scheduling Algorithm Based on Modified Genetic Algorithm
Cloud Computing Task Scheduling Algorithm Based on Modified Genetic AlgorithmCloud Computing Task Scheduling Algorithm Based on Modified Genetic Algorithm
Cloud Computing Task Scheduling Algorithm Based on Modified Genetic Algorithm
 
IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...
IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...
IRJET-Framework for Dynamic Resource Allocation and Efficient Scheduling Stra...
 
Iaetsd protecting privacy preserving for cost effective adaptive actions
Iaetsd protecting  privacy preserving for cost effective adaptive actionsIaetsd protecting  privacy preserving for cost effective adaptive actions
Iaetsd protecting privacy preserving for cost effective adaptive actions
 
A load balancing strategy for reducing data loss risk on cloud using remodif...
A load balancing strategy for reducing data loss risk on cloud  using remodif...A load balancing strategy for reducing data loss risk on cloud  using remodif...
A load balancing strategy for reducing data loss risk on cloud using remodif...
 
Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...
Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...
Priority Based Prediction Mechanism for Ranking Providers in Federated Cloud ...
 
genetic paper
genetic papergenetic paper
genetic paper
 
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
A SURVEY ON STATIC AND DYNAMIC LOAD BALANCING ALGORITHMS FOR DISTRIBUTED MULT...
 

More from Kausal Malladi

Implementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful WayImplementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful WayKausal Malladi
 
Online Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller MachinesOnline Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller MachinesKausal Malladi
 
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...Kausal Malladi
 
ATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful WayATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful WayKausal Malladi
 
Hierarchical text classification
Hierarchical text classificationHierarchical text classification
Hierarchical text classificationKausal Malladi
 
Optimization Heuristics
Optimization HeuristicsOptimization Heuristics
Optimization HeuristicsKausal Malladi
 

More from Kausal Malladi (6)

Implementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful WayImplementing the ATM based Voting Services - The RESTful Way
Implementing the ATM based Voting Services - The RESTful Way
 
Online Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller MachinesOnline Franchise Capturing Using IPv6 through Automated Teller Machines
Online Franchise Capturing Using IPv6 through Automated Teller Machines
 
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
Relevant Updated Data Retrieval Architectural Model for Continuous Text Extra...
 
ATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful WayATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful Way
 
Hierarchical text classification
Hierarchical text classificationHierarchical text classification
Hierarchical text classification
 
Optimization Heuristics
Optimization HeuristicsOptimization Heuristics
Optimization Heuristics
 

Recently uploaded

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Cake Cutting of CPU Resources among multiple HPC agents on a Cloud

  • 1. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Cake Cutting of CPU Resources among multiple HPC agents on a Cloud Kausal Malladi, Debargha Ganguly International Institute of Information Technology - Bangalore July 25, 2013 Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 1/26
  • 2. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Agenda 1 Introduction 2 Existing Algorithms 3 Proposed Algorithm 4 Performance 5 Conclusion 6 References Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 2/26
  • 3. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Quick Introduction Cloud Computing Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction Resource A resource is any physical or virtual component of limited availability within a computer system Shared resource A shared resource is a piece of information on a computer that can be remotely accessed from another computer, typically via a LAN or an enterprise Intranet Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 3/26
  • 4. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Quick Introduction Cake Cutting Fair division is the problem of dividing a set of goods between several people, such that each person receives his/her due share. This problem arises in various real-world settings: auctions, divorce settlements, electronic spectrum and frequency allocation, airport traffic management, or exploitation of Earth Observation Satellites High Performance Agents A supercomputer is a computer at the frontline of contemporary processing capacity, particularly speed of calculation Game Theory Game theory is a study of strategic decision making. More formally, it is the study of mathematical models of conflict and cooperation between intelligent rational decision makers Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 4/26
  • 5. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Quick Introduction Problem Statement Cake Cutting of resources (CPU) among several dynamically adding HPC agents on a Cloud, ensuring that the resources are utilized to the utmost. Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 5/26
  • 6. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Existing Algorithms Dominant Resource Fairness (DRF) Algorithm, proposed by Ghodsi et. al. Dynamic Dominant Resource Fairness (Dynamic DRF) Algorithm, proposed by Kash et. al. Max-min Algorithm, proposed by Kumar et. al. Assumptions Agents once added don’t leave the system Agents demand resources in fixed proportions Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 6/26
  • 7. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Dominant Resource Fairness (DRF) Algorithm Sharing Incentive Each user should be better off sharing the cluster, than exclusively using her own partition of the cluster. Consider a cluster with identical nodes and n users. Then a user should not be able to allocate more tasks in a cluster partition consisting of 1/n of all resources Strategy-proofness Users should not be able to benefit by lying about their resource demands. This provides incentive compatibility, as a user cannot improve her allocation by lying Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 7/26
  • 8. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Dominant Resource Fairness (DRF) Algorithm Envy-freeness A user should not prefer the allocation of another user. This property embodies the notion of fairness Pareto efficiency It should not be possible to increase the allocation of a user without decreasing the allocation of at least another user. This property is important as it leads to maximizing system utilization subject to satisfying the other properties Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 8/26
  • 9. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Dominant Resource Fairness (DRF) Algorithm Static resource allocation Meets all four properties of a fair allocation policy For every user, computes the share of each resource allocated Maximum among all shares is the dominant share Corresponding resource is called dominant resource Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 9/26
  • 10. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Dynamic DRF Algorithm Strategyproofness No agent can misreport its demand vector and be strictly better off at any step k, regardless of the reported demands of other agents Dynamic Pareto Optimality At each step the allocation should not be Pareto dominated by any other allocation that only redistributes the collective entitlements of the agents present in the system among those agents Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 10/26
  • 11. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Dynamic DRF Algorithm Sharing Incentive When an agent arrives it receives an allocation that it likes at least as much as an equal split of the resources. This models a setting where agents have made equal contributions to the system and hence have equal entitlements Dynamic Envy Freeness At any step an agent i envies an agent j only if j arrived before i did and j has not been allocated any resources since i arrived Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 11/26
  • 12. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Dynamic DRF Algorithm Works for a dynamic setting Satisfies all the four properties and can be implemented in polynomial time HPC agents? Single resource type? Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 12/26
  • 13. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Max-min Algorithm Maximum of minimum amount of resources that can be allocated to a host Assigns weights to agents Each agent receives allocation proportional to its weight Static setting, proved to satisfy four properties of DRF Algorithm Dynamic setting? Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 13/26
  • 14. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Features Inspired from Dynamic DRF Algorithm Linear Program (LP) formulation HPC agents Dynamic setting Assumptions Only a certain number of agents can be run on a host Agents follow Game-Theoretic approach in demanding Agents once added won’t leave host Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 14/26
  • 15. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References The Algorithm Algorithm 1: Modified Dynamic DRF Planner 1 agentCount ← 1; 2 foreach new agent added do 3 if agentCount ≤ maxAgentsthen 4 d[agentCount] ← demand by new agent; 5 proportion ← solve LP(agentCount,d); 6 for i=1 toagentCount do 7 allocation[i] ← proportion[i]∗d[i]/agentCount; 8 i←i+1; 9 end 10 end 11 agentCount ← agentCount+1; 12 end Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 15/26
  • 16. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References The Algorithm...continued Algorithm 2: solve LP(agentCount,d) Data: N ← total resource units available on host machine Result: proportion [i] 1 Maximize S such that 2 proportion[i][k]≥ S 3 proportion[i][k]≥ proportion[i − 1][k] 4 N k=1 proportion[i][k]*d[k] ≤ i/N Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 16/26
  • 17. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Results Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 17/26
  • 18. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Results Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 18/26
  • 19. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Results Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 19/26
  • 20. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Results Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 20/26
  • 21. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Results - Summary Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 21/26
  • 22. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Winding it up... Proposed Algorithm works in the dynamic setting Works well for Computationally intensive HPC agents Performs better than traditionally implemented algorithms Assumptions are realistic and do not lead to loss of generality Resources utilized to the utmost! Future Work Performance optimization Less number of assumptions Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 22/26
  • 23. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Acknowledgement Prof. Dr. Shrisha Rao, IIITB Continuous help in terms of showcasing results effectively and suggestions to make the proposed algorithm better Testers Anshul Sharma Pakalapati Srinivas Raju Pratibind Jha Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 23/26
  • 24. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References References Peter Mell and Tim Grance, “The NIST Definition of Cloud Computing,” 2009 A. D. Procaccia, “Cake cutting: Not just child’s play,” in Communications of the ACM, 2013 C. Vecchiola, S. Pandey and R. Buyya, “High Performance Cloud Computing: A view of Scientific Applications,”in Proceedings of the 2009 10th International Symposium on pervasive Systems, Algorithms and Networks, ISPAN ’09, (Washington, USA), pp 4-16, IEEE Computer Society, 2009 S. Tijs and T. Driessen, “Game Theory and cost allocation Problems,” tech. rep., 1986 Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 24/26
  • 25. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References References...continued A. Ghodsi, M. Zaharia, B. Hindman, A. Konwinski, S. Shenker and I. Stoica, “Dominant Resource Fairness: Fair Allocation of Multiple Resource Types,” in Proceedings of the 8th USENIX conference on Networked Systems design and implementation, NSDI 11, (Berkeley, CA, USA), pp. 24-24, USENIX Association, 2011 I. Kash, A. D. Procaccia and N. Shah, “No Agent Left Behind: Dynamic Fair Division of Multiple Resources,” in Proceedings of the 11th International Conference on Autonomous Agents and Multi-Agent Systems, AA-MAS, 2013 P. Kumar, A. Verma, “Independent Task Scheduling in Cloud Computing by Improved Genetic Algorithm,” in International Journal of Advanced Research in Computer Science and Software Engineering, vol. 2, issue 5, pp. 111-114, May 2012 Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 25/26
  • 26. Agenda Introduction Existing Algorithms Proposed Algorithm Performance Conclusion References Thank you! {kausalmalladi, debargha.ganguly}@gmail.com http://www.kausalmalladi.tk Powered by LATEX Kausal Malladi, Debargha Ganguly Paper ID: 158 ICRTIT 2013 26/26