Linux on POWER for Green Data Center



Similar documents
Linux VM Infrastructure for memory power management

Overview of the Current Approaches to Enhance the Linux Scheduler. Preeti U. Murthy IBM Linux Technology Center

SAS deployment on IBM Power servers with IBM PowerVM dedicated-donating LPARs

SUSE Linux Enterprise 10 SP2: Virtualization Technology Support

The Benefits of POWER7+ and PowerVM over Intel and an x86 Hypervisor

Redbooks Paper. Local versus Remote Database Access: A Performance Test. Victor Chao Leticia Cruz Nin Lei

Intelligent Power Optimization for Higher Server Density Racks

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

Database Instance Caging: A Simple Approach to Server Consolidation. An Oracle White Paper September 2009

Communications Server for Linux

How To Manage Energy At An Energy Efficient Cost

Energy Management in a Cloud Computing Environment

Power Management in the Linux Kernel

IBM SmartCloud Monitoring

Monitoring IBM HMC Server. eg Enterprise v6

SmartCloud Monitoring - Capacity Planning ROI Case Study

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Virtualization Performance Analysis November 2010 Effect of SR-IOV Support in Red Hat KVM on Network Performance in Virtualized Environments

Platform LSF Version 9 Release 1.2. Migrating on Windows SC

Host Power Management in VMware vsphere 5

IOS110. Virtualization 5/27/2014 1

EMC VMAX 40K: Mainframe Performance Accelerator

The Truth Behind IBM AIX LPAR Performance

Deploying Citrix MetaFrame on IBM eserver BladeCenter with FAStT Storage Planning / Implementation

Oracle Database Scalability in VMware ESX VMware ESX 3.5

Intel I340 Ethernet Dual Port and Quad Port Server Adapters for System x Product Guide

z/os V1R11 Communications Server system management and monitoring

Intel Core i5 processor 520E CPU Embedded Application Power Guideline Addendum January 2011

Host Power Management in VMware vsphere 5.5

Server Virtualization: The Essentials

Positioning the Roadmap for POWER5 iseries and pseries

Virtual Machine Environments: Data Protection and Recovery Solutions

MS Exchange Server Acceleration

Deployment Options for Microsoft Hyper-V Server

Taking Virtualization

IBM Tivoli Storage Manager for Virtual Environments

Arwed Tschoeke, Systems Architect IBM Systems and Technology Group

Agenda. Context. System Power Management Issues. Power Capping Overview. Power capping participants. Recommendations

IBM Lotus Protector for Mail Encryption. User's Guide

Integrating ERP and CRM Applications with IBM WebSphere Cast Iron IBM Redbooks Solution Guide

Tivoli Endpoint Manager for Security and Compliance Analytics. Setup Guide

IBM Cognos Controller Version New Features Guide

System Management Interrupt Free Hardware

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

Virtualization and the U2 Databases

Capacity Estimation for Linux Workloads

Consolidation process in IBM Cognos Controller using Batch Processing

z/os V1R11 Communications Server System management and monitoring Network management interface enhancements

Best practices for data migration.

Memory Sizing for Server Virtualization. White Paper Intel Information Technology Computer Manufacturing Server Virtualization

Building the perfect cloud with IBM System z

An Oracle White Paper August Oracle VM 3: Server Pool Deployment Planning Considerations for Scalability and Availability

Introduction to Windows Server 2016 Nested Virtualization

Utilization-based Scheduling in OpenStack* Compute (Nova)

IBM Security SiteProtector System Migration Utility Guide

How System Settings Impact PCIe SSD Performance

iseries Logical Partitioning

Intel Virtualization Technology (VT) in Converged Application Platforms

Dell Reference Configuration for Hortonworks Data Platform

FOR SERVERS 2.2: FEATURE matrix

DELL. Virtual Desktop Infrastructure Study END-TO-END COMPUTING. Dell Enterprise Solutions Engineering

TCP/IP ports on the CMM, IMM, IMM2, RSA II, BMC, and AMM management processors 1

Performance Comparison of Fujitsu PRIMERGY and PRIMEPOWER Servers

The Microsoft Windows Hypervisor High Level Architecture

CA Nimsoft Monitor. Probe Guide for Active Directory Server. ad_server v1.4 series

Update on big.little scheduling experiments. Morten Rasmussen Technology Researcher

CS z/os Application Enhancements: Introduction to Advanced Encryption Standards (AES)

Introduction to the NI Real-Time Hypervisor

big.little Technology Moves Towards Fully Heterogeneous Global Task Scheduling Improving Energy Efficiency and Performance in Mobile Devices

Comparing Multi-Core Processors for Server Virtualization

What is virtualization

IBM z13 for Mobile Applications

IBM PowerSC Technical Overview IBM Redbooks Solution Guide

Running SAP HANA One on SoftLayer Bare Metal with SUSE Linux Enterprise Server CAS19256

InfoPrint 4247 Serial Matrix Printers. Remote Printer Management Utility For InfoPrint Serial Matrix Printers

EMC Smarts SAM, IP, ESM, MPLS, NPM, OTM, and VoIP Managers Support Matrix

Virtualization 101 for Power Systems

RED HAT ENTERPRISE VIRTUALIZATION PERFORMANCE: SPECVIRT BENCHMARK

8Gb Fibre Channel Adapter of Choice in Microsoft Hyper-V Environments

IBM SAP International Competence Center. Coca-Cola Bottling Co. Consolidated utilizes SAP technical upgrade project to migrate from Oracle to IBM DB2

Hitachi Virtage Embedded Virtualization Hitachi BladeSymphony 10U

IBM Systems and Technology Group Technical Conference

Simplify security management in the cloud

Intel Media SDK Library Distribution and Dispatching Process

solution brief September 2011 Can You Effectively Plan For The Migration And Management of Systems And Applications on Vblock Platforms?

Performance and scalability of a large OLTP workload

Zend and IBM: Bringing the power of PHP applications to the enterprise

can you effectively plan for the migration and management of systems and applications on Vblock Platforms?

An Oracle White Paper July Oracle Primavera Contract Management, Business Intelligence Publisher Edition-Sizing Guide

Introduction to IBM tools to manage energy consumption

Transcription:

Linux on POWER for Green Data Center Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> IBM India Systems and Technology Labs

Agenda POWER platform energy management features Linux OS energy management at idle Short idle cycles nap at idle Long idle cycles cpu offline Linux scheduler power saving tunables Platform power modes Experimental Results Reference Linux patches POWER platform reference 2

POWER platform energy management features Dynamic and voltage and frequency scaling (DVFS) Thermal Power Management Device (TPMD) handles utilization based frequency and voltage control System Power mode policies like Static Power Saver and Dynamic Power Savers are implemented in the platform Low power idle states Processor Nap at idle using hypervisor calls Hints in H_CEDE() hypervisor call for long term idle (POWER7) Power capping Limit server power consumption below a preset value 3

Linux Energy Management features on POWER: Nap at idle Idle task in Linux can yield CPU cycles to hypervisor Hypervisor can transition CPU to low power nap state CPUs in nap can be woken-up on external interrupt or timer event Linux idle loop will reduce thread priority (HMT Low) first and then transition to Nap for longer idle cycles 4 Measurement on 16 core system in Nominal power mode

Nap at idle in Linux Idle Start Reduce SMT thread priority Idle time > nap threshold Yes Nap CPU No No Idle Exit Event Yes Idle Exit 5

Exploiting long idle cycles using cpu offline states Linux cpuoffline framework allows runtime deallocation of logical CPUs Multiple offline states allow exploitation of the framework for power savings (deactivate) and deallocations echo 0 > /sys/devices/system/cpu/cpu1/online Measurement on 32 core system in Nominal power mode 6

CPU Offline States Offline CPU Deactivate CPU h_cede at offline supported Yes Extended h_cede CPU No Dynamic reconfiguration CPU relinquished to other LPARs Low power Idle state CPU Online Event Deallocate CPU Yes Deallocate CPU No CPU Online Event No Activate CPU Yes CPU Online 7

Hints for cpuoffline: H_BEST_ENERGY Hypervisor provided hints for list of CPUs to activate or deactivate Hints will provide optimal configuration based on overall system utilization across all partitions # cat /sys/devices/system/cpu/activate_hint_list 16,20,24,28,56,60 # cat /sys/devices/system/cpu/deactivate_hint_list 0,4,8,12,32,36,40,44,48,52 Patch under development and discussion in linuxppc-dev mailing list 8

CPU offline and DLPAR operations Dynamic Logical Partition configuration framework allows CPU and other resources to be added or removed to an OS instance at runtime on POWER platform CPU Offline for power savings cooperates with DLPAR operations Dynamic removal of a CPU in low power (deactivated) state will initiate a deallocate operation 9

Scheduler power saving tunables Task consolidation to cores using sched_smt_powersavings P 0 P 1 P 2 P 3 T T T T 0 1 2 3 T T T T 0 1 2 3 T T T T 0 1 2 3 T T T T 0 1 2 3 Core 0 Core 1 Core 2 Core 3 Processes SMT hardware threads CPUs Consolidate processes P P P P 0 1 2 3 T T T T 0 1 2 3 T T T T 0 1 2 3 T T T T 0 1 2 3 T T T T 0 1 2 3 Core 0 Core 1 Core 2 Core 3 Power versus performance tradeoff using consolidation to less cores in the system Idle cores in low power state 10

Linux scheduler sched_smt_powersavings Running 8 tasks on reduced number of cores by exploiting SMT4 modes Increases core nap residency and saves power Degradation in performance is workload dependent 10-30% for two tasks per core and higher for 4 tasks per core Ideally used in conjunction with static power saver mode where the policy favours power savings Measurement on 16 core system in SPS mode 11

Platform power modes Platform power modes are set using IBM Systems director with Active Energy manager (AEM) plugin Static Power Saver Run CPUs at a fixed lower frequency and voltage to reduce power consumption Dynamic Power Saver Change CPU frequency and voltage based on runtime CPU utilization SubModes Favour power savings Favour performance 12

IBM Systems Director Active Energy Manager Source: IBM POWER7 EnergyScale WhitePaper 13

System Power Modes - Illustration 14

Linux interface to system power modes Power mode information can be obtained in Linux OS using hypervisor call H_EM_GET_PARMS Linux OS specific optimizations can be done based on power modes #cat /proc/powerpc/lparcfg <lpar info> power_mode_data=xxxx 15

Experimental Results: Workload pattern (Trade6) Opportunity to reduce power at low utilization 16

Experimental results: Static Power Saver Reduce CPU capacity (power) Reduction in power Typical workload pattern emulated by Trade6 benchmark System capacity statically reduced to 30% during off peak hours Measurement on 16 core system in SPS mode 17

Experimental results: Static Power Saver (performance) Negligible performance impact since only very low utilization periods are exploited for power savings 18

Reference: Linux patches Cpuoffline state framework http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3aa565f53c396914a9406388efaa238e9c937fc6 sched_smt_powersavings http://lwn.net/articles/287924/ POWER h_em_get_parms http://patchwork.ozlabs.org/patch/49190/ POWER h_best_energy http://patchwork.ozlabs.org/patch/46851/ POWER cpuidle framework http://lkml.org/lkml/2010/2/9/33 http://lkml.org/lkml/2010/2/9/33 Reference: Linux publications OLS2008:Energy-aware task and interrupt management in Linux http://ols.fedoraproject.org/ols/reprints-2008/srinivasan1-reprint.pdf LFCollabSummit 2009: Tweaking Linux For Green Data Center http://events.linuxfoundation.org/slides/lfcs09_srinivasan.pdf 19

Reference: POWER related resources POWER7 http://www-03.ibm.com/press/us/en/pressrelease/29315.wss POWER7 EnergyScale WhitePaper http://www-03.ibm.com/systems/power/hardware/whitepapers/energyscale7.html POWER7 and EnergyStar http://www-03.ibm.com/press/us/en/pressrelease/29796.wss ActiveEnergyManager http://www.ibm.com/systems/management/director/plugins/actengmgr.html Linux on POWER7 https://www.ibm.com/developerworks/wikis/display/linuxp/home http://www-03.ibm.com/linux/ltc/ 20

Acknowledgments Questions/Discussions? Arun Bharadwaj Christoph Arenz Dipankar Sarma Gautham R Shenoy Jeffery J Heroux Naren Devaiah Nathan Fontenot Premalatha M Nair Susanne Libischer Trinabh Gupta Thank You 21

Legal Statements Copyright International Business Machines Corporation 2010. Permission to redistribute in accordance with Linux Foundation Collaboration Summit submission guidelines is granted; all other rights reserved. This work represents the view of the authors and does not necessarily represent the view of IBM. IBM, IBM logo, ibm.com are trademarks of International Business Machines Corporation in the United States, other countries, or both. Intel is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, and service names may be trademarks or service marks of others. References in this publication to IBM products or services do not imply that IBM intends to make them available in all countries in which IBM operates. 22

Legal Statements INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. 23