skip to main content
article
Free Access

Benefits of cache-affinity scheduling in shared-memory multiprocessors: a summary

Published:01 June 1993Publication History
Skip Abstract Section

Abstract

An interesting and common class of workloads for shared-memory multiprocessors is multiprogrammed workloads. Because these workloads generally contain more processes than there are processors in the machine, there are two factors that increase the number of cache misses. First, several processes are forced to time-share the same cache, resulting in one process displacing the cache state previously built up by a second one. Consequently, when the second process runs again, it generates a stream of misses as it rebuilds ita cache state. Second since an idle processor simply selects the highest priority runnable process, a given process often moves from one CPU to another. This frequent migration results in the process having to continuously reload its state into new caches, producing streams of cache misses. To reduce the number of misses in these workloads, processes should reuse their cached state more. One way to encourage this is to schedule each process based on its affinity to individual caches, that is, based on the amount of state that the process has accumulated in an individual cache. This technique is called cache affinity scheduling.

References

  1. 1 M, Devarakonda and A. Mukherjee. Issues in Implementation of Cache-Affinity Scheduling. In USENIX, 1992.Google ScholarGoogle Scholar
  2. 2 A. Gupta, A. Tucker, and S. Urushibara. The Impact of Operating System Scheduling Policies and Synchronization Methods on the Performance of Parallel Applications. SIGMETRICS 91. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 M. Squillante and E. Lazowska. Using Processor-Cache Affinity in Shared-Memory Multiprocessor Scheduling. Tech. Rep. 89- 060-01, Dept. of Comp. Sci., Univ. of Washington, June 1989.Google ScholarGoogle Scholar
  4. 4 J. Torrellas, A. Tucker, and A. Gupta. Evaluating the Benefits of Cache-Affinity Scheduling in Shared-Memory Multiprocessors. Tech. Rep. CSL-TR-92-536, Stanford Univ., August 1992.Google ScholarGoogle Scholar
  5. 5 R. Vaswani and J. Zahorjan. The Implications of Cache Affinity on Processor Scheduling for Multiprogrammed, Shared Memory Multiprocessors. In SOSP, October 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Benefits of cache-affinity scheduling in shared-memory multiprocessors: a summary

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM SIGMETRICS Performance Evaluation Review
      ACM SIGMETRICS Performance Evaluation Review  Volume 21, Issue 1
      June 1993
      280 pages
      ISSN:0163-5999
      DOI:10.1145/166962
      Issue’s Table of Contents
      • cover image ACM Conferences
        SIGMETRICS '93: Proceedings of the 1993 ACM SIGMETRICS conference on Measurement and modeling of computer systems
        June 1993
        286 pages
        ISBN:0897915801
        DOI:10.1145/166955

      Copyright © 1993 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 June 1993

      Check for updates

      Qualifiers

      • article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader