Book Description
Write High-Performance, Highly Scalable Multicore Applications for Leading Platforms
Multicore Application Programming is a comprehensive, practical guide to high-performance multicore programming that any experienced developer can use.
Author Darryl Gove covers the leading approaches to parallelization on Windows, Linux, and Oracle Solaris. Through practical examples, he illuminates the challenges involved in writing applications that fully utilize multicore processors, helping you produce applications that are functionally correct, offer superior performance, and scale well to eight cores, sixteen cores, and beyond.
The book reveals how specific hardware implementations impact application performance and shows how to avoid common pitfalls. Step by step, you’ll write applications that can handle large numbers of parallel threads, and you’ll master advanced parallelization techniques. You’ll learn how to
- Identify your best opportunities to use parallelism
- Share data safely between multiple threads
- Write applications using POSIX or Windows threads
- Hand-code synchronization and sharing
- Take advantage of automatic parallelization and OpenMP
- Overcome common obstacles to scaling
- Apply new approaches to writing correct, fast, scalable parallel code
Multicore Application Programming isn’t wedded to a single approach or platform: It is for every experienced C programmer working with any contemporary multicore processor in any leading operating system environment.
Table of Contents
Chapter 1 Hardware, Processes, and Threads
Chapter 2 Coding for Performance
Chapter 3 Identifying Opportunities for Parallelism
Chapter 4 Synchronization and Data Sharing
Chapter 5 Using POSIX Threads
Chapter 6 Windows Threading
Chapter 7 Using Automatic Parallelization and OpenMP
Chapter 8 Hand-Coded Synchronization and Sharing
Chapter 9 Scaling with Multicore Processors
Chapter 10 Other Parallelization Technologies
Chapter 11 Concluding Remarks
中文:
书名:多核应用程序编程:适用于Windows、Linux和Oracle Solaris
为领先平台编写高性能、高度可扩展的多核应用程序
多核应用程序编程这是一本全面、实用的高性能多核编程指南,任何有经验的开发人员都可以使用。
作者Darryl Gove介绍了在Windows、Linux和Oracle Solaris上实现并行化的主要方法。通过实际示例,他说明了编写充分利用多核处理器的应用程序所涉及的挑战,帮助您生成功能正确、提供卓越性能并可扩展到八核、十六核和更高核的应用程序。
这本书揭示了特定的硬件实现如何影响应用程序性能,并展示了如何避免常见的陷阱。您将一步一步地编写能够处理大量并行线程的应用程序,并掌握高级并行化技术。你会学到如何
- 找出使用并行性的最佳机会
- 在多个线程之间安全地共享数据
- 使用POSIX或Windows线程编写应用程序
- 手写代码同步和共享
- 利用自动并行化和OpenMP
- 克服扩展的常见障碍
- 应用新方法编写正确、快速、可伸缩的并行代码
多核应用程序编程 不局限于单一的方法或平台:它适用于在任何领先的操作系统环境中使用任何当代多核处理器的每一位经验丰富的C程序员。
目录表
第1章硬件、进程和线程
第2章性能编码
第3章确定并行的机会
第四章同步与数据共享
第5章使用POSIX线程
第6章Windows线程
第7章使用自动并行化和OpenMP
第8章手工编码的同步和共享
第9章使用多核处理器进行扩展
第十章其他并行化技术
第十一章结束语
评论前必须登录!
注册