SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read

There are two nodes, {N1, n2} and six tasks {T1, t2, T3, t4, t5, t6}. There are two task
assignment parameters – the task execution cost (xab the cost of executing task a
on node b) and the inter-task communication cost (cij the inter-task
communication cost between tasks i and j).
Inter-task communication cost Execution costs
T1
T1
0
t2
6
T3
4
t4
0
t5
0
t6
12
Nodes
N1 n2
t2 6 0 8 12 3 0 T1 5 10
T3 4 8 0 0 11 0 t2 2 ∞
t4 0 12 0 0 5 0 T3 4 4
t5 0 3 11 5 0 0 t4 6 3
t6 12 0 0 0 0 0 t5 5 2
t6 ∞ 4
Task t6 cannot be executed on node N1 and task t2 cannot be executed on node n2 since the
resources they need are not available on these nodes.
Serial assignment, where tasks T1, t2, T3 are assigned to node N1 and tasks t4, t5, t6 are
assigned to node n2:
Execution cost:
x = x11 + x21 + x31 + x42 + x52 + x62 = 5 + 2 + 4 + 3 + 2 + 4 = 20
Communication cost,:
c = c14 + c15 + c16 + c24 + c25 + c26 + c34 + c35 + c36 = 0 + 0 + 12 + 12 + 3 + 0 + 0 + 11 + 0 =
38.
Hence total cost =20+38= 58.
Optimal assignment, where tasks T1, t2, t3, t4, t5 are assigned to node n1 and task t6 is
assigned to node n2.
Execution cost:
x = x11 + x21 + x31 + x41 + x51 + x62= 5 + 2 + 4 + 6 + 5 + 4 = 26
Communication cost:
c = c16 + c26 + c36 + c46 + c56= 12 + 0 + 0 + 0 + 0 = 12
Total cost = 38
• Optimal assignments are found by first creating a static assignment graph.
• In this graph, the weights of the edges joining pairs of task nodes represent inter-
task communication costs.
• The weight on the edge joining a task (say t1)to node n1 represents the execution
cost of that task on node n2 (say 10)and vice-versa.
• Then we determine a minimum cutset in this graph.
A cutset is defined to be a set of edges such that when these edges are removed, the nodes of
the graph are partitioned into two disjoint subsets such that nodes in one subset are
reachable from N1 and the nodes in the other are reachable from n2. Each task node is
reachable from either N1 or n2. The weight of a cutset is the sum of the weights of the edges in
the cutset. This sums up the execution and communication costs for that assignment. An
optimal assignment is found by finding a minimum cutset.
Task assignment approach

More Related Content

PPT
remote procedure calls
PPT
distributed shared memory
PPT
system interconnect architectures in ACA
PPTX
Message and Stream Oriented Communication
PPTX
Distributed file system
PPT
message passing
PPTX
Mobile transport layer - traditional TCP
PPTX
Block cipher modes of operation
remote procedure calls
distributed shared memory
system interconnect architectures in ACA
Message and Stream Oriented Communication
Distributed file system
message passing
Mobile transport layer - traditional TCP
Block cipher modes of operation

What's hot (20)

ODP
Distributed operating system(os)
PDF
TCP over wireless slides
PPTX
distributed Computing system model
PDF
Resource management
PDF
CS6601 DISTRIBUTED SYSTEMS
PPTX
Multiplexing in mobile computing
PPTX
Control Strategies in AI
PPT
Hardware and Software parallelism
PDF
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...
PPTX
Inter Process Communication
PPT
Middleware
PDF
Mobile computing unit 5
DOC
Distributed Mutual exclusion algorithms
PPT
Grid computing
PPTX
PDF
Interconnection Network
PPT
Parallel Processing Concepts
PDF
Mobile Network Layer
PPT
Chord Algorithm
Distributed operating system(os)
TCP over wireless slides
distributed Computing system model
Resource management
CS6601 DISTRIBUTED SYSTEMS
Multiplexing in mobile computing
Control Strategies in AI
Hardware and Software parallelism
Symmetric Cipher Model, Substitution techniques, Transposition techniques, St...
Inter Process Communication
Middleware
Mobile computing unit 5
Distributed Mutual exclusion algorithms
Grid computing
Interconnection Network
Parallel Processing Concepts
Mobile Network Layer
Chord Algorithm
Ad

Similar to Task assignment approach (20)

PPT
resource management
PDF
ALGORITHMS FOR PACKET ROUTING IN SWITCHING NETWORKS WITH RECONFIGURATION OVER...
PDF
A comparison of efficient algorithms for scheduling parallel data redistribution
PDF
10. resource management
PDF
Basic communication operations - One to all Broadcast
PDF
A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
PDF
15 82-87
PPT
Distributed_Scheduling.ppt
PPTX
Dos unit 2
PDF
Performance Analysis and Development of an Efficient Routing Scheme for IEEE ...
PDF
An Algorithm for Optimized Cost in a Distributed Computing System
PDF
Distributed Computing - Slide Set 1 (broadcast algorithms + stronger)
PPT
Types of Load distributing algorithm in Distributed System
PPTX
Resource management
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
Algorithms explained
PPTX
Circular Extrema Problem
PPTX
Reference Model of Real Time System
PDF
Problems in Task Scheduling in Multiprocessor System
PPT
1 messagepassing-121015032028-phpapp01
resource management
ALGORITHMS FOR PACKET ROUTING IN SWITCHING NETWORKS WITH RECONFIGURATION OVER...
A comparison of efficient algorithms for scheduling parallel data redistribution
10. resource management
Basic communication operations - One to all Broadcast
A CRITICAL IMPROVEMENT ON OPEN SHOP SCHEDULING ALGORITHM FOR ROUTING IN INTER...
15 82-87
Distributed_Scheduling.ppt
Dos unit 2
Performance Analysis and Development of an Efficient Routing Scheme for IEEE ...
An Algorithm for Optimized Cost in a Distributed Computing System
Distributed Computing - Slide Set 1 (broadcast algorithms + stronger)
Types of Load distributing algorithm in Distributed System
Resource management
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Algorithms explained
Circular Extrema Problem
Reference Model of Real Time System
Problems in Task Scheduling in Multiprocessor System
1 messagepassing-121015032028-phpapp01
Ad

More from MNM Jain Engineering College (16)

DOCX
IT8602 MOBILE COMMUNICATION.docx
PDF
IT8602 Syllabus.pdf
DOC
PDF
PPT
Process Management-Process Migration
DOC
Naming in Distributed System
PPT
Peer to Peer services and File systems
PPT
Remote method invocation
PPT
Remote Procedure Call
PPT
Engineering Ethics
PPT
Distributed System-Multicast & Indirect communication
DOCX
It6312 dbms lab-ex2
DOCX
Expected questions in Artificial Intelligence
PDF
Qp mobile & pervasive 2015
DOC
It6611 mobile application development laboratory l t p c0 0 3 2
PDF
Instruction formats-in-8086
IT8602 MOBILE COMMUNICATION.docx
IT8602 Syllabus.pdf
Process Management-Process Migration
Naming in Distributed System
Peer to Peer services and File systems
Remote method invocation
Remote Procedure Call
Engineering Ethics
Distributed System-Multicast & Indirect communication
It6312 dbms lab-ex2
Expected questions in Artificial Intelligence
Qp mobile & pervasive 2015
It6611 mobile application development laboratory l t p c0 0 3 2
Instruction formats-in-8086

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PPTX
Welding lecture in detail for understanding
DOCX
573137875-Attendance-Management-System-original
PPTX
web development for engineering and engineering
PDF
Digital Logic Computer Design lecture notes
PPTX
Sustainable Sites - Green Building Construction
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPT on Performance Review to get promotions
Welding lecture in detail for understanding
573137875-Attendance-Management-System-original
web development for engineering and engineering
Digital Logic Computer Design lecture notes
Sustainable Sites - Green Building Construction
OOP with Java - Java Introduction (Basics)
Foundation to blockchain - A guide to Blockchain Tech
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
R24 SURVEYING LAB MANUAL for civil enggi
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
additive manufacturing of ss316l using mig welding
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
CYBER-CRIMES AND SECURITY A guide to understanding

Task assignment approach

  • 1.  There are two nodes, {N1, n2} and six tasks {T1, t2, T3, t4, t5, t6}. There are two task assignment parameters – the task execution cost (xab the cost of executing task a on node b) and the inter-task communication cost (cij the inter-task communication cost between tasks i and j). Inter-task communication cost Execution costs T1 T1 0 t2 6 T3 4 t4 0 t5 0 t6 12 Nodes N1 n2 t2 6 0 8 12 3 0 T1 5 10 T3 4 8 0 0 11 0 t2 2 ∞ t4 0 12 0 0 5 0 T3 4 4 t5 0 3 11 5 0 0 t4 6 3 t6 12 0 0 0 0 0 t5 5 2 t6 ∞ 4 Task t6 cannot be executed on node N1 and task t2 cannot be executed on node n2 since the resources they need are not available on these nodes.
  • 2. Serial assignment, where tasks T1, t2, T3 are assigned to node N1 and tasks t4, t5, t6 are assigned to node n2: Execution cost: x = x11 + x21 + x31 + x42 + x52 + x62 = 5 + 2 + 4 + 3 + 2 + 4 = 20 Communication cost,: c = c14 + c15 + c16 + c24 + c25 + c26 + c34 + c35 + c36 = 0 + 0 + 12 + 12 + 3 + 0 + 0 + 11 + 0 = 38. Hence total cost =20+38= 58. Optimal assignment, where tasks T1, t2, t3, t4, t5 are assigned to node n1 and task t6 is assigned to node n2. Execution cost: x = x11 + x21 + x31 + x41 + x51 + x62= 5 + 2 + 4 + 6 + 5 + 4 = 26 Communication cost: c = c16 + c26 + c36 + c46 + c56= 12 + 0 + 0 + 0 + 0 = 12 Total cost = 38
  • 3. • Optimal assignments are found by first creating a static assignment graph. • In this graph, the weights of the edges joining pairs of task nodes represent inter- task communication costs. • The weight on the edge joining a task (say t1)to node n1 represents the execution cost of that task on node n2 (say 10)and vice-versa. • Then we determine a minimum cutset in this graph. A cutset is defined to be a set of edges such that when these edges are removed, the nodes of the graph are partitioned into two disjoint subsets such that nodes in one subset are reachable from N1 and the nodes in the other are reachable from n2. Each task node is reachable from either N1 or n2. The weight of a cutset is the sum of the weights of the edges in the cutset. This sums up the execution and communication costs for that assignment. An optimal assignment is found by finding a minimum cutset.