White Paper: Software Optimization Techniques for Multi-Core Processors

Explore various techniques for reducing lock contention, optimizing CPU cache usage, minimizing I/O bottlenecks, achieving greater concurrency and parallelism, and more.

June 6th, 2008
White Paper: Software Optimization Techniques for Multi-Core Processors

Full Text: Download PDF

Version: 1
Date File Uploaded: 2009-10-05
2Migrating code to multi-core processors has become a major design decision for embedded developers. To help simplify migration efforts, operating system vendors have introduced solutions for asymmetric multiprocessing (AMP), symmetric multiprocessing (SMP), and bound multiprocessing (BMP). However, once the basic multiprocessing model is chosen, the real work begins. It isn’t enough to get software to run on a multi-core processor — the key to success is optimizing the software to make full use of all the processor’s cores.

This paper examines various techniques for optimizing code on multi-core processors. It addresses threading models for multiple concurrent tasks and parallel processing for increased performance. It discusses how to minimize lock contention with mutexes and semaphores by engineering the appropriate levels of lock granularity. Finally, the paper explores methodologies for resolving performance problems that result from inefficient use of CPU cache.

White Paper: Software Optimization Techniques for Multi-Core Processors

Full Text: Download PDF

Version: 1
Date File Uploaded: 2009-10-05
Silicon, software, and strategies for embedded devices
Embedded Computing Design magazine is the resource for engineers, architects, and decision makers involved with embedded devices. Topics explored span silicon, software, and strategies for designing and connecting with small devices in mobile, automotive, home, industrial, and medical applications. Departments include Deep Green discussing the latest in energy efficient, low power designs and applications. Content is available in print, E-letter, E-cast, white papers, video, RSS, social networks, and more. Subscriptions are free of charge.
©MMXIIEmbedded Computing Design.
An OpenSystems Media publication.