claude tadonki and pierre louis caruana mines paristech
play

Claude TADONKI and Pierre-Louis CARUANA Mines ParisTech - PowerPoint PPT Presentation

Claude TADONKI and Pierre-Louis CARUANA Mines ParisTech CRI (Fontainebleau/France) University of Paris-Sud (Orsay/France) Parallel and Distributed Compu3ng


  1. Claude ¡TADONKI ¡ and ¡ Pierre-­‑Louis ¡CARUANA ¡ Mines ¡ParisTech ¡– ¡CRI ¡(Fontainebleau/France) ¡ University ¡of ¡Paris-­‑Sud ¡(Orsay/France) ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡ February ¡17 ¡– ¡19, ¡2014 ¡ Innsbruck ¡( ¡AUSTRIA) ¡ ¡

  2. Motivations MATLAB ¡is ¡widely ¡used ¡for ¡several ¡kinds ¡of ¡applica3on ¡ ( scien7fic ¡compu7ng , ¡ image ¡processing , ¡ …) ¡ MATLAB ¡provides ¡a ¡programming ¡language ¡suitable ¡for ¡ordinary ¡scien3st ¡ ( ¡not ¡programmers! ¡) ¡ MATLAB ¡is ¡commonly ¡used ¡for ¡heavy ¡computa3ons ¡ ( simula7ons, ¡image&signal ¡processing ) ¡ Mul3core ¡architecture ¡is ¡now ¡a ¡standard, ¡with ¡an ¡increasing ¡number ¡of ¡cores. ¡ MATLAB ¡offers ¡a ¡built-­‑in ¡solu3on ¡for ¡parallel ¡compu3ng ¡through ¡addi3onal ¡packages. ¡ Providing ¡a ¡flexible ¡way ¡to ¡consider ¡parallelism ¡in ¡MATLAB ¡ is ¡really ¡useful ¡to ¡easilly ¡take ¡advantage ¡of ¡this ¡possibility. ¡ Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

  3. MATLAB Solutions for Parallel Computing (Tasks Feature) Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

  4. MATLAB Solutions for Parallel Computing (Parfor) The ¡ parfor ¡construct ¡is ¡used, ¡in ¡place ¡of ¡a ¡standard ¡for ¡statement, ¡to ¡specify ¡that ¡the ¡ ¡ Corresponding ¡loop ¡should ¡be ¡executed ¡in ¡parallel. ¡ Mapping ¡a ¡flow ¡of ¡instruc7ons ¡to ¡a ¡ parfor ¡ ¡ Variable ¡kinds ¡within ¡a ¡ parfor ¡loop ¡ Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

  5. Our solution (MATLAN engine & Pthread) We ¡run ¡a ¡C ¡mex-­‑file ¡which ¡creates ¡and ¡launch ¡the ¡threads ¡ and ¡manages ¡all ¡data ¡transfers. ¡ ¡ Each ¡thread ¡call ¡a ¡MATLAB ¡engine ¡which ¡excutes ¡the ¡ associated ¡MATLAB ¡instruc3on ¡. ¡ ¡ On ¡WINDOWS, ¡the ¡/Automa3on ¡mode ¡allow ¡to ¡avoid ¡ opening ¡a ¡new ¡MATLAB ¡each ¡3me ¡we ¡call ¡the ¡engine. ¡ ¡ Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

  6. Illustrations and Peformances The ¡3me ¡overheads ¡provided ¡do ¡not ¡depend ¡on ¡how ¡heavy ¡is ¡the ¡associated ¡task. ¡ ¡ Pthreads ¡based ¡solu3on ¡has ¡the ¡lowest ¡overhead ¡and ¡is ¡more ¡stable. ¡ ¡ The ¡cost ¡for ¡data ¡import&export ¡suggests ¡that ¡we ¡be^er ¡use ¡them ¡intensively ¡ ¡ Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

  7. Illustrations and Peformances Matrix-­‑Product ¡ SorBng ¡ Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

  8. Introduction CPU-­‑cores ¡load ¡with ¡ Parfor ¡ ¡ CPU-­‑cores ¡load ¡with ¡ Pthread ¡ ¡ CPU-­‑cores ¡load ¡with ¡ Tasks ¡ ¡ Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

  9. END THANKS ¡FOR ¡YOUR ¡ATTENTION! ¡ QUESTIONS ¡? ¡ Seamless ¡Parallelism ¡in ¡MATLAB ¡ by ¡ ¡ Claude ¡TADONKI ¡ & ¡ Pierre-­‑Louis ¡CARUANA ¡ Parallel ¡and ¡Distributed ¡Compu3ng ¡and ¡Networks ¡( PDCN ¡2014) ¡– ¡Feb ¡17-­‑19, ¡ Innsbruck ¡(AUSTRIA) ¡ ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend