1 / 15

Algorithms in a Multiprocessor Environment

Algorithms in a Multiprocessor Environment. Kevin Frandsen ENCM 515. Outline. Introduction Algorithms Communication Models Common DSP Uses Conclusion. Introduction. What are Multiprocessor Cores? Two CPUs – Same Silicon Equal Capability Shared Memory Tighter Access.

nero
Download Presentation

Algorithms in a Multiprocessor Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Algorithms in aMultiprocessor Environment Kevin Frandsen ENCM 515

  2. Outline • Introduction • Algorithms • Communication Models • Common DSP Uses • Conclusion

  3. Introduction • What are Multiprocessor Cores? • Two CPUs – Same Silicon • Equal Capability • Shared Memory • Tighter Access

  4. Introduction cont. • Other Multiprocessing Options • SMP • Usually Two on same board, not silicon • Shared Memory • Limited access to each other • Clustering • Independent processors • Communication Medium • NUMA

  5. Algorithms • Finite Impulse Response (FIR) Filter • Common DSP Algorithm • Specialized hardware exists

  6. Algorithms cont. • More on FIR • Divide and Conquer • O(n)/p time • Shared memory/registers a plus • Reduced communication overhead

  7. Algorithms cont. • Matrix Operations • Common algorithms on large sets [ A11 A12 … A1n [ B11 B12 … B1n [ C11 C12 … C1n A21 A22 … A2n B21 B22 … B2n C21 C22 … C2n … … X … … = … … Am1 Am2 … Amn ] Bm1 Bm2 … Bmn ] Cm1 Cm2 … Cmn ]

  8. Algorithms cont. • Matrix Multiplication • Large data transfers necessary in non-shared environments • If not bandwidth limited, scales well with processors • Matrix Inversion • Larger data loads

  9. Communication Models • Shared Memory • Fast • Few concurrency problems • Still some, race conditions, etc. • Need to be on same board • Custom designed • Need secondary synchronization – Mutexes, Semaphores

  10. Communication Models cont. • Message Passing (PVM, MPI, etc) • Flexible implementations • Self-synchronizing • Communication overhead (large)

  11. Common DSP Uses • Shared Core and SMP • Best for real-time response • Easiest for integrated systems • ADSP - 21062 • Clustering • Batch processing • Images, 3D rendering • SCI at University of Utah

  12. Scientific Computing Institute • 3D Visualization of Brain Tumor

  13. Conclusion • How multiprocessing affects tasks • Ways of implementing a multiprocessing system • Uses in the “real world”

  14. Questions?

  15. References • University of Utah. (2004, February 28). Applications: Tumor Visualization – Scientific Computing and Imaging Institute. Retrieved April 10, 2004, from http://www.sci.utah.edu/about/rwa-tumor-vis.html • Dr. Smith’s Mar 8 Presentation on Highly Parallel FIRs • Dr. Leon’s Parallel Computing Course

More Related