Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1281700.1281702acmconferencesArticle/Chapter ViewAbstractPublication PagesexpcsConference Proceedingsconference-collections
Article

Quantifying the cost of context switch

Published: 13 June 2007 Publication History

Abstract

Measuring the indirect cost of context switch is a challenging problem. In this paper, we show our results of experimentally quantifying the indirect cost of context switch using a synthetic workload. Specifically, we measure the impact of program data size and access stride on context switch cost. We also demonstrate the potential impact of OS background interrupt handling on the measurement accuracy. Such impact can be alleviated by using a multi-processor system on which one processor is employed for context switch measurement while the other runs OS background tasks.

References

[1]
Anant Agarwal, John L. Hennessy, and Mark Horowitz. Cache performance of operating system and multiprogramming workloads. ACM Trans. Comput. Syst., 6(4):393--431, 1988.
[2]
R. Fromm and N. Treuhaft. Revisiting the cache interference costs of context switching. http://citeseer.ist.psu.edu/252861.html.
[3]
R. Jain. The Art of Computer Systems Performance Analysis: Techniques for Experimental Design, Measurement, Simulation and Modeling. John Wiley & Sons, 2001.
[4]
L. McVoy and C. Staelin. Imbench: Portable Tools for Performance Analysis. In In Proc. of the USENIX Annual Technical Conference, pages 279--294, San Diego, CA, January 1996.
[5]
J. C. Mogul and A. Borg. The Effect of Context Switches on Cache Performance. In In Proc. of the Fourth International Conference on Architectural Support for Programming Languages and Operating Systems, pages 75--84, Santa Clara, CA, April 1991.
[6]
J. K. Ousterhout. Why Aren't Operating Systems Getting Faster As Fast As Hardware? In In Proc. of the USENIX Summer Conference, pages 247--256, Anaheim, CA, June 1990.
[7]
G. Edward Suh, Srinivas Devadas, and Larry Rudolph. Analytical cache models with applications to cache partitioning. In Proceedings of the International Conference on Supercomputing, pages 1--12, 2001.

Cited By

View all
  • (2024)Efficient Microsecond-scale Blind Scheduling with Tiny QuantaProceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 210.1145/3620665.3640381(305-319)Online publication date: 27-Apr-2024
  • (2024)Parallelizing Quantum Simulation With Decision DiagramsIEEE Transactions on Quantum Engineering10.1109/TQE.2024.33645465(1-12)Online publication date: 2024
  • (2024)SPRIGHT: High-Performance eBPF-Based Event-Driven, Shared-Memory Processing for Serverless ComputingIEEE/ACM Transactions on Networking10.1109/TNET.2024.336656132:3(2539-2554)Online publication date: Jun-2024
  • Show More Cited By

Index Terms

  1. Quantifying the cost of context switch

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      ExpCS '07: Proceedings of the 2007 workshop on Experimental computer science
      June 2007
      218 pages
      ISBN:9781595937513
      DOI:10.1145/1281700
      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]

      Sponsors

      In-Cooperation

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 13 June 2007

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. cache interference
      2. context switch

      Qualifiers

      • Article

      Conference

      ExpCS07
      ExpCS07: Workshop on Experimental Computer Science
      June 13 - 14, 2007
      California, San Diego

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)145
      • Downloads (Last 6 weeks)19
      Reflects downloads up to 18 Nov 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2024)Efficient Microsecond-scale Blind Scheduling with Tiny QuantaProceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 210.1145/3620665.3640381(305-319)Online publication date: 27-Apr-2024
      • (2024)Parallelizing Quantum Simulation With Decision DiagramsIEEE Transactions on Quantum Engineering10.1109/TQE.2024.33645465(1-12)Online publication date: 2024
      • (2024)SPRIGHT: High-Performance eBPF-Based Event-Driven, Shared-Memory Processing for Serverless ComputingIEEE/ACM Transactions on Networking10.1109/TNET.2024.336656132:3(2539-2554)Online publication date: Jun-2024
      • (2024)Workflow Optimization for Parallel Split LearningIEEE INFOCOM 2024 - IEEE Conference on Computer Communications10.1109/INFOCOM52122.2024.10621348(1331-1340)Online publication date: 20-May-2024
      • (2023)Quarantine: Mitigating Transient Execution Attacks with Physical Domain IsolationProceedings of the 26th International Symposium on Research in Attacks, Intrusions and Defenses10.1145/3607199.3607248(207-221)Online publication date: 16-Oct-2023
      • (2023)Out of Hand for Hardware? Within Reach for Software!Proceedings of the 19th Workshop on Hot Topics in Operating Systems10.1145/3593856.3595898(30-37)Online publication date: 22-Jun-2023
      • (2023)A survey on accelerating technologies for fast network packet processing in Linux environmentsComputer Communications10.1016/j.comcom.2022.10.003196:C(148-166)Online publication date: 20-Jan-2023
      • (2023)Limited Preemptive SchedulingHard Real-Time Computing Systems10.1007/978-3-031-45410-3_8(229-261)Online publication date: 25-Sep-2023
      • (2022)Micro-Benchmarking MPI Partitioned Point-to-Point CommunicationProceedings of the 51st International Conference on Parallel Processing10.1145/3545008.3545088(1-12)Online publication date: 29-Aug-2022
      • (2022)SPRIGHTProceedings of the ACM SIGCOMM 2022 Conference10.1145/3544216.3544259(780-794)Online publication date: 22-Aug-2022
      • Show More Cited By

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media