Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/2643634.2643657guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

HaPPy: hyperthread-aware power profiling dynamically

Published: 19 June 2014 Publication History

Abstract

Quantifying the power consumption of individual applications co-running on a single server is a critical component for software-based power capping, scheduling, and provisioning techniques in modern datacenters. However, with the proliferation of hyperthreading in the last few generations of server-grade processor designs, the challenge of accurately and dynamically performing this power attribution to individual threads has been significantly exacerbated. Due to the sharing of core-level resources such as functional units, prior techniques are not suitable to attribute the power consumption between hyperthreads sharing a physical core.
In this paper, we present a runtime mechanism that quantifies and attributes power consumption to individual jobs at fine granularity. Specifically, we introduce a hyperthread-aware power model that differentiates between the states when both hardware threads of a core are in use, and when only one thread is in use. By capturing these two different states, we are able to accurately attribute power to each logical CPU in modern servers. We conducted experiments with several Google production workloads on an Intel Sandy Bridge server. Compared to prior hyperthread-oblivious model, HaPPy is substantially more accurate, reducing the prediction error from 20.5% to 7.5% on average and from 31.5% to 9.4% in the worst case.

References

[1]
https://perf.wiki.kernel.org/.
[2]
https://lkml.org/lkml/2013/10/7/359.
[3]
G. Banga, P. Druschel, and J. C. Mogul. Resource containers: A new facility for resource management in server systems. In Proc. of the 3rd USENIX Symp. on Operating Systems Design and Implementation (OSDI), 1999.
[4]
L. A. Barroso, J. Clidaras, and U. Hölzle. The Datacenter As a Computer: An Introduction to the Design of Warehouse-Scale Machines. Morgan & Claypool Publishers, 2nd edition, 2013.
[5]
L. A. Barroso, J. Dean, and U. Hölzle. Web search for a planet: The Google cluster architecture. IEEE Micro, 23(2):22-28, Mar. 2003.
[6]
F. Bellosa. The benefits of event-driven energy accounting in power-sensitive systems. In Proc. of the SIGOPS European Workshop, Kolding, Denmark, Sept 2000.
[7]
R. Bertran, M. Gonzalez, X. Martorell, N. Navarro, and E. Ayguade. Decomposable and responsive power models for multicore processors using performance counters. In Proc. of the 24th ACM International Conference on Supercomputing (SC), pages 147-158, 2010.
[8]
F. Chang, J. Dean, S. Ghemawat, W. Hsieh, D. Wallach, M. Burrows, T. Chandra, A. Fikes, and R. Gruber. Bigtable: A distributed storage system for structured data. In Proc. of the 7th USENIX Symp. on Operating Systems Design and Implementation (OSDI), pages 205-218, 2006.
[9]
J. Choi, S. Govindan, B. Urgaonkar, and A. Sivasubramaniam. Profiling, prediction, and capping of power consumption in consolidated environments. In Proc. of Modeling, Analysis and Simulation of Computers and Telecommunication Systems (MASCOTS), pages 1-10, 2008.
[10]
J. Dean and S. Ghemawat. MapReduce: Simplified data processing on large clusters. In Proc. of the 6th USENIX Symp. on Operating Systems Design and Implementation (OSDI), 2004.
[11]
X. Fan, W. D. Weber, and L. A. Barroso. Power provisioning for a warehouse-sized computer. In Proc. of the 34th annual International Symposium on Computer Architecture (ISCA), pages 13-23, 2007.
[12]
I. Goiri, W. Katsak, K. Le, T. D. Nguyen, and R. Bianchini. Parasol and greenswitch: Managing datacenters powered by renewable energy. In Proc. of 18th Int'l Conf. on Architectural Support for Programming Languages and Operating Systems (ASPLOS), pages 51-64, 2013.
[13]
S. Govindan, J. Choi, B. Urgaonkar, A. Sivasubramaniam, and A. Baldini. Statistical profiling-based techniques for effective power provisioning in data centers. In Proc. of the 4th ACM European Conference on Computer systems (EuroSys), pages 317-330, 2009.
[14]
Intel Corporation. Intel 64 and IA-32 architectures software developer's manual, volume 3: System programming guide, 2013.
[15]
C. Isci and M. Martonosi. Phase characterization for power: evaluating control-flow-based and event-counter-based techniques. In Proc. of 12th Int'l Symp. on High Performance Computer Architecture (HPCA), pages 121-132, 2006.
[16]
A. Kansal and F. Zhao. Fine-grained energy profiling for power-aware application design. ACM SIGMETRICS Performance Evaluation Review, 36(2):26-31, 2008.
[17]
V. Kontorinis, L. E. Zhang, B. Aksanli, J. Sampson, H. Homayoun, E. Pettis, D. M. Tullsen, and T. S. Rosing. Managing distributed UPS energy for effective power capping in data centers. In Proc. of the 39th annual International Symposium on Computer Architecture (ISCA), pages 488-499. IEEE, 2012.
[18]
B. C. Lee and D. M. Brooks. Accurate and efficient regression modeling for microarchitectural performance and power prediction. In ACM SIGOPS Operating Systems Review, volume 40, pages 185-194. ACM, 2006.
[19]
C. Lefurgy, X.Wang, and M.Ware. Server-level power control. In Proc. of the 4th International Conference on Autonomic Computing (ICAC), 2007.
[20]
C. Li, C. Ding, and K. Shen. Quantifying the cost of context switch. In Proc. of the Workshop on Experimental Computer Science (ExpCS), 2007.
[21]
T. Li and L. K. John. Run-time modeling and estimation of operating system power consumption. In Proc. of the ACM International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS), pages 160-171, 2003.
[22]
J. Mars, L. Tang, R. Hundt, K. Skadron, and M. L. Soffa. Bubble-Up: Increasing utilization in modern warehouse scale computers via sensible colocations. In Proc. of the 44th annual IEEE/ACM International Symposium on Microarchitecture (MICRO), New York, NY, USA, 2011. ACM.
[23]
J. C. McCullough, Y. Agarwal, J. Chandrashekar, S. Kuppuswamy, A. C. Snoeren, and R. K. Gupta. Evaluating the effectiveness of model-based power characterization. In Proc. of the USENIX Annual Technical Conference (USENIX ATC), 2011.
[24]
R. Pike, S. Dorward, R. Griesemer, and S. Quinlan. Interpreting the data: Parallel analysis with Sawzall. Scientific Programming, Special Issue on Grids and Worldwide Computing Programming Models and Infrastructure, 13(4):277-298, Oct. 2005.
[25]
A. Roy, S. M. Rumble, R. Stutsman, P. Levis, D. Mazières, and N. Zeldovich. Energy management in mobile devices with the Cinder operating system. In Proc. of the 6th ACM European Conference on Computer systems (EuroSys), pages 139-152, 2011.
[26]
K. Shen, A. Shriraman, S. Dwarkadas, X. Zhang, and C. Zhuan. Power containers: An OS facility for fine-grained power and energy management on multicore servers. In Proc. of 18th Int'l Conf. on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Houston, Texas, Mar. 2013.
[27]
H. Yang, A. Breslow, J. Mars, and L. Tang. Bubble-Flux: Precise online QoS management for increased utilization in warehouse scale computers. In Proc. of the 40th annual International Symposium on Computer Architecture (ISCA), 2013.
[28]
Q. Zheng and B. Veeravalli. Utilization-based pricing for power management and profit optimization in data centers. Journal of Parallel and Distributed Computing, 72(1):27-34, 2012.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
USENIX ATC'14: Proceedings of the 2014 USENIX conference on USENIX Annual Technical Conference
June 2014
512 pages
ISBN:9781931971102

Sponsors

  • VMware
  • NetApp
  • IBMR: IBM Research
  • Facebook: Facebook
  • HP: HP

Publisher

USENIX Association

United States

Publication History

Published: 19 June 2014

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)Enabling power-awareness for the Xen hypervisorACM SIGBED Review10.1145/3199610.319961515:1(36-42)Online publication date: 20-Mar-2018
  • (2018)Power sandboxProceedings of the Thirteenth EuroSys Conference10.1145/3190508.3190533(1-15)Online publication date: 23-Apr-2018
  • (2018)RAPL in ActionACM Transactions on Modeling and Performance Evaluation of Computing Systems10.1145/31777543:2(1-26)Online publication date: 22-Mar-2018
  • (2017)Power and Performance Estimation for Fine-Grained Server Power Capping via Controlling Heterogeneous ApplicationsACM Transactions on Management Information Systems10.1145/30864498:4(1-19)Online publication date: 30-Aug-2017
  • (2017)WattsKitProceedings of the 17th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing10.1109/CCGRID.2017.27(514-523)Online publication date: 14-May-2017
  • (2016)Reliable and efficient performance monitoring in linuxProceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis10.5555/3014904.3014950(1-13)Online publication date: 13-Nov-2016
  • (2016)Unsupervised power modeling of co-allocated workloads for energy efficiency in data centersProceedings of the 2016 Conference on Design, Automation & Test in Europe10.5555/2971808.2972121(1345-1350)Online publication date: 14-Mar-2016
  • (2015)HELIX-UPProceedings of the 13th Annual IEEE/ACM International Symposium on Code Generation and Optimization10.5555/2738600.2738630(235-245)Online publication date: 7-Feb-2015
  • (2015)Towards sustainable in-situ server systems in the big data eraACM SIGARCH Computer Architecture News10.1145/2872887.275038143:3S(14-26)Online publication date: 13-Jun-2015
  • (2015)Towards sustainable in-situ server systems in the big data eraProceedings of the 42nd Annual International Symposium on Computer Architecture10.1145/2749469.2750381(14-26)Online publication date: 13-Jun-2015
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media