|
![]() |
|||
|
||||
OverviewYour CPU meter shows a problem. One core is running at 100 percent, but all the other cores are idle. Your application is CPU-bound, but you are using only a fraction of the computing power of your multicore system. Is there a way to get better performance? The answer, in a nutshell, is parallel programming. Where you once would have written the kind of sequential code that is familiar to all programmers, you now find that this no longer meets your performance goals. To use your system's CPU resources efficiently, you need to split your application into pieces that can run at the same time. Of course, this is easier said than done. Parallel programming has a reputation for being the domain of experts and a minefield of subtle, hard-to-reproduce software defects. Everyone seems to have a favorite story about a parallel program that did not behave as expected because of a mysterious bug. These stories should inspire a healthy respect for the difficulty of the problems you will face in writing your own parallel programs. Fortunately, help has arrived. The Parallel Patterns Library (PPL) and the Asynchronous Agents Library introduce a new programming model for parallelism that significantly simplifies the job. Behind the scenes are sophisticated algorithms that dynamically distribute computations on multicore architectures. In addition, Microsoft(R) Visual Studio(R) 2010 development system includes debugging and analysis tools to support the new parallel programming model. Proven design patterns are another source of help. This guide introduces you to the most important and frequently used patterns of parallel programming and provides executable code samples for them, using PPL. When thinking about where to begin, a good place to start is to review the patterns in this book. See if your problem has any attributes that match the six patterns presented in the following chapters. If it does, delve more deeply into the relevant pattern or patterns and study the sample code. Full Product DetailsAuthor: Colin Campbell , Ralph Johnson , Ade MillerPublisher: Microsoft Press,U.S. Imprint: Microsoft Press,U.S. Dimensions: Width: 18.70cm , Height: 1.50cm , Length: 22.90cm Weight: 0.290kg ISBN: 9780735651753ISBN 10: 0735651752 Pages: 208 Publication Date: 22 April 2011 Audience: Professional and scholarly , Professional & Vocational Format: Paperback Publisher's Status: Active Availability: Out of stock ![]() The supplier is temporarily out of stock of this item. It will be ordered for you on backorder and shipped when it becomes available. Table of ContentsReviewsAuthor InformationColin Campbell is a coauthor of Model-Based Software Testing and Analysis in C# and he has written several academic papers on mathematically rigorous approaches to software analysis. He is a founder and principal at Modeled Computation LLC, in Seattle. Author 2 Last Name: Miller Author 2 First Name: Ade Author 2 Bio: Ade Miller is currently a Principle Development Lead for Microsoft's patterns & practices group (p&p) where he manages p&p's agile development teams. His primary interests are parallel computing and in improving the way people develop software. He is one of the authors of Parallel Programming with Microsoft .NET: Design Patterns for Decomposition and Coordination on Multicore Architectures and is currently writing a similar book for Visual C++ developers. Ade also writes and speaks about his experiences with agile software development at Microsoft. Prior to leading the p&p development team Ade lead the development of the p&p Web Services Software Factory: Modeling Edition. He was a developer and then a Development Lead on Visual Studio Tools for Office 2005 and 2008. Before joining Microsoft Ade worked on a variety of interesting projects including a web start-up, embedded languages, and High Performance Computing (HPC). Ade received his BSc and PhD in Physics from the University of Southampton, UK. Tab Content 6Author Website:Countries AvailableAll regions |