Skip to main navigation Skip to search Skip to main content

Pthreads performance characteristics on shared cache CMP, private cache CMP and SMP

  • Ian K.T. Tan
  • , Ian Chai
  • , Poo Kuan Hoong

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

With the wide availability of chip multi-processing (CMP), software developers are now facing the task of effectively parallelizing their software code. Once they have identified the areas of parallelization, they will need to know the level of code granularity needed to ensure profitable execution. Furthermore, this problem multiplies itself with different hardware available. In this paper, we present a novel approach for fair comparison of the hardware configuration by simulation through configuring a pair of quad-core processors. The simulated configuration represents shared cache CMP, private cache CMP and symmetrical multiprocessor (SMP) environment. We then present a modified lmbench micro-benchmark suite to measure the cost of threading on these different hardware configurations. In our empirical studies, we observe that shared cache CMP exhibits better performance when the operating systems load balancer is highly active. However, the measurements also indicate that thread size is an important consideration where potential cache trashing can occur when sharing a cache between processing cores. Private cache CMP and SMP do not exhibit significant difference in our measurements. The techniques presented can be incorporated into integrated development environment, compilers and potentially even other run-time environments.

Original languageEnglish
Title of host publication2010 2nd International Conference on Computer Engineering and Applications, ICCEA 2010
Pages186-191
Number of pages6
DOIs
Publication statusPublished - 2010
Externally publishedYes
EventInternational Conference on Computer Engineering and Applications 2010 - Bali Island, Indonesia
Duration: 19 Mar 201021 Mar 2010
Conference number: 2nd
https://ieeexplore.ieee.org/xpl/conhome/5445539/proceeding (Proceedings)

Conference

ConferenceInternational Conference on Computer Engineering and Applications 2010
Abbreviated titleICCEA 2010
Country/TerritoryIndonesia
CityBali Island
Period19/03/1021/03/10
Internet address

Keywords

  • Cache
  • CMP
  • Component
  • Lmbench
  • Pthreads

Cite this