Duration:
2 Days
Audience:
Employees of federal, state and local governments; and businesses working with the government.
Course Description:
This class meets the needs of advanced Linux Systems Administrators expanding their knowledge of core workings of Linux. Theories and methodologies are covered for tuning, monitoring performance, and analyzing the performance of the Linux operating system.
Current Version: C01
Current Version: C01
-
Prerequisites:
- An intermediate knowledge of the Linux operating system is required. The equivalent knowledge can be found in the GL120 “Linux Fundamentals” and GL250 “Enterprise Linux Systems Administration” courses.
-
Supported Distributions:
- Red Hat Enterprise Linux 6
-
Course Outline:
-
- TUNING PRINCIPLES
- What is Performance Tuning?
- Performance Tuning Methodology
- Model System
- Establish a Baseline
- Establish Performance Targets
- Identify Bottleneck
- Tune
- Measure, Monitor, Evaluate, Repeat?
- Final Thoughts
- The USE Method
- Gathering USE Metrics
LAB TASKS
- Determining the System’s Configuration
- LINUX ARCHITECTURE OVERVIEW
- The Linux Operating System Components
- Open Standards
- Memory Layout
- Important Kernel Threads
- Block Devices and the Device Mapper
- File Systems with Linux
- Cache and Write Barriers
- Device Files in Linux
- Security Model Overview
- su and Wheel
LAB TASKS
- Switching Users With sudo
- Operation of the setuid() and capset() System Calls
- LOG FILE ADMINISTRATION
- MONITORING TOOLS
- Analyzing Process Memory Usage with pmap
- lsof and fuser
- netstat and rpcinfo
- tcpdump and wireshark
LAB TASKS
- Process Related Tools
- Analyzing Memory Usage
- BENCHMARK TOOLS
- Benchmark Tools
- Disk/Filesystem Benchmarks
- Network Benchmarks
- Phoronix Test Suite
LAB TASKS
- Benchmarking Disk and Filesystem
- SYSTEMTAP
- SystemTap Overview
- SystemTap Features
- SystemTap Requirements
- Invoking SystemTap
- The 5 passes of stap
- SystemTap Probe Point Syntax
- SystemTap Probe Modes
- SystemTap Probe Points
- SystemTap process Probes
- Listing and Using Probe Points
- Built-in SystemTap Functionality
- SystemTap Example Repositories
- SystemTap Advanced Example
- SystemTap Documentation
LAB TASKS
- System Tap Intro
- System Tap
- Creating SystemTap Scripts
- SNMP
- SNMP Overview
- SNMP Operation – Query
- MIBs and OID Namespace
- SNMP Security
- SNMP for Linux
LAB TASKS
- SNMP
- LINUX TUNABLES
- Operating System Tuning Caveats
- Consider OS (or Kernel) Upgrade
- Tuning CPU – NUMA
- Tuning CPU – Scheduling
- Huge Memory Pages
- Tuning Virtual Memory Manager
- Tuning Virtual Memory Manager (cont.)
- Dropping Caches
- I/O Scheduler
- Tuning Filesystems
- Tuning Filesystems (cont.)
- Network Tuning
- tuned
- TUNING PRINCIPLES