S
sashi
guys this is my end of term assignment and i am stuck in a bad waymy
grade is gonna suck if i dont turn this assignment in please help me
the assignment is :
Write a program (or a series of programs) which divides an array of 4M
random
numbers into two parts, sorts each part separately, and combines them
to form a sorted
list.
You should implement a variety of communication schemes to divide the
work in
half, so that different processes (or threads) each sort half the
list. Time the execution for
each communication method to form a table and brief report showing the
communication
overhead for each method. Note that since the machines in EMCS 202
have only one
processor, the proposed splits will not actually improve performance.
Complete method 1 and any three others for full credit.
1: No splits; just a single process to sort the numbers.
2: Unnamed pipe
3: Sockets
4:Multi-threading
grade is gonna suck if i dont turn this assignment in please help me
the assignment is :
Write a program (or a series of programs) which divides an array of 4M
random
numbers into two parts, sorts each part separately, and combines them
to form a sorted
list.
You should implement a variety of communication schemes to divide the
work in
half, so that different processes (or threads) each sort half the
list. Time the execution for
each communication method to form a table and brief report showing the
communication
overhead for each method. Note that since the machines in EMCS 202
have only one
processor, the proposed splits will not actually improve performance.
Complete method 1 and any three others for full credit.
1: No splits; just a single process to sort the numbers.
2: Unnamed pipe
3: Sockets
4:Multi-threading