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

skip to main content
abstract

SLITS: Sparsity-Lightened Intelligent Thread Scheduling

Published: 27 June 2023 Publication History

Abstract

To make the most of hardware resources in multi-core architectures, effective thread scheduling is crucial. To achieve this, various scheduling objectives have been developed, such as reducing hardware resource contention [1, 11], allocating resources evenly for co-running threads [ 5, 6], and following priority-based policies [7]. Current thread scheduling designs can be categorized into two types. The first type involves fixed-rule scheduling1, which does not depend on workload characteristics and cannot meet the needs of different scheduling objectives. The second type takes the scheduling objectives into account by collecting run-time information on threads together with their correlations (e.g., Cache Miss Count [10, 13], Thread IPC [20], dynamic priority requirements like Earliest Deadline First [2, 8, 17]), and making scheduling decisions based on thread-to-thread interactions.
A unified approach to these two types of scheduler designs can be achieved by focusing on Thread-Interaction statistics. To this end, we introduce the Thread-Interaction Matrix (TIM), which stores statistics on thread-to-thread interaction. These statistics can be any type of run-time statistics concerning the thread-to-thread pairs (e.g., Cache Miss Count [10, 13], Thread IPC [20], dynamic priority requirements like Earliest Deadline First [2, 8, 17])2. For fixed-rule scheduling, the TIM contains static values as the statistics do not affect the scheduling decisions. Based on the TIM, scheduling policies can be customized by specifying the rules of thread rescheduling, such as reschedule conditions and strategy. Combining the Thread-Interaction Matrix and scheduling policy provides a formalization of existing thread scheduler designs. Therefore, it is essential to design a general scheduler that can be tailored to different scheduling objectives by co-designing the Thread-Interaction Matrix and the scheduling policy in a synergistic manner.

References

[1]
Ismail Akturk and Ozcan Ozturk. 2019. Adaptive Thread Scheduling in Chip Multiprocessors. International Journal of Parallel Programming (2019).
[2]
Zaid Al-bayati, Haibo Zeng, Marco Di Natale, and Zonghua Gu. 2013. Multitask Implementation of Synchronous Reactive Models with Earliest Deadline First Scheduling. In SIES.
[3]
Nimar S. Arora, Robert D. Blumofe, and C. Greg Plaxton. 1998. Thread Scheduling for Multiprogrammed Multiprocessors. In SPAA.
[4]
Grant Ayers, Jung Ho Ahn, Christos Kozyrakis, and Parthasarathy Ranganathan. 2018. Memory Hierarchy for Web Search. In HPCA.
[5]
S.K. Baruah, J.E. Gehrke, and C.G. Plaxton. 1995. Fast Scheduling of Periodic Tasks on Multiple Resources. In IPSS.
[6]
S. K. Baruah, N. K. Cohen, C. G. Plaxton, and D. A. Varvel. 1993. Proportionate Progress: A Notion of Fairness in Resource Allocation. In STOC.
[7]
Ricardo Cayssials, Javier Orozco, Jorge Santos, and Rodrigo Santos. 1999. Rate Monotonic Scheduling of Real-time Control Systems with the Minimum Number of Priority levels. Euromicro Conference RTS.
[8]
Hoon Sung Chwa, Jinkyu Lee, Jiyeon Lee, Kiew-My Phan, Arvind Easwaran, and Insik Shin. 2017. Global EDF Schedulability Analysis for Parallel Tasks on Multi-Core Platforms. IEEE TPDS (2017).
[9]
Xiaoning Ding, Kaibo Wang, Phillip B. Gibbons, and Xiaodong Zhang. 2012. BWS: Balanced Work Stealing for Time-Sharing Multicores. In EuroSys.
[10]
Alexandra Fedorova, Margo Seltzer, and Michael D. Smith. 2007. Improving Per-formance Isolation on Chip Multiprocessors via an Operating System Scheduler. In PACT.
[11]
Josué Feliu, Julio Sahuquillo, Salvador Petit, and José Duato. 2013. L1-bandwidth Aware Thread Allocation in Multicore SMT Processors. In PACT.
[12]
Wangkai Jin and Xiangjun Peng. 2023. SLITS: Sparsity-Lightened Intelligent Thread Scheduling. Proc. ACM Meas. Anal. Comput. Syst. 7, 1 (2023), 3:1--3:23.
[13]
Seongbeom Kim, Dhruba Chandra, and Yan Solihin. 2004. Fair Cache Sharing and Partitioning in a Chip Multiprocessor Architecture. In PACT.
[14]
Ruslan Kuchumov, Andrey Sokolov Sokolov, and Vladimir Korkhov. 2019. Staccato: Shared-Memory Work-Stealing Task Scheduler with Cache-aware Memory Management. IJWGS (2019).
[15]
Chun-Xun Lin, Tsung-Wei Huang, and Martin D. F. Wong. 2020. An Efficient Work-Stealing Scheduler for Task Dependency Graph. In ICPADS.
[16]
Gabriel H. Loh and Mark D. Hill. 2011. Efficiently Enabling Conventional Block Sizes for Very Large Die-Stacked DRAM Caches. In MICRO.
[17]
Channamallikarjuna Mattihalli. 2010. Designing and Implementing of Earliest Deadline First Scheduling Algorithm on Standard Linux. In CPSCom.
[18]
Yaqiong Peng, Song Wu, and Hai Jin. 2016. Robinhood: Towards Efficient Work-Stealing in Virtualized Environments. IEEE TPDS (2016).
[19]
Moinuddin K. Qureshi and Gabriel H. Loh. 2012. Fundamental Latency Trade-off in Architecting DRAM Caches: Outperforming Impractical SRAM-Tags with a Simple and Practical Design. In MICRO.
[20]
Di Xu, Chenggang Wu, Pen-Chung Yew, Jianjun Li, and Zhenjiang Wang. 2012. Providing Fairness on Shared-Memory Multiprocessors via Process Scheduling. SIGMETRICS Perform. Eval. Rev. (2012)

Index Terms

  1. SLITS: Sparsity-Lightened Intelligent Thread Scheduling

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM SIGMETRICS Performance Evaluation Review
    ACM SIGMETRICS Performance Evaluation Review  Volume 51, Issue 1
    SIGMETRICS '23
    June 2023
    108 pages
    ISSN:0163-5999
    DOI:10.1145/3606376
    Issue’s Table of Contents
    • cover image ACM Conferences
      SIGMETRICS '23: Abstract Proceedings of the 2023 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems
      June 2023
      123 pages
      ISBN:9798400700743
      DOI:10.1145/3578338
    Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 27 June 2023
    Published in SIGMETRICS Volume 51, Issue 1

    Check for updates

    Author Tags

    1. computer systems
    2. resource management
    3. scheduling

    Qualifiers

    • Abstract
    Data Availability

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)28
    • Downloads (Last 6 weeks)2
    Reflects downloads up to 10 Dec 2024

    Other Metrics

    Citations

    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