RH442-RHEL7-en-2-20150227-slides

September 8, 2017 | Author: Mohamed Rishafi Mohamed Jameel | Category: Cpu Cache, Scheduling (Computing), Central Processing Unit, Areas Of Computer Science, Computer Architecture
Share Embed Donate


Short Description

Linux...

Description

Comprehensive, hands-on training that solves real-world problems

Red Hat Performance Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY ONE

DAY TWO

DAY THREE

DAY FOUR

Introduction

Hardware Profiling

Large Memory Workload Tuning

Tuning a Database Server

Collecting and Graphing

Software Profiling

CPU Intensive Workload Tuning

Power Usage Tuning

General Tuning

Using SystemTap

File Server Tuning

Tuning For Virtualization

Limiting Resource Usage

Small File Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Comprehensive Review

Welcome

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Course Objectives and Structure

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY ONE

DAY TWO

DAY THREE

DAY FOUR

Introduction

Hardware Profiling

Large Memory Workload Tuning

Tuning a Database Server

Collecting and Graphing

Software Profiling

CPU Intensive Workload Tuning

Power Usage Tuning

General Tuning

Using SystemTap

File Server Tuning

Tuning For Virtualization

Limiting Resource Usage

Small File Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Comprehensive Review

Orientation to Classroom Network

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Internationalization

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY ONE First Introduction Collecting, Graphing, and Interpreting Data General Tuning

Chapter 1: Introduction to Performance Tuning ●

What is Performance Tuning?



Performance-level Agreements



Performing System Changes

Limiting Resource Usage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Goal:

Present a high-level overview of performance tuning and its goals.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Describe Performance Tuning • Describe Performance Level Agreements • Perform system changes.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

What is Performance Tuning?

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Performance Tuning Techniques

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Performance-level Agreements

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Service-level Agreement or Performance-level Agreement

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Performing System Changes

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Steps to Take When Applying a Tuning Change

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Introduction to Performance Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY ONE Introduction Collecting, Graphing, Second and Interpreting Data General Third Tuning Limiting Resource Fourth Usage

RH442-RHEL7-en-2-20150227

Chapter 2: Collecting, Graphing, and Interpreting Data ●

Units and Unit Conversions



Profiling Tools



Using awk to Format Data



Plotting Data



Performance Co-Pilot

Copyright © 2015 Red Hat, Inc.

Goal:

Collect, graph, and analyze data.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Convert from one unit to another • Gather and analyze data using sar, iostat, and vmstat • Format data with awk • Utilize common regular expressions with awk • Graph data with gnuplot • Gather and display data with Performance Co-Pilot

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Units and Unit Conversions

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Converting Units

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Profiling Tools

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Install and Configure sar

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Using awk to Format Data

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Formatting Data with awk

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Plotting Data

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Plotting Load-Average Data with gnuplot

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Performance Co-Pilot

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Configuring Performance Co-Pilot

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Collecting, Graphing, and Interpreting Data

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY ONE Introduction Collecting, Graphing, Second and Interpreting Data General Third Tuning Limiting Resource Fourth Usage

RH442-RHEL7-en-2-20150227

Chapter 3: General Tuning ●

Queueing Theory



Configuring System Tunables



Installing and Enabling tuned



Creating Custom tuned Profiles

Copyright © 2015 Red Hat, Inc.

Goal:

Describe the basics of performance tuning.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Describe the basics of queueing theory • Configure system tunables • Deploy the automatic tuning daemon tuned • Create a customized tuned profile

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Queueing Theory

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

0 60

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Queueing Theory

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Configuring System Tunables

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Configuring System Tunables

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Installing and Enabling tuned

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Installing and Enabling tuned

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Creating Custom tuned Profiles

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Creating Custom tuned Profiles

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: General Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY ONE Introduction Collecting, Graphing, Second and Interpreting Data

Chapter 4: Limiting Resource Usage ●



General Third Tuning

Configuring POSIX Resource Limits Understanding Control Groups

Limiting Resource Fourth Usage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Goal:

To allocate resources for best perfomance by limiting resource usage.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives:

• Configure POSIX resource limits • Describe Linux Control Groups

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Configuring POSIX Resource Limits

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Configuring POSIX resource limits

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Understanding Control Groups

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Configure systemd CGroup Limits

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Limiting Resource Usage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY TWO Introduction Hardware Profiling Collecting, Graphing, Software Second Profiling and Interpreting Data Using General Third SystemTap Tuning

Chapter 5: Hardware Profiling ●

Generating a Hardware Profile



Profiling Storage

Limiting Resource SmallFourth File Tuning Usage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Goal:

Describe and use tools to generate a hardware profile.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives:

• Generate a hardware profile • Profile a storage system

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Generating a Hardware Profile

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Generating a Hardware Profile

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Profiling Storage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Profiling Storage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Hardware Profiling

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY TWO Hardware Profiling Software SystemTap Profiling

Chapter 6: Software Profiling ●



Using Small File SystemTap Tuning Large Memory Small File Tuning Workload Tuning

RH442-RHEL7-en-2-20150227



CPU Scheduling Tracing System and Library Calls Profiling CPU Cache Usage

Copyright © 2015 Red Hat, Inc.

Goal:

To describe and use the basic tools for generating a software performance profile.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Describe and influence CPU scheduling • Trace system and library calls for a process • Profile how the various CPU caches are used by applications

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

CPU Scheduling

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: CPU Scheduling

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Tracing System and Library Calls

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Tracing System and Library Calls

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Profiling CPU Cache Usage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

CORE 0 Latency

HT

HT L1 d

L1: 3 cycles

L1 i

L2: 15 cycles

L2

Main: 160 cycles

Main Memory

32 kiB 64 lines / 8-way

RH442-RHEL7-en-2-20150227

CORE 1 HT L1 i

32 kiB 32 lines / 4-way

32 kiB 64 lines / 8-way

4 MiB 64 lines / 16-way

4 GiB

Copyright © 2015 Red Hat, Inc.

HT L1 d 32 kiB 32 lines / 4-way

CORE 0 Latency

HT

HT L1 d

L1: 4 cycles

L1 i

L2: 11 cycles

L2

L3: 39 cycles

L3

Main: 107 cycles

Main Memory

32 kiB 64 lines / 8-way

RH442-RHEL7-en-2-20150227

CORE 1 HT

L1 d

L1 i

32 kiB 32 lines / 4-way

2 MiB 64 lines / 8-way

32 kiB 64 lines / 8-way

L2

Copyright © 2015 Red Hat, Inc.

32 kiB 32 lines / 4-way

2 MiB 64 lines / 8-way

8 MiB 64 lines / 16-way

24 GiB

HT

CORE 0 HT L1 L2 L3

CORE 1

HT miss miss

miss

HT

line fill line fill line fill

Main

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

HT

CORE 0 HT

CORE 1

HT

HT

L1

miss

L2

miss

hit line fill line fill

L3

snoop

miss

hit

Main

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

HT

CORE 0 HT

CORE 1

HT

HT

L1 write

L2 write

L3 write

Main write

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

HT

CORE 0 HT

CORE 1

HT

HT

HT

L1 write

L2 write

L3 write

Main write

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

write stops here until evicted from this cache

Cache

Main memory

Cache line 0 Cache line 1 Cache line 2

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Cache

Main memory

Cache line 0 Cache line 1

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Cache

Main memory

Cache line 0 Cache line 1 Cache line 2 Cache line 3

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Profiling CPU Cache Usage

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Software Profiling

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY TWO Hardware Software Profiling Profiling Software Second Profiling

Chapter 7: Using SystemTap ●

Introduction to SystemTap



Running SystemTap Scripts



Using Third SystemTap

Deploying SystemTap Instrumentation Modules

Large Memory SmallFourth File Tuning Workload Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Goal:

Provide experience building and running SystemTap instrumentation modules.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Install software required to compile and run SystemTap modules. • Use the stap and staprun commands to compile and run SystemTap modules. • Provide additional permissions to users to run compiled SystemTap modules.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Introduction to SystemTap

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Installing SystemTap

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Running SystemTap Scripts

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Running SystemTap Scripts

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Deploying SystemTap Instrumentation Modules

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Deploying SystemTap Instrumentation Modules

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Using SystemTap

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY TWO Hardware Software Profiling Profiling Software Second Profiling Using Small Third File SystemTap Tuning

Chapter 8: Small File Tuning ●

Analyzing a Small File Workload



Selecting a File System



Tuning for a Mail Server

Large Memory SmallFourth File Tuning Workload Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Goal:

Analyze a workload involving frequent reads and writes to small files.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Analyze a workload involving frequent reads and writes to small files. • Select a file system based on performance criteria. • Tune specific settings for a mail server.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Analyzing a Small File Workload

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Analyzing a Small File Workload

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Selecting a File System

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Selecting a File System

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Tuning for a Mail Server

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Quiz: Tuning for a Mail Server

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Tuning for Small File Workload

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY THREE Large Memory Software Profiling Workload Tuning CPU Intensive Second Workload Tuning File Server ThirdTuning

Chapter 9: Large Memory Workload Tuning ●

Memory Management



Finding Memory Leaks



Tuning Swap



Managing Memory Reclamation



RH442-RHEL7-en-2-20150227

Managing Non-Uniform Memory Access

Copyright © 2015 Red Hat, Inc.

Goal:

To tune a server for a large memory workload.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Describe how the Linux kernel manages memory. • Investigate memory leaks. • Tune swap usage of a system. • Configure how the Linux kernel reclaims unused memory. • Manage NUMA for optimal memory speeds.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Memory Management

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

47

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

add entry to TLB and continue...

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Memory Management

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Finding Memory Leaks

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Finding Memory Leaks

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Tuning Swap

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Tuning Swap

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Managing Memory Reclamation

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Managing Memory Reclamation

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Managing Non-Uniform Memory Access

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Managing Non-Uniform Memory Access

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Large Memory Workload Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY THREE Large Memory Workload Tuning

