Sciweavers

HOTOS
2007
IEEE

Processor Hardware Counter Statistics as a First-Class System Resource

13 years 8 months ago
Processor Hardware Counter Statistics as a First-Class System Resource
Today's processors provide a rich source of statistical information on program execution characteristics through hardware counters. However, traditionally, operating system (OS) support for and utilization of the hardware counter statistics has been limited and ad hoc. In this paper, we make the case for direct OS management of hardware counter statistics. First, we show the utility of processor counter statistics in CPU scheduling (for improved performance and fairness) and in online workload modeling, both of which require online continuous statistics (as opposed to ad hoc infrequent uses). Second, we show that simultaneous system and user use of hardware counters is possible via time-division multiplexing. Finally, we highlight potential counter misuses to indicate that the OS should address potential security issues in utilizing processor counter statistics.
Xiao Zhang, Sandhya Dwarkadas, Girts Folkmanis, Ka
Added 16 Aug 2010
Updated 16 Aug 2010
Type Conference
Year 2007
Where HOTOS
Authors Xiao Zhang, Sandhya Dwarkadas, Girts Folkmanis, Kai Shen
Comments (0)