• DocumentCode
    2048860
  • Title

    Pthreads Performance Characteristics on Shared Cache CMP, Private Cache CMP and SMP

  • Author

    Tan, Ian K T ; Chai, Ian ; Hoong, Poo Kuan

  • Author_Institution
    Fac. of Inf. Technol., Multimedia Univ., Cyberjaya, Malaysia
  • Volume
    1
  • fYear
    2010
  • fDate
    19-21 March 2010
  • Firstpage
    186
  • Lastpage
    191
  • 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.
  • Keywords
    cache storage; microprocessor chips; multi-threading; multiprocessing systems; Pthread performance characteristics; cache trashing; chip multiprocessing; code granularity; compilers; modified lmbench microbenchmark suite; operating system load balancer; private cache CMP; quadcore processors; shared cache CMP; software code; software developers; symmetrical multiprocessor environment; Application software; Concurrent computing; Costs; Electronic mail; Hardware; Information technology; Microprocessors; Programming profession; Software performance; Software tools; CMP; cache; lmbench; pthreads;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Engineering and Applications (ICCEA), 2010 Second International Conference on
  • Conference_Location
    Bali Island
  • Print_ISBN
    978-1-4244-6079-3
  • Electronic_ISBN
    978-1-4244-6080-9
  • Type

    conf

  • DOI
    10.1109/ICCEA.2010.44
  • Filename
    5445842