A Constraint Language Approach to Grid Resource Selection Chuang Liu, Ian Foster Distributed System Lab University of Chicago

Slides:



Advertisements
Similar presentations
The Logic of Quantified Statements
Advertisements

1 Chapter 4:Constraint Logic Programs Where we learn about the only programming concept rules, and how programs execute.
1 CMSC 471 Fall 2002 Class #6 – Wednesday, September 18.
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
CS4432: Database Systems II
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Methods of Proof Chapter 7, Part II. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound) generation.
Constraint Optimization Presentation by Nathan Stender Chapter 13 of Constraint Processing by Rina Dechter 3/25/20131Constraint Optimization.
IBM Labs in Haifa Generation Core: IBM's Systematic Constraint Solver.
1 Backdoor Sets in SAT Instances Ryan Williams Carnegie Mellon University Joint work in IJCAI03 with: Carla Gomes and Bart Selman Cornell University.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Firewall Policy Queries Author: Alex X. Liu, Mohamed G. Gouda Publisher: IEEE Transaction on Parallel and Distributed Systems 2009 Presenter: Chen-Yu Chang.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
1 Draft of a Matchmaking Service Chuang liu. 2 Matchmaking Service Matchmaking Service is a service to help service providers to advertising their service.
1 Introduction to Software Engineering Lecture 42 – Communication Skills.
Analysis Stage (Phase I) The goal: understanding the customer's requirements for a software system. n involves technical staff working with customers n.
Methods of Proof Chapter 7, second half.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 The Relational Algebra and Relational Calculus.
Resource Selector Chuang Liu. What do we want to do? A smart Resource Selector App R S Resource requirement.
Semantics with Applications Mooly Sagiv Schrirber html:// Textbooks:Winskel The.
Design and Evaluation of a Resource Selection Framework for Grid Applications University of Chicago.
Describing Syntax and Semantics
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
CONSTRAINT PROGRAMMING Computer Science Seminar April 9 th, 2004 Kerem Kacel.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
CSE314 Database Systems The Relational Algebra and Relational Calculus Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Stocs – A Stochastic CSP Solver Bella Dubrov IBM Haifa Research Lab © Copyright IBM.
Superscheduling and Resource Brokering Sven Groot ( )
Scaling Heterogeneous Databases and Design of DISCO Anthony Tomasic Louiqa Raschid Patrick Valduriez Presented by: Nazia Khatir Texas A&M University.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Chapter 3 Part II Describing Syntax and Semantics.
Syntax and Semantics CIS 331 Syntax: the form or structure of the expressions, statements, and program units. Semantics: the meaning of the expressions,
Ch. 13 Ch. 131 jcmt CSE 3302 Programming Languages CSE3302 Programming Languages (notes?) Dr. Carter Tiernan.
Constraints and Search Toby Walsh Cork Constraint Computation Centre (4C) Logic & AR Summer School, 2002.
Specification of Policies for Web Service Negotiations Steffen Lamparter and Sudhir Agarwal Semantic Web and Policy Workshop Galway, November 7 th University.
CPSC 322, Lecture 19Slide 1 (finish Planning) Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt – 5.2) Oct,
Formal Specification: a Roadmap Axel van Lamsweerde published on ICSE (International Conference on Software Engineering) Jing Ai 10/28/2003.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
LDK R Logics for Data and Knowledge Representation Propositional Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
Constraint Satisfaction Problems/Programming ZUI 2012/2013.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Wolfgang Runte Slide University of Osnabrueck, Software Engineering Research Group Wolfgang Runte Software Engineering Research Group Institute.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Wolfgang Runte Slide Marwane El Kharbili Wolfgang Runte University of Osnabrueck Institute of Computer Science Software Engineering Research.
Modelling and Solving Configuration Problems on Business
Automatic Test Generation
Chuang Liu, Lingyun Yang, Dave Angulo, Ian Foster
Constraint Satisfaction Problem
Knowledge Representation
Basic Grid Projects – Condor (Part I)
Logic: Top-down proof procedure and Datalog
Software Design, Software Coding - Are there Distinctions?
Formal Methods in software development
The Distributive Property
Logics for Data and Knowledge Representation
Dichotomies in CSP Karl Lieberherr inspired by the paper:
SEG 4560 Midterm Review.
Presentation transcript:

A Constraint Language Approach to Grid Resource Selection Chuang Liu, Ian Foster Distributed System Lab University of Chicago Work performed within the Grid Application Development Software (GrADS) Project of the NSF Next Generation Software Program

2 Problems l Selection of resources whose properties are expressed by a feature set or range l Co-selection of resources –Description of requirement for a resource set for example, aggregation characteristics of a resource set. –Efficient algorithm to locate resource set

3 Outline l Problem l Description Language (RedLine) l Matchmaking l Applications l Summary

4 Description Language ClassAds RedLine description language A set of named Expressions called ClassAds A set of constraints on value of attribute called Description Limited support for set expression data type set and related functions, such as Sum, Cardinality, Set_Intersection, etc.

5 Description Language l Use constraints to describe attributes.

6 Description Language l resource co-selection request.

7 Outline l Problem l Description Language l Matchmaking l Applications l Summary

8 Description of Resources and Requests l Both resources owners and requesters use RedLine syntax to describe their resources or requests l The requestor and resource providers must use the same variable name to express a resource attribute and associate common meaning to responding values.

9 Definition of Match A constraint C is satisfiable if there exists a value assignment to every variable v  vars(C) such that C holds. Otherwise, it is unsatisfiable. vars(C) denotes the set of variables occurring in constraint C. l RedLine defines bilateral match: Two descriptions C1 and C2 match each other if C1  C2 is satisfiable. Scope of resource Capability Scope of satisfying Capability

10 Example

11 Example

12 Definition of Match l RedLine also defines multilateral match: Descriptions D 1, D 2, …, D n match a description R if D 1, D 2, …, D n is an assignment to variables with description or description set type in description R and R is still satisfiable after replacing these variables with their values.

13 Example

14 Matchmaking Problem as CSP l A constraint satisfaction problem, or CSP, –A Constraint on variables –Every variable has a finite value domain l Matchmaking as CSP problem –Associate a variable with every requested resource called resource variable – Domain of every resource variable are available resources

15 Example

16 Matchmaking Process as Constraint Solving l CSP & Constraint solving –Sound theory developed in AI, Logic programming l Existing algorithms of constraint solving –systematic search >Backtracking algorithm –heuristic and stochastic algorithms >Hill-Climbing, Min-Coflict and Tabu-Search

17 Performance of Algorithms l Evaluation of different algorithms –Completion of algorithm –Speed of algorithm l User’s controls on matchmaking process –Search# –Distribution –SetConstruct

18 User’s Control on Matchmaking Process l User controls matchmaking process by predicate

19 Summary l Describe resource properties whose value is expressed as a feature set or a range l Describe set-based requirement for a resource set l Formalize matchmaking problem into a Constraint Satisfaction problem and utilize algorithms developed in CSP area to solve it l Future: Service Interface implementation, Organization of descriptions in matchmaker, and study performance of the algorithm in in realistic application settings l Thanks to –NSF Next Generation Software Program –Alain Roy, GrADS colleagues l

20 Outline l Problem l Description Language l Matchmaking l Redline System & Applications l Summary

21 RedLine System l Layered structure

22 Applications l Data Grid Example

23 Applications l Access Grid Example

24 Applications l Query Example

25 Summary l Describe resource properties whose value is expressed as a feature set or a range l Describe set-based requirement for a resource set l Formalize matchmaking problem into a Constraint Satisfaction problem and utilize algorithms developed in CSP area to solve it l Future: Service Interface implementation, Organization of descriptions in matchmaker, and study performance of the algorithm in in realistic application settings l Thanks to –NSF Next Generation Software Program –Alain Roy, GrADS colleagues l

26 Constraint A constraint C is of the form c1  …  cn where n >= 0 and c1, …, cn are primitive constraints. The symbol  denotes and, so a constraint C holds whenever all of the primitive constraints c1, …, cn hold. A constraint C is satisfiable if there exists a value assignment to every variable v  vars(C) such that C holds. Otherwise, it is unsatisfiable. vars(C) denotes the set of variables occurring in constraint C.

27 Resource Selection Service: Framework Resource Monitor Set Matcher Mapper RSS App Resource Request Result GRISes GIIS MDS Resource Information NWS