“Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

23
“Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources” MD. Mamunur Rashid (PhD Student ,LHCb) 1

description

“Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources” MD. Mamunur Rashid (PhD Student ,LHCb). Optimistic......... Sure you need more hands . Task >Available Resources. Not Practical . Too practical . What can be consequence! . Consequence can be . - PowerPoint PPT Presentation

Transcript of “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

Page 1: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

1

“Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

MD. Mamunur Rashid(PhD Student ,LHCb)

Page 2: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

2

Optimistic......... Sure you need more hands ......

Task >Available Resources

Page 3: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

3

Not Practical

Page 4: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

4

Too practical

What can be consequence!

Page 5: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

5

Consequence can be ......

Page 6: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

6

So what we missing ,is a harmony, a synchronization of using available resources

We are missing something from all these pictures

Page 7: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

7

We have these

Parked on FridayParking Catalogue

Parked ..............Paarke...............Park...................Par.......................P..................................................Parked ............n

Parked on 2/2/2008Parked on MondayParked 2/4/2009Parked on FridayParked on.........

.....

Parked o...........

Proposal: Please don’t live your car here let some one use it you are not using.

Page 8: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

8

Approach is not Practical :Car is very costly

Potential Risk of Damage People have a habit of thinking it as very personal belongings

So we had a prototype to solve a problem and it fails lets See if we can implement it any where else as its a

promising approach

Why this approach is failed:

Page 9: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

9

Problem

“We need to find more computational resources for accomplish our physics experiment”

1.On condition we don’t want to spend all our money to buy all the CPU.

2. What ever we buy today may be not enough for tomorrow.

3. So we need some thing for free or preferably cheap and unlimited

Page 10: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

10

we can’t use these machines , they are occupied

Lets try some where else .......................

Page 11: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

11

What about these ones ..

No occupied + Available + Idle

Page 12: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

12

What about these ones.................................................

Page 13: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

13

Or more interestingly these ones.......

Occupied but not used ................ May be you gave up. but your machine is able to get some thing to do as they are not as lazy as we are. Lets called them Idle Machine

Page 14: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

14

SETI@home and some other projects using BOINC And they are :

Active: 329,830 volunteers574,820 computers.

24-hour average: 2,623.34 TeraFLOPS.

Who are already using this idle resources

Page 15: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

15

“Virtualisation and Parallelisation for using opportunistic idle CPU resources”

Our contribution/Approach in this research field :

Page 16: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

16

We try to keep all the available cores busy to ensure full parallelization in instruction stream.

Implementation level will execute event/core:• Events size of 30-35 k• Recorded in 2 GB files• The first stage reconstruction • Takes 1-2s per event

What we have for Parallelization :

Page 17: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

17

Core Cloud

Basic Flow

EvntA EvntB

Evnt3 EvntX

EvntN

In

pu

t

Ev

en

t

St

re

em

In

pu

t

Ev

en

t

St

re

em

Input Event Streem

In

pu

t

Ev

en

t

St

re

em

Input Event

Streem

Input Event Streem

Input Event Streem

Input Event Streem

Input Event Streem

Evnt1 EvntB

Core Cloud(CC)

EventCOllector

EvntK EvntV

EvntR EvntG Evnt3 EvntA

EvntGEvntD

EvntR EvntF

Input fileDB Output fileDB

Form

Storage To

Stor

age

Page 18: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

18

Basic structure of BOINCInteraction between client and server

2)Download application

3) Download Input files

4) Compute

5) Upload Output File

6) Report Result

Page 19: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

19

1. It will ensure the amount of exact acquired resources in the remote machine. (SoonVirtual machine is installed we know the system configuration(ram/hard drive size) and how much computation it can perform.)

2. It will facilitate access to use heterogeneous resources (MAC/LINUX/Windows..etc)

3. It will give a freedom to the volunteer user from installing every update of anyavailable software by encapsulating operating system environment all in one(CernVM).

4. The virtual machine will come up with only strictly required software to minimise the overload of package size.( We can say it ThinVM)

Technical/Scientific benefit of CernVM:

Page 20: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

Where we want to be!Worker

nodeInput

collector Reconstruction

Manager

Where all the available resource is being used and it would not effect us much if any of them is not performing as it will be a large collaborated resource sharing

Output Collector

Page 21: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

21

1.In Our online farm2.Machine with multiple cores

3.Over Amazon/Google cloud @£/$/e(with CernVM)4. Over the internet for opportunistic idle resource hunting

using BOINC and CernVM

Where we can exercise this method

Page 22: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

22

So to run this project we have :DIRAC

Single machine multiple core access mechanismCernVM

BOINC (As an option)We can start with simulation

So all we have to do integrate all these components together and monitor its performance and always try to find a better means to improve its performance .

Is it all free!

Conclusion :

Page 23: “Virtualisation and Parallelisation for using Opportunistic Idle CPU Resources”

23

Many Thanks for Attending this Session :

Question /Comments?

My Comment :”lets Science Use it, when you don’t”