Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Chapter 5. Scalar Optimization and Usability

Chapter 5. Scalar Optimization and Usability

Key Points

  • Before beginning a parallel optimization project, make sure a good effort at scalar performance optimization has already been invested.

  • A compiler that targets your processor and features advanced optimizations such as automatic vectorization, interprocedural optimization, and profile-guided optimization can substantially improve performance of your application.

  • Applying usability features of your compiler such as those aiding compatibility, compile time, and code size, can substantially improve development efficiency.

As discussed in Chapter 4, a variety of tools are available to help with multi-core software development. After reading that chapter you may be led to believe the next step is to start using the tools and begin developing parallel applications, but this is not the case. Before taking advantage of parallelism via multi-threading or partitioning, it is important to consider scalar optimization techniques. To say it more strongly, a prerequisite for parallel optimization is highly tuned scalar performance. Why is this claim true?


You are currently reading a PREVIEW of this book.


Get instant access to over $1 million worth of books and videos.


Start a Free Trial

  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint