|
|
libcats.org
Нет обложки Designing Practical Efficient Algorithms for Symmetric MultiprocessorsDavid R HelmanSymmetric multiprocessors (SMPs) dominate the high-end server market and are currently the primary candidate for constructing large scale multiprocessor systems. Yet, the design of efficient parallel algorithms for this platform currently poses several challenges. In this paper, we present a computational model for designing efficient algorithms for symmetric multiprocessors. We then use this model to create efficient solutions to two widely different types of problems - linked list prefix computations and generalized sorting. Our novel algorithm for prefix computations builds upon the sparse ruling set approach of Reid-Miller and Blelloch. Besides being somewhat simpler and requiring nearly half the number of memory accesses, we can bound our complexity with high probability instead of merely on average. Our algorithm for generalized sorting is a modification of our algorithm for sorting by regular sampling on distributed memory architectures. The algorithm is a stable sort which appears to be asymptotically faster than any of the published algorithms for SMPs. Both of our algorithms were implemented in C using POSIX threads and run on four symmetric multiprocessors - the IBM SP-2 (High Node), the HP-Convex Exemplar (S-Class), the DEC AlphaServer, and the Silicon Graphics Power Challenge. We ran our code for each algorithm using a variety of benchmarks which we identified to examine the dependence of our algorithm on memory access patterns. In spite of the fact that the processors must compete for access to main memory, both algorithms still yielded scalable performance up to 16 processors, which was the largest platform available to us. For some problems, our prefix computation algorithm actually matched or exceeded the performance of the standard sequential solution using only a single thread. Similarly, our generalized sorting algorithm always beat the performance of sequential merge sort by at least an order of magnitude, even with a single thread.
Скачать книгу бесплатно (ps.gz, 152 Kb)
Популярные книги за неделю:
Система упражнений по развитию способностей человека (Практическое пособие)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 818 Kb
Сотворение мира (3-х томник)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 817 Kb
Только что пользователи скачали эти книги:
Особенности почвы как среды обитания и ее значение в эволюции насекомыхАвтор: Гиляров М.С.Категория: Экология
Размер книги: 13.65 Mb
Metal-Catalyzed Reductive C-C Bond Formation - A Departure from Preformed Organometallic ReagentsАвтор: Gerhard Beutler, Автор: Leos Mervart, Автор: Andreas Verdun
Размер книги: 8.64 Mb
Электрические станции, подстанции, сети и питающие системы. Методические указания по выполнению курсового проектаАвтор: Иванов В.М., Автор: Баранов А.В., Автор: Печагин Е.А.Категория: Электротехника
Размер книги: 309 Kb
The Nature of Matter (Physics in Action)Автор: Daniel T. LarsonКатегория: Математика, Математическая физика
Размер книги: 10.31 Mb
Einstieg in die Physikalische Chemie für Nebenfächler, 3. AuflageАвтор: Wolfgang Bechmann, Автор: Joachim SchmidtКатегория: Химия
Размер книги: 14.91 Mb
Intelligent Information and Database Systems: Second International Conference, ACIIDS 2010, Hue City, Vietnam, March 24-26, 2010, Proceedings, Part II ... Lecture Notes in Artificial Intelligence)Автор: Ngoc-Thanh Nguyen, Автор: Manh Thanh Le, Автор: Jerzy SwiatekКатегория: Математика, Алгоритмы и структуры данных
Размер книги: 11.93 Mb
In Christ Alone: Living the Gospel Centered Life (Epub, Mobi & PDF)Автор: Sinclair FergusonКатегория: Christian
Размер книги: 4.77 Mb
|
|
|