The first episode of the third season (principles of parallel algorithm design)
Lesson: parallel processing
Professor: Dr. Zamanifar
Presenter: Keivan Mahdavi
University of Isfahan
4. الگوریتم یک تعیینموازی
◇Identifying portions of the work that can be performed concurrently.
مرحلهشود اجرا موازی طور به تواند می آیا که کار یک شناسایی.
◇Mapping the concurrent pieces of work onto multiple processes running in parallel.
نگاشتشوند می اجرا موازی طور به که پروسه چندین به کار یک موازی های قسمت.
◇Distributing the input, output, and intermediate data associated with the program.
برنامه با ارتباطشان و میانی ،خروجی ،ورودی های داده توزیع.
◇Managing accesses to data shared by multiple processors.
مدیریتداده به دسترسی،هاش می استفاده اشتراکی طور به پردازنده چندین توسط کهوند.
◇Synchronizing the processors at various stages of the parallel program execution.
هماهنگموازی برنامه اجرای مختلف مراحل در ها پردازنده سازی.
5. هایالگوریتم طراحی در کلیدی گام دوموازی
◇Dividing a computation into smaller computations
◇تقسیمکوچکتر محاسبات به محاسبه یک
◇Assigning them to different processors for parallel execution
◇مختلف هایپردازنده به کوچک محاسبات تخصیص
6. “
◇تجزیه(Decomposition)
The process of dividing a computation into smaller parts, some
or all of which may potentially be executed in parallel
پروسهتقسیممحاسباتبهبخشهایکوچکتر،بطوریکههمهآنهایاتعدادیاز
آنهابهطورکارآمدبصورتموازیاجراشوند.
◇وظیفه(Task)
programmer-defined units of computation into which the main
computation is subdivided by means of decomposition
واحدهایمحاسباتیکهتوسطتجزیهبدستآمده،اندبطوریکههرکدامازاین
بخشهامحاسبهایراانجاممیدهندوتوسطبرنامهنویستعریفمیشوند.
8. “
◇ Task Dependency Graphs
An abstraction used to express such dependencies among
tasks and their relative order of execution
گرافیکهوابستگیبینtaskهاوترتیباجراینسبیآنهارانشاندهدمی.
درختدارجهتووزندار
نودهانشاندهندهوظایف
هایالینمایندهوابستگیبینtaskها
Taskهایمتناظریکnode،زمانیمیتواننداجراشوندکههمه
Taskهاییکهخروجیآنهاورودیnodeجاریاستبهاتمامبرسد.
وزنهاگرهنشاندهندهحجمکار
وزنهایالنشاندهندهحجمهایدادهتبادلیبینtaskها
12. “
◇دانهبندی(Granularity)
The number and size of tasks into which a problem is
decomposed determines the granularity of the decomposition
تعدادوسایزTaskتجزیه از حاصل ی ها
◇دانه درشت(Coarse-grained)
A decomposition into a small
number of large tasks
کمی تعداد به مسئله تجزیهtaskبزرگ.
◇ریزدانه(Fine-grained)
A decomposition into a large
number of small tasks
تجزیهزیادی تعداد به مسئلهtaskکوچک.
13. “
◇مسیربحرانی(critical path)
The longest directed path between any pair of start and finish
nodes
طوالنیگوییم را پایان نود و شروع نود بین دار جهت مسیر ترین.
○آغاز نود:بدون نودهاییالرا ورودیگوییم.
○نودپایان:نودهایبدونیالگوییم را خروجی.
◇طولمسیربحرانی(critical path length)
The sum of the weights of nodes along this path
می شناخته بحرانی مسیر طول عنوان به مسیر این در نودها وزن مجموعشود
18. گرافتعاملوظیفه(Task Interaction Graph)
◇The pattern of interaction among tasks is captured by what is
known as a task-interaction graph.
◇ارتباطبینtaskهستند بایکدیگر تعامل در که هاییرادهد می نشان.
■کارها ارتباط:ورودی یکی خروجیدیگری
■گره:کار
■یال:کارهای اتصالمرتبط
■گره وزن:حجمکار
■یال وزن:ارتباط میزان
37. Partitioning both Input and
Output Data
◇چنانچهامکانتقسیمدادههایخروجیبهصورتمستقلوجودداشته،باشددادههایورودی
همتقسیممیشوندباهدفرسیدنبههمزمانیبیشتر.