• DocumentCode
    3135540
  • Title

    Microarchitectural denial of service: insuring microarchitectural fairness

  • Author

    Grunwald, Dirk ; Ghiasi, Soraya

  • Author_Institution
    Dept. of Comput. Sci., Colorado Univ., Boulder, CO, USA
  • fYear
    2002
  • fDate
    2002
  • Firstpage
    409
  • Lastpage
    418
  • Abstract
    Simultaneous multithreading seeks to improve the aggregate computation bandwidth of a processor core by sharing resources such as functional units, caches, TLB and so on. To date, most research investigating the scheduling of these shared resources has focused on enhancing computational bandwidth. In this paper, we examine scheduling fairness. First, we show that a thread running on an implementation of a SMT processor can suffer from "denial of service" by a malicious thread, slowing down the original thread by a factor of 10-20. Using performance counter hardware, we show that the slowdown occurs because of deliberate misuse of shared resources and design decisions that are necessary for high speed implementation. We then propose and evaluate a number of mechanisms to counter such malicious behavior: some affect the core scheduling algorithm and others simply attempt to identify activity that would affect threads sharing the same processor core. We find that harmful activity based mechanisms outperform core scheduling mechanisms. In addition, we show that they can be designed so that they can differentiate between malicious attacks and legitimate activities that may also make use of the same harmful activities.
  • Keywords
    computer architecture; multi-threading; performance evaluation; aggregate computation bandwidth; multithreading; processor affinity; scheduling; shared resources; sharing resources; Aggregates; Bandwidth; Computer crime; Counting circuits; Hardware; Microarchitecture; Multithreading; Processor scheduling; Surface-mount technology; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Microarchitecture, 2002. (MICRO-35). Proceedings. 35th Annual IEEE/ACM International Symposium on
  • ISSN
    1072-4451
  • Print_ISBN
    0-7695-1859-1
  • Type

    conf

  • DOI
    10.1109/MICRO.2002.1176268
  • Filename
    1176268