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

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:

  1. TUNING PRINCIPLES
    1. What is Performance Tuning?
    2. Performance Tuning Methodology
    3. Model System
    4. Establish a Baseline
    5. Establish Performance Targets
    6. Identify Bottleneck
    7. Tune
    8. Measure, Monitor, Evaluate, Repeat?
    9. Final Thoughts
    10. The USE Method
    11. Gathering USE Metrics

    LAB TASKS

    1. Determining the System’s Configuration
  2. LINUX ARCHITECTURE OVERVIEW
    1. The Linux Operating System Components
    2. Open Standards
    3. Memory Layout
    4. Important Kernel Threads
    5. Block Devices and the Device Mapper
    6. File Systems with Linux
    7. Cache and Write Barriers
    8. Device Files in Linux
    9. Security Model Overview
    10. su and Wheel

    LAB TASKS

    1. Switching Users With sudo
    2. Operation of the setuid() and capset() System Calls
  3. LOG FILE ADMINISTRATION
  4. MONITORING TOOLS
    1. Analyzing Process Memory Usage with pmap
    2. lsof and fuser
    3. netstat and rpcinfo
    4. tcpdump and wireshark

    LAB TASKS

    1. Process Related Tools
    2. Analyzing Memory Usage
  5. BENCHMARK TOOLS
    1. Benchmark Tools
    2. Disk/Filesystem Benchmarks
    3. Network Benchmarks
    4. Phoronix Test Suite

    LAB TASKS

    1. Benchmarking Disk and Filesystem
  6. SYSTEMTAP
    1. SystemTap Overview
    2. SystemTap Features
    3. SystemTap Requirements
    4. Invoking SystemTap
    5. The 5 passes of stap
    6. SystemTap Probe Point Syntax
    7. SystemTap Probe Modes
    8. SystemTap Probe Points
    9. SystemTap process Probes
    10. Listing and Using Probe Points
    11. Built-in SystemTap Functionality
    12. SystemTap Example Repositories
    13. SystemTap Advanced Example
    14. SystemTap Documentation

    LAB TASKS

    1. System Tap Intro
    2. System Tap
    3. Creating SystemTap Scripts
  7. SNMP
    1. SNMP Overview
    2. SNMP Operation – Query
    3. MIBs and OID Namespace
    4. SNMP Security
    5. SNMP for Linux

    LAB TASKS

    1. SNMP
  8. LINUX TUNABLES
    1. Operating System Tuning Caveats
    2. Consider OS (or Kernel) Upgrade
    3. Tuning CPU – NUMA
    4. Tuning CPU – Scheduling
    5. Huge Memory Pages
    6. Tuning Virtual Memory Manager
    7. Tuning Virtual Memory Manager (cont.)
    8. Dropping Caches
    9. I/O Scheduler
    10. Tuning Filesystems
    11. Tuning Filesystems (cont.)
    12. Network Tuning
    13. tuned