• DocumentCode
    1300558
  • Title

    CPU Accounting for Multicore Processors

  • Author

    Luque, Carlos ; Moreto, Miquel ; Cazorla, Francisco J. ; Gioiosa, Roberto ; Buyuktosunoglu, Alper ; Valero, Mateo

  • Author_Institution
    Comput. Archit. Dept. (DAC), Univ. Politec. de Catalunya, Barcelona, Spain
  • Volume
    61
  • Issue
    2
  • fYear
    2012
  • Firstpage
    251
  • Lastpage
    264
  • Abstract
    In single-threaded processors and Symmetric Multiprocessors the execution time of a task depends on the other tasks it runs with (the workload), since the Operating System (OS) time shares the CPU(s) between tasks in the workload. However, the time accounted to a task is roughly the same regardless of the workload in which the task runs in, since the OS takes into account those periods in which the task is not scheduled onto a CPU. Chip Multiprocessors (CMPs) introduce complexities when accounting CPU utilization, since the CPU time to account to a task not only depends on the time that the task is scheduled onto a CPU, but also on the amount of hardware resources it receives during that period. And given that in a CMP hardware resources are dynamically shared between tasks, the CPU time accounted to a task in a CMP depends on the workload it executes in. This is undesirable because the same task with the same input data set may be accounted differently depending on the workload it executes. In this paper, we identify how an inaccurate measurement of the CPU utilization affects several key aspects of the system such as OS statistics or the charging mechanism in data centers. We propose a new hardware CPU accounting mechanism to improve the accuracy when measuring the CPU utilization in CMPs and compare it with the previous accounting mechanisms. Our results show that currently known mechanisms lead to a 16 percent average error when it comes to CPU utilization accounting. Our proposal reduces this error to less than 2.8 percent in a modeled 8-core processor system.
  • Keywords
    computational complexity; computer centres; microprocessor chips; multiprocessing systems; operating systems (computers); processor scheduling; CMP hardware resources; CPU accounting mechanism; CPU utilization; OS time; chip multiprocessors; computational complexity; data centers; multicore processors; operating system time; single-threaded processor; symmetric multiprocessors; task scheduling; Accuracy; Central Processing Unit; Electronic mail; Estimation; Hardware; Program processors; Proposals; CPU accounting; cache partitioning algorithms.; chip-multiprocessor; shared last level of cache;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/TC.2011.152
  • Filename
    5989796