• No results found

details

N/A
N/A
Protected

Academic year: 2020

Share "details"

Copied!
15
0
0

Loading.... (view fulltext now)

Full text

(1)

Our Objectives

• Explore the applicability of Microsoft technologies to real world scientific domains with a focus on data intensive applications

o Expect data deluge will demand multicore enabled data analysis/mining

o Detailed objectives modified based on input from Microsoft such as interest in CCR, Dryad and TPL

• Evaluate and apply these technologies in demonstration systems

o Threading: CCR, TPL

o Service model and workflow: DSS and Robotics toolkit

o MapReduce: Dryad/DryadLINQ compared to Hadoop and Azure

o Classical parallelism: Windows HPCS and MPI.NET,

o XNA Graphics based visualization

• Work performed using C#

• Provide feedback to Microsoft

• Broader Impact

o Papers, presentations, tutorials, classes, workshops, and conferences

(2)

Approach

• Use interesting applications (working with domain experts) as benchmarks

including emerging areas like life sciences and classical applications such as particle physics

o Bioinformatics - Cap3, Alu, Metagenomics, PhyloD

o Cheminformatics - PubChem

o Particle Physics - LHC Monte Carlo

o Data Mining kernels - K-means, Deterministic Annealing Clustering, MDS, GTM, Smith-Waterman Gotoh

• Evaluation Criterion for Usability and Developer Productivity

o Initial learning curve

o Effectiveness of continuing development

o Comparison with other technologies

(3)

Major Achievements

• Analysis of CCR and DSS within SALSA paradigm with very detailed performance work on CCR

• Detailed analysis of Dryad and comparison with Hadoop and MPI. Initial comparison with Azure

• Comparison of TPL and CCR approaches to parallel threading

• Applications to several areas including particle physics and especially life sciences

• Demonstration that Windows HPC Clusters can efficiently run large scale data intensive applications

• Development of high performance Windows 3D visualization of points from dimension

reduction of high dimension datasets to 3D. These are used as Cheminformatics and Bioinformatics dataset browsers

• Proposed extensions of MapReduce to perform datamining efficiently

• Identification of datamining as important application with new parallel algorithms for Multi Dimensional Scaling MDS, Generative Topographic Mapping GTM, and Clustering for cases where vectors are defined or where one only knows pairwise dissimilarities between dataset points.

(4)

Parallel Patterns (Threads/Processes/Nodes)

8x1x22x1x44x1x48x1x416x1x424x1x42x1x84x1x88x1x816x1x824x1x82x1x164x1x168x1x1616x1x162x1x244x1x248x1x2416x1x2424x1x242x1x324x1x328x1x3216x1x3224x1x32

Par

allel

Ov

er

head

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Concurrent Threading on CCR or TPL Runtime

(Clustering by Deterministic Annealing for ALU 35339 data points)

CCR TPL

Typical CCR Comparison with TPL

• Hybrid internal threading/MPI as intra-node model works well on Windows HPC cluster

• Within a single node TPL or CCR outperforms MPI for computation intensive applications like clustering of Alu sequences (“all pairs” problem)

• TPL outperforms CCR in major applications

(5)

1x1x12x1x12x1x24x1x11x4x22x2x24x1x24x2x11x8x22x8x18x1x21x24x14x4x21x8x62x4x64x4x324x1x22x4x88x1x88x1x1024x1x44x4x81x24x824x1x1224x1x161x24x2424x1x28 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

Clustering by Deterministic Annealing

(Parallel Overhead = [PT(P) – T(1)]/T(1), where T time and P number of parallel units)

Parallel Patterns (ThreadsxProcessesxNodes)

Parallel Overhead Thread MPI MPI Threa d Thread Thread Thread MPI Thread Thread MPI MPI

Threading versus MPI on node

Always MPI between nodes

• Note MPI best at low levels of parallelism

• Threading best at Highest levels of parallelism (64 way breakeven)

• Uses MPI.Net as a wrapper of MS-MPI

(6)

Biology MDS and Clustering Results

Alu Families

This visualizes results of Alu repeats from Chimpanzee and Human Genomes. Young families (green, yellow) are seen as tight clusters. This is projection of MDS dimension reduction to 3D of 35399 repeats – each with about 400 base pairs

Metagenomics

(7)

High Performance Data Visualization

• Developed parallel MDS and GTM algorithm to visualize large and high-dimensional data

• Processed 0.1 million PubChem data having 166 dimensions

• Parallel interpolation can process up to 2M PubChem points

MDS for 100k PubChem data

100k PubChem data having 166 dimensions are visualized in 3D space. Colors represent 2 clusters separated by their structural proximity.

GTM for 930k genes and diseases

Genes (green color) and diseases (others) are plotted in 3D space, aiming at finding cause-and-effect relationships.

GTM with interpolation for 2M PubChem data

2M PubChem data is plotted in 3D with GTM interpolation approach. Red points are 100k sampled data and blue points are 4M interpolated points.

(8)

Applications using Dryad & DryadLINQ

• Perform using DryadLINQ and Apache Hadoop implementations

• Single “Select” operation in DryadLINQ

• “Map only” operation in Hadoop

CAP3 [1] - Expressed Sequence Tag assembly to re-construct full-length mRNA

Input files (FASTA)

Output files

CAP3 CAP3 CAP3

Average

Time

(Seconds

)

0 100 200 300 400 500 600

Time to process 1280 files each with ~375 sequences

Hadoop

DryadLINQ

(9)

All-PairsUsing DryadLINQ

35339 50000

0 2000 4000 6000 8000 10000 12000 14000 16000 18000

20000 DryadLINQ

MPI

Calculate Pairwise Distances (Smith Waterman Gotoh)

125 million distances 4 hours & 46 minutes

• Calculate pairwise distances for a collection of genes (used for clustering, MDS)

• Fine grained tasks in MPI

• Coarse grained tasks in DryadLINQ

• Performed on 768 cores (Tempest Cluster)

(10)

Hadoop/Dryad Comparison

Inhomogeneous Data I

Standard Deviation

0 50 100 150 200 250 300

Ti

me

(s)

1500 1550 1600 1650 1700 1750 1800 1850 1900

Randomly Distributed Inhomogeneous Data Mean: 400, Dataset Size: 10000

DryadLinq SWG Hadoop SWG Hadoop SWG on VM

Inhomogeneity of data does not have a significant effect when the sequence lengths are randomly distributed

(11)

Hadoop/Dryad Comparison

Inhomogeneous Data II

Standard Deviation

0 50 100 150 200 250 300

To

ta

lTi

me

(s)

0 1,000 2,000 3,000 4,000 5,000 6,000

Skewed Distributed Inhomogeneous data Mean: 400, Dataset Size: 10000

DryadLinq SWG Hadoop SWG Hadoop SWG on VM

This shows the natural load balancing of Hadoop MR dynamic task assignment using a global pipe line in contrast to the DryadLinq static assignment

(12)

Cap3 Efficiency

•Ease of Use – Dryad/Hadoop are easier than EC2/Azure as higher level models

•Lines of code including file copy

Azure : ~300 Hadoop: ~400 Dyrad: ~450 EC2 : ~700

Usability and Performance of Different Cloud Approaches

•Efficiency = absolute sequential run time / (number of cores * parallel run time)

•Hadoop, DryadLINQ - 32 nodes (256 cores IDataPlex)

•EC2 - 16 High CPU extra large instances (128 cores)

•Azure- 128 small instances (128 cores)

(13)

Instance

Type Memory

EC2 compute

units

Actual CPU

cores Cost perhour

Cost per Core per

hour

Large (L) 7.5 GB 4 2 X (~2Ghz) 0.34$ 0.17$

Extra Large

(XL) 15 GB 8 4 X (~2Ghz) 0.68$ 0.17$ High CPU

Extra Large

(HCXL) 7 GB 20

8 X

(~2.5Ghz) 0.68$ 0.09$ High

Memory 4XL (HM4XL)

68.4

GB 26 (~3.25Ghz)8X 2.40$ 0.3$

Tempest@IU 48GB n/a 24 1.62$ 0.07$

(14)

Twister(MapReduce++)

• Streaming based communication

• Intermediate results are directly transferred from the map tasks to the reduce tasks –eliminates local files

• Cacheablemap/reduce tasks

• Static data remains in memory

• Combinephase to combine reductions

• User Program is the composerof MapReduce computations

Extendsthe MapReduce model to

iterativecomputations Data Split

D MR

Driver ProgramUser

Pub/Sub Broker Network

D File System M R M R M R M R Worker Nodes M R D Map Worker Reduce Worker MRDeamon Data Read/Write Communication

Reduce (Key, List<Value>)

Iterate

Map(Key, Value)

Combine (Key, List<Value>) User Program Close() Configure() Static data δ flow

(15)

Iterative Computations

K-means MultiplicationMatrix

References

Related documents

The articles included in this symposium edition of the Akron Law Review provide an excellent sampling of the promising work underway in this nascent field. They each explore

If our initial social security system reflects the optimal progressivity as suggested by Fehr and Habermann (2005), the elimination would yield an overall efficiency loss of 2.8 percent

(22, 23), have demonstrated that as ambient temperature increases for both materials based EO modulator device, the signal bandwidth decreases at constant modulator length..

Primary Procedure Code: A code representing an initial procedural service which may be billed alone or in addition to subsequent services if performed on the same day...

In Figure 9 the Pareto preference is split by Theorem 2c), Split Pareto and Push Over Join and pushed over the join using a grouped preference and a semi-join on the attribute

L’indicazione del soggetto che ha prestato l’assistenza fiscale con i relativi dati identificativi e l’indicazione della data di consegna del mod. Si rimanda alle

– Classic application issues (injection attacks, session management) are still relevant in the WS world!. – Plenty of new protocols and attack surfaces

This is an overview as of the legal requirements for Food Hygiene &amp; Safety as of May 2014 but all beekeepers should keep up to date with changes in