Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

31
Syed Akhter Hossain Md Sami Daffodil International University DIU Cluster DIU Cluster Presented in a seminar at Daffodil International University Thursday 2 February, 2017

Transcript of Parallel computing diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Page 1: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Syed Akhter HossainMd SamiDaffodil International University

DIU ClusterDIU Cluster

Presented in a seminar at Daffodil International UniversityThursday 2 February, 2017

Page 2: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Emeritus Professor Aminul IslamDirector, Research Center, FSIT

DIU AdministrationColleagues and Students, Dept of CSE

Page 3: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Parallel Computing using DIU Pi Cluster, February, 2017 3

Page 4: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Discussion Points

• What is parallel computing?• Why parallel computing?• Raspberry Pi• DIU Pi Cluster Design and Implementation• DIU Pi Cluster Demo• Future Scope

4Parallel Computing using DIU Pi Cluster, February, 2017

Page 5: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

What is parallel computing?

5Parallel Computing using DIU Pi Cluster, February, 2017

Page 6: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Parallel Programming?

• Problem is divided into process and passed to CPUs parallel and then collected together

6Parallel Computing using DIU Pi Cluster, February, 2017

Page 7: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Why parallel computing?

• The primary reasons for using parallel computing: – Save time - wall clock time – Solve larger problems – Provide concurrency (do multiple things at the

same time)

7Parallel Computing using DIU Pi Cluster, February, 2017

Page 8: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Grand Computing Challenges• Traditionally, parallel computing has been considered

to be "the high end of computing" and has been motivated by numerical simulations of complex systems and "Grand Challenge Problems" such as: – weather and climate – chemical and nuclear reactions – biological, human genome – geological, seismic activity – mechanical devices - from prosthetics to spacecraft – electronic circuits – manufacturing processes

8Parallel Computing using DIU Pi Cluster, February, 2017

Page 9: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Who and What?

9Parallel Computing using DIU Pi Cluster, February, 2017

Page 10: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

10Parallel Computing using DIU Pi Cluster, February, 2017

Page 11: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

11Parallel Computing using DIU Pi Cluster, February, 2017

Page 12: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Raspberry Pi?• University of Cambridge’s Computer Laboratory– Decline in skill level– Designed for education

• A credit card sized PC• Plugs into a TV or monitor• Inexpensive(ish) ~$35 each• Capability:– Programming– Electronic Projects– Office– Play HD Videos

12Parallel Computing using DIU Pi Cluster, February, 2017

Page 13: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

13Parallel Computing using DIU Pi Cluster, February, 2017

Page 14: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Power

5v microUSB

connector

(Similar to the one on a lot of mobile phones!)

14Parallel Computing using DIU Pi Cluster, February, 2017

Page 15: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

3.5mm AudioStandard

headphone socket

RCA Video(works with most

older TVs)

HDMI Audio & Video(works with modern TVs and DVI monitors)

A/V (Audio/Video)

15Parallel Computing using DIU Pi Cluster, February, 2017

Page 16: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

GPIO(GeneralPurposeInput &Output)

10/100MbEthernet

2 x USB 2.0ports

Connectivity

16Parallel Computing using DIU Pi Cluster, February, 2017

Page 17: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

DSI(display

interface)

SOC (System On a Chip)Broadcom BCM2835 700Mhz

Internals LAN Controller

CSI(camera

interface)

17Parallel Computing using DIU Pi Cluster, February, 2017

Page 18: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

SD Card Slot(supports SD cards up to 32GB)

Storage

18Parallel Computing using DIU Pi Cluster, February, 2017

Page 19: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

19Parallel Computing using DIU Pi Cluster, February, 2017

Page 20: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

DIU Pi ClusterDIU Pi cluster is a new generation cluster technology. It’s a prototype project power by Raspberry Pi . we design a very low cost cluster with low cost hardware and equipment. DIU Pi cluster is build for serve multi purpose Technology Like Big Data , Parallel processing,Medical image processing and also for Artificial intelligence (AI) implementation

20Parallel Computing using DIU Pi Cluster, February, 2017

Page 21: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

DIU Pi Cluster Design

21Parallel Computing using DIU Pi Cluster, February, 2017

Page 22: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Pi Cluster Components

• Raspberry Pi B+ (10 pieces)• Raspberry Pi Power Adapter• A fine wooden Box• Transparent plastic casing• A Wi-Fi Router & Network Switch• 10 Pieces SD Cards• Cat 5 cable• Power extension strip

22Parallel Computing using DIU Pi Cluster, February, 2017

Page 23: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Work in Progress (1/3)

Parallel Computing using DIU Pi Cluster, February, 2017 23

Page 24: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Work in Progress (2/3)

Parallel Computing using DIU Pi Cluster, February, 2017 24

Page 25: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Work in Progress (3/3)

Parallel Computing using DIU Pi Cluster, February, 2017 25

Page 26: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

DIU Cluster in Action

26Parallel Computing using DIU Pi Cluster, February, 2017

Page 27: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Testing Implementation

Implemented some parallel programming with parallel python to test the cluster computing .

1.Matrix multiplication2.Prime number calculation 3.Values of pi π calculation

27Parallel Computing using DIU Pi Cluster, February, 2017

Page 28: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

CPU usage of Pi Cluster

28Parallel Computing using DIU Pi Cluster, February, 2017

Page 29: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

DIU Cluster Demo

29Parallel Computing using DIU Pi Cluster, February, 2017

Page 30: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Future Scope

• 200 nodes cluster based on this prototype DIU Pi Cluster .. seek innovation funding

• Apply DIU Pi Cluster in Health Informatics• Apply DIU Pi Cluster in Agri Business• Apply DIU Pi Cluster in Pharmaceutical

Industry

30Parallel Computing using DIU Pi Cluster, February, 2017

Page 31: Parallel computing  diu pi cluster by Prof. Dr. Syed Akhter Hossain & Md Sami

Thanks for patience hearingQuestions?

DIU ClusterDIU Cluster

31Parallel Computing using DIU Pi Cluster, February, 2017