Chapter 10: CPU Intensive Workload Tuning

CPU Intensive File Server Tuning Workload Tuning



Tuning Tuning a File Server Database Server



Pinning Processes



Balancing Interrupts



Realtime Scheduling

RH442-RHEL7-en-2-20150227

Limiting CPU Usage with CGroups

Copyright © 2015 Red Hat, Inc.

Goal:

To tune a server for a CPU intensive workload

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • To limit the amount of CPU available to processes • To limit on which CPUs a process can run • To limit which CPUs get used for interrupt handling • To employ realtime scheduling polcies

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Limiting CPU Usage with CGroups

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Limiting CPU Usage with CGroups

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Pinning Processes

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Pinning Processes

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Balancing Interrupts

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Balancing Interrupts

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Realtime Scheduling

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Realtime Scheduling

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Tuning for a CPU Intensive Workload

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY THREE CPU LargeIntensive Memory Workload Tuning CPU Intensive Second Workload Tuning File Server ThirdTuning

RH442-RHEL7-en-2-20150227

Chapter 11: File Server Tuning ●

Selecting a Tuned Profile for a File Server



File System Performance



Network Performance Tuning



Tuning Network Queues



Bonding and Link Aggregation

Copyright © 2015 Red Hat, Inc.

Goal:

To tune a server for a workload involving network transmission of larger files.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Select a tuned profile for a file server workload • Configure an external ext4 journal • Measure network performance • Calculate and implement BDP • Configure 802.3ad link aggregation

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Selecting a Tuned Profile for a File Server

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Selecting a Tuned Profile for a File Server

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

File System Performance

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: File System Performance

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Network Performance Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Network Performance Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Tuning Network Queues

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Tuning Network Queues

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Bonding and Link Aggregation

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Configuring Network Teaming

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: File Server Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY FOUR CPU Tuning Intensive a Workload Tuning Database Server

Chapter 12: Tuning a Database Server ●

Power Second Usage Tuning Tuning For Third Virtualization Comprehensive Review

RH442-RHEL7-en-2-20150227



Analyzing a Database Server Workload Managing Inter-Process Communication



Managing Hugepages



Overcommitting Memory

Copyright © 2015 Red Hat, Inc.

Goal:

To tune a server for a database workload.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Select a tuned profile to support database usage. • Examine and tune System V IPC mechanisms. • Improve memory performance by creating and managing huge pages. • Adjust memory overcommit, swappiness, and dirty page management.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Analyzing a Database Server Workload

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Analyzing a Database Server Workload

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Managing Inter-Process Communication

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Managing Inter-Process Communication

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Managing Hugepages

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Managing Hugepages

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Overcommitting Memory

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Overcommitting Memory

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Database Server Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY FOUR Tuning a Database Server Tuning For Power Usage Tuning Virtualization Tuning For Comprehensive Virtualization Review Comprehensive Review

RH442-RHEL7-en-2-20150227

Chapter 13: Power Usage Tuning ●



Power Saving Strategies Power Usage Profiling and Tuning

Copyright © 2015 Red Hat, Inc.

Goal:

To tune a server for power-efficient operation.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives:

• Tuning a system for efficient power usage. • Profiling and tuning power usage.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Power Saving Strategies

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Power Saving Strategies

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Power Usage Profiling and Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Power Usage Profiling and Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Power Usage Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY FOUR Tuning a Power Usage Tuning Database Server Power Usage Tuning Tuning for Virtualization

Chapter 14: Tuning for Virtualization ●

Tuning Virtualization Hosts



Tuning Virtual Guests

Comprehensive Review

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Goal:

To tune virtualization hosts and guests.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives: • Configuring tuned profiles • Pinning guests to use specific host CPUs • Enabling Kernel Samepage Merging (KSM) • Assigning resource limits to guests

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Tuning Virtualization Hosts

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Tuning Virtualization Hosts

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Tuning Virtual Guests

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Practice: Tuning Virtual Guests

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Virtualization Tuning

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Summary

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

DAY FOUR Tuning a Power Usage Tuning Database Server Tuning For Power Second Usage Tuning Virtualization Tuning for Third Virtualization Comprehensive Review

RH442-RHEL7-en-2-20150227

Chapter 15: Comprehensive Review ●

Red Hat Performance Tuning Comprehensive Review

Copyright © 2015 Red Hat, Inc.

Goal:

To practice and demonstrate knowledge and skills learned in Red Hat Performance Tuning.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Objectives:

• Review the course chapters to reinforce knowledge and skills.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Red Hat Performance Tuning Comprehensive Review

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Lab: Red Hat Performance Tuning Comprehensive Review

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

Thank you for attending this Red Hat Training Course! To plan your learning path: https://www.redhat.com/training/paths/linux-development.html

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

RH442-RHEL7-en-2-20150227

Copyright © 2015 Red Hat, Inc.

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF