SlideShare a Scribd company logo
A PAPER BASED PRESENTATION –
“PERFORMANCE EVALUATION OF PARALLEL
BUBBLE SORT ALGORITHM ON SUPER
COMPUTER IMAN1.”
Introductory
Prepared By
Shakil Ahmed 19-91472-3
Nazia Alfaz 19-91493-3
Submitted To
Dr. Ashraf Uddin
Assistant Professor
Department of Computer Science
American International University - Bangladesh
Course Outline
Lesson 1.
Overview Of The Paper.
Lesson 2.
Background Study.
Lesson 3.
Objective of this Paper.
Lesson 4.
Usefulness/Applications
Lesson 5.
Algorithm Used in this Paper.
Overview
• This paper published the running time,
parallel speedup and parallel efficiency of
parallel bubble sort.
• The parallel bubble sort is evaluated in
Message Passing Interface (MPI) and
measured in supercomputer IMAN1.
• The parallel bubble sort has the better
running time as the number of processors
increases.
• Over small number of processors parallel
bubble sort is also more efficient.
Background Study
◦ Mm. Jiang and D. Crookes. (2006), proposed high-sample rate 3-Dimention (3D) median filtering
processor architecture that can reduce the computation complexity in comparison with the traditional bubble
sorting algorithm.
◦ Kale V, Solomonik E. (2010), proposed a method for common patterns of parallel sorting algorithms in
terms of load balancing, keys distribution, communication cost, and computations cost.
◦ A. I. Elnashar. (2011), used a Massage Passing Interface Chameleon (MPICH2) in a dual-core processor
machine which had the windows operating system in order to explore how the number of cores and the
processes affect the performance of a parallel bubble sort algorithm.
◦ N. Sismanis, N. Pitsianis, and X. Sun, (2012), had done a study of parallel bubble sort algorithm for K-
Nearest Neighbor (KNN) search in introduces. The study is conducted on a parallel processor or accelerator
that favors synchronous operations and has high synchronization cost.
◦ O. AbuAlghanam, M. Qatawneh, H.al Ofeishat, O. adwan, A. Huneiti. (2017), several mechanisms for
secured message passing use bubble sort algorithm to tackle security problems of information by enhancing
the process of encryption and decryption the text message.
Objectives
• Run Time Evaluation: As the number of processors increase, the run time is reduced due to
parallelism (2 to 32 processors).
Objectives
◦ Speedup Evaluation: Parallel speedup increases when the number of processors increases. The
parallel algorithm achieves the best speedup on a large number of processors. It is the ratio of
sequential bubble sort time and parallel bubble sort time.
Objectives
◦ Parallel Efficiency: Parallel efficiency is the ratio between speedup and the number of
processors.
Objectives
◦ Parallel Cost: The product of parallel run time and the number of processors.
Application & Usefulness
1. The parallel bubble sort is mainly useful for the supercomputers that works with too many
processors. Supercomputers have been used primarily for scientific and engineering work requiring
exceedingly high-speed computations. By using parallel bubble sort algorithm the processors can
work in parallel.
2. As the number of processors increases the run time is reduced due to better parallelism and better
load distribution among more processors.
3. The parallel algorithm achieves the best speedup on a large number of processors.
4. When the number of processors is equal to two, the parallel bubble sort achieves about 26%
parallel efficiency. So for small number of processor the algorithm has high efficiency.
5. When parallel bubble sort algorithm works with 2,4 or 8 processor the cost is reduced. So if we
want to work with smaller number of processor in a cost effective way, the algorithm is useful.
6. The complexity of parallel bubble sort equals to O(n) which is much better than the complexity
of the fastest known sequential sorting algorithm with O(n log n) complexity
Algorithm
#initialization of input n
For i in 1 to n do
If i is odd then
For j in 0 to n/2-1
do
Compare input (2 * j+1) with input (2 *
j+2);
If input(2 * j+1)> input (2 * j+2)
then swap;
end for;
If i is even then
For j in 1 to n/2-1
do
Compare input (2 * j) with input (2 *
j+1);
If input(2 * j)> input (2 * j+1)
then swap;
end for;
end for
Explanation
◦ 1.The parallel version of bubble sort will perform n iterations of the main loop and for each
iteration.
◦ 2. For each iteration, n-1 comparisons and (n-1)/2 exchanges
◦ 3. There are two loops, the outer loop will take n steps and the inner loop depends on the odd or
even phase which takes n/2 steps and that time will be divided by the number of processors. So
the time complexity that is required for all processors to sort the dataset is O (n2 /2p).
◦ 4. When the number of processor is greater that n/2, The complexity of the inner loop will be
O(1) because all the iteration will be performed in parallel and the complexity of the algorithm
will be O(n).
THANK YOU!

More Related Content

PDF
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1
PPT
Analytical Models of Parallel Programs
DOCX
Matrix multiplication graph
PPTX
Cmpe 255 Short Story Assignment
PPT
Basic Communication
PPT
Chap6 slides
PPTX
sp2015ren
PPT
Chap5 slides
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1
Analytical Models of Parallel Programs
Matrix multiplication graph
Cmpe 255 Short Story Assignment
Basic Communication
Chap6 slides
sp2015ren
Chap5 slides

What's hot (19)

PPT
Chap1 slides
PPTX
Time space trade off
PPT
Chap3 slides
PPT
Chap7 slides
PPT
Chap2 slides
PDF
Vol 16 No 2 - July-December 2016
PDF
29 19 sep17 17may 6637 10140-1-ed(edit)
PPT
Parallel Algorithms- Sorting and Graph
PDF
Gk3611601162
PPT
Chap4 slides
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
Super Resolution with OCR Optimization
PDF
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
PPT
Chap9 slides
PPTX
Scalable Parallel Computing on Clouds
PDF
Parallel conformational search of small molecules
PDF
Clustering_Algorithm_DR
PDF
Optimal buffer allocation in
PPTX
Parallel Left Ventricle Simulation Using the FEniCS Framework
Chap1 slides
Time space trade off
Chap3 slides
Chap7 slides
Chap2 slides
Vol 16 No 2 - July-December 2016
29 19 sep17 17may 6637 10140-1-ed(edit)
Parallel Algorithms- Sorting and Graph
Gk3611601162
Chap4 slides
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Super Resolution with OCR Optimization
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Chap9 slides
Scalable Parallel Computing on Clouds
Parallel conformational search of small molecules
Clustering_Algorithm_DR
Optimal buffer allocation in
Parallel Left Ventricle Simulation Using the FEniCS Framework
Ad

Similar to Performance evaluation of parallel bubble sort algorithm on supercomputer IMAN1. (20)

PDF
29 19 sep17 17may 6637 10140-1-ed(edit)
PDF
Parallelization of Graceful Labeling Using Open MP
PDF
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
PDF
The International Journal of Engineering and Science (The IJES)
PPT
Lecture1
PDF
A Survey on Improve Efficiency And Scability vertical mining using Agriculter...
PDF
Static Load Balancing of Parallel Mining Efficient Algorithm with PBEC in Fre...
PDF
Performance Analysis of Parallel Algorithms on Multi-core System using OpenMP
PPTX
Performance measures
PDF
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...
PDF
M017327378
PDF
Scheduling Using Multi Objective Genetic Algorithm
PDF
FrackingPaper
PDF
International Journal of Engineering and Science Invention (IJESI)
PDF
PDF
PDF
An Optimized Parallel Algorithm for Longest Common Subsequence Using Openmp –...
PDF
Comprehensive Performance Evaluation on Multiplication of Matrices using MPI
PPT
programnetwork_properties-parallelism_ch2.ppt
PDF
Intel Cluster Poisson Solver Library
29 19 sep17 17may 6637 10140-1-ed(edit)
Parallelization of Graceful Labeling Using Open MP
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
The International Journal of Engineering and Science (The IJES)
Lecture1
A Survey on Improve Efficiency And Scability vertical mining using Agriculter...
Static Load Balancing of Parallel Mining Efficient Algorithm with PBEC in Fre...
Performance Analysis of Parallel Algorithms on Multi-core System using OpenMP
Performance measures
Bounded ant colony algorithm for task Allocation on a network of homogeneous ...
M017327378
Scheduling Using Multi Objective Genetic Algorithm
FrackingPaper
International Journal of Engineering and Science Invention (IJESI)
An Optimized Parallel Algorithm for Longest Common Subsequence Using Openmp –...
Comprehensive Performance Evaluation on Multiplication of Matrices using MPI
programnetwork_properties-parallelism_ch2.ppt
Intel Cluster Poisson Solver Library
Ad

Recently uploaded (20)

PDF
Pre independence Education in Inndia.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Institutional Correction lecture only . . .
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Insiders guide to clinical Medicine.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
RMMM.pdf make it easy to upload and study
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pre independence Education in Inndia.pdf
Microbial diseases, their pathogenesis and prophylaxis
Institutional Correction lecture only . . .
Renaissance Architecture: A Journey from Faith to Humanism
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Insiders guide to clinical Medicine.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
VCE English Exam - Section C Student Revision Booklet
RMMM.pdf make it easy to upload and study
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Microbial disease of the cardiovascular and lymphatic systems
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
O7-L3 Supply Chain Operations - ICLT Program
PPH.pptx obstetrics and gynecology in nursing
Week 4 Term 3 Study Techniques revisited.pptx
01-Introduction-to-Information-Management.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf

Performance evaluation of parallel bubble sort algorithm on supercomputer IMAN1.

  • 1. A PAPER BASED PRESENTATION – “PERFORMANCE EVALUATION OF PARALLEL BUBBLE SORT ALGORITHM ON SUPER COMPUTER IMAN1.”
  • 2. Introductory Prepared By Shakil Ahmed 19-91472-3 Nazia Alfaz 19-91493-3 Submitted To Dr. Ashraf Uddin Assistant Professor Department of Computer Science American International University - Bangladesh
  • 3. Course Outline Lesson 1. Overview Of The Paper. Lesson 2. Background Study. Lesson 3. Objective of this Paper. Lesson 4. Usefulness/Applications Lesson 5. Algorithm Used in this Paper.
  • 4. Overview • This paper published the running time, parallel speedup and parallel efficiency of parallel bubble sort. • The parallel bubble sort is evaluated in Message Passing Interface (MPI) and measured in supercomputer IMAN1. • The parallel bubble sort has the better running time as the number of processors increases. • Over small number of processors parallel bubble sort is also more efficient.
  • 5. Background Study ◦ Mm. Jiang and D. Crookes. (2006), proposed high-sample rate 3-Dimention (3D) median filtering processor architecture that can reduce the computation complexity in comparison with the traditional bubble sorting algorithm. ◦ Kale V, Solomonik E. (2010), proposed a method for common patterns of parallel sorting algorithms in terms of load balancing, keys distribution, communication cost, and computations cost. ◦ A. I. Elnashar. (2011), used a Massage Passing Interface Chameleon (MPICH2) in a dual-core processor machine which had the windows operating system in order to explore how the number of cores and the processes affect the performance of a parallel bubble sort algorithm. ◦ N. Sismanis, N. Pitsianis, and X. Sun, (2012), had done a study of parallel bubble sort algorithm for K- Nearest Neighbor (KNN) search in introduces. The study is conducted on a parallel processor or accelerator that favors synchronous operations and has high synchronization cost. ◦ O. AbuAlghanam, M. Qatawneh, H.al Ofeishat, O. adwan, A. Huneiti. (2017), several mechanisms for secured message passing use bubble sort algorithm to tackle security problems of information by enhancing the process of encryption and decryption the text message.
  • 6. Objectives • Run Time Evaluation: As the number of processors increase, the run time is reduced due to parallelism (2 to 32 processors).
  • 7. Objectives ◦ Speedup Evaluation: Parallel speedup increases when the number of processors increases. The parallel algorithm achieves the best speedup on a large number of processors. It is the ratio of sequential bubble sort time and parallel bubble sort time.
  • 8. Objectives ◦ Parallel Efficiency: Parallel efficiency is the ratio between speedup and the number of processors.
  • 9. Objectives ◦ Parallel Cost: The product of parallel run time and the number of processors.
  • 10. Application & Usefulness 1. The parallel bubble sort is mainly useful for the supercomputers that works with too many processors. Supercomputers have been used primarily for scientific and engineering work requiring exceedingly high-speed computations. By using parallel bubble sort algorithm the processors can work in parallel. 2. As the number of processors increases the run time is reduced due to better parallelism and better load distribution among more processors. 3. The parallel algorithm achieves the best speedup on a large number of processors. 4. When the number of processors is equal to two, the parallel bubble sort achieves about 26% parallel efficiency. So for small number of processor the algorithm has high efficiency. 5. When parallel bubble sort algorithm works with 2,4 or 8 processor the cost is reduced. So if we want to work with smaller number of processor in a cost effective way, the algorithm is useful. 6. The complexity of parallel bubble sort equals to O(n) which is much better than the complexity of the fastest known sequential sorting algorithm with O(n log n) complexity
  • 11. Algorithm #initialization of input n For i in 1 to n do If i is odd then For j in 0 to n/2-1 do Compare input (2 * j+1) with input (2 * j+2); If input(2 * j+1)> input (2 * j+2) then swap; end for; If i is even then For j in 1 to n/2-1 do Compare input (2 * j) with input (2 * j+1); If input(2 * j)> input (2 * j+1) then swap; end for; end for
  • 12. Explanation ◦ 1.The parallel version of bubble sort will perform n iterations of the main loop and for each iteration. ◦ 2. For each iteration, n-1 comparisons and (n-1)/2 exchanges ◦ 3. There are two loops, the outer loop will take n steps and the inner loop depends on the odd or even phase which takes n/2 steps and that time will be divided by the number of processors. So the time complexity that is required for all processors to sort the dataset is O (n2 /2p). ◦ 4. When the number of processor is greater that n/2, The complexity of the inner loop will be O(1) because all the iteration will be performed in parallel and the complexity of the algorithm will be O(n).