You are previewing HP-UX 11i Internals.
O'Reilly logo
HP-UX 11i Internals

Book Description

HP-UX 11i Internals

Chris CooperChris Moore

  • Invaluable information for optimizing HP-UX performance, reliability, and efficiency

  • Find out how to approach system administration, tuning, and troubleshooting from a more informed perspective

  • For every HP-UX sysadmin, programmer, and performance specialist

  • HP Professional Books

    HP-UX 11i Internals

    HP-UX under the hood: practical insight for optimization and troubleshooting

    To maximize the performance, efficiency, and reliability of your HP-UX sysem, you need to know what's going on under the hood. HP-UX 11i Internals goes beyond generic UNIX internals, showing exactly how HP-UX works in PA-RISC environments.

    HP experts Cooper and Moore systematically illuminate HP-UX kernel data structures and algorithms for memory management, process and thread scheduling, I/O control, files and file systems, resource management, and more. They focus on HP-UX 11i, while also offering valuable insight for those using earlier versions.

  • PA-RISC architecture: register set, virtual memory, key instructions, and procedure calling conventions

  • HP-UX kernel organization: hardware-dependent and independent data structures

  • Process and thread management: proc tables, memory management, scheduling, and the complete process/thread lifecycle

  • System-wide memory resources: allocation and mapping to physical memory

  • HP-UX paging and swapping

  • Files and filesystems: traditional UNIX filesystems, HFS, VFS, and dynamic buffer cache

  • I/O and device management: addressing, DMA, interrupts, device files, I/O configuration, device driver assignments, and I/O request pathways

  • Logical Volume Management (LVM): abstracting physical disks from the disk I/O system

  • HP-UX multiprocessing: challenges, data structures, and interfaces

  • Kernel communication services: semaphores, message queues, shared memory, signals, and the kernel "callout" system

  • Signaling in complex threaded environments

  • System initialization, from vmunix to init: running HP-UX on diverse platforms

  • Whether you administer HP-UX, tune it, troubleshoot it, or write kernel modules for it, you'll find HP-UX 11i Internals indispensable.

    U.S. $59.99 Canada $90.99

    PRENTICE HALL

    Upper Saddle River, NJ 07458

    www.phptr.com

    Hewlett-Packard(R) Professional Books

    A Prentice Hall Title

    www.hp.com/hpbooks

    ISBN: 0-13-032861-8

    Table of Contents

    1. Copyright
    2. Hewlett-PackardĀ® Professional Books
    3. Preface
    4. Acknowledgments
    5. List of Figures
    6. List of Tables
    7. List of Listings
    8. PA-RISC 2.0 Architecture
      1. RISC Architecture
      2. Hardware Modules
      3. Registers
      4. Virtual Memory Support
      5. Address Translation
      6. Interruptions
      7. Summary
    9. Procedure Calling Conventions
      1. Register Usage
      2. PA-RISC Instructions
      3. Procedure Call Model
      4. Procedure Return Model
      5. Stack Usage
      6. Summary
    10. The Kernel: Basic Organization
      1. A Generic Overview
      2. All I/O Is File I/O
      3. Abstraction Layers
      4. Some Generic Kernel Techniques
      5. The HP-UX Kernel Overview
      6. Fundamental Kernel Data Structures: A First Pass
      7. Kernel Process Tables
      8. The Kernel File System Tables
      9. The Kernel Input/Output Tables
      10. Drivers and Switch Tables
      11. Summary
    11. Programs, Processes, and Threads
      1. The Players
      2. A Process and Its Threads
      3. Threading Models and HP-UX
      4. The System Call Interface
      5. Summary
    12. Process and Thread Management from the Process's Viewpoint
      1. A Process and Its Resources
      2. The proc Table
      3. The kthread Table
      4. The Process's Logical View
      5. Memory Windows
      6. Building the Logical Map
      7. Process/Thread Scheduling
      8. Run Queues
      9. Summary
    13. Managing Memory
      1. Types of Memory
      2. The System's Virtual Address Space
      3. Virtual-to-Physical Page Tables
      4. The Kernel View: The Hashtable
      5. Shared Objects
      6. The b-tree
      7. Broot, Bnodes, and Chunks
      8. Page Lists
      9. Connecting the Kernel View to the Process View
      10. Keeping Track of Free Physical Page Frames
      11. Variable Page Size
      12. Physical Memory Allocator at HP-UX 11.0
      13. Summary
    14. The HP-UX Paging System
      1. Pages on Demand
      2. Monitoring Free Memory
      3. A Thief in the Night: vhand
      4. Reservation Versus Allocation
      5. Pseudo-Swap
      6. Device Swap
      7. File System Swap
      8. Swap Priority
      9. Tracking Swap in the Kernel Structures
      10. Summary
    15. Files and File Systems
      1. File System Concepts
      2. The New and Improved UNIX File System
      3. The Kernel View of File Systems
      4. Summary
    16. The Process Life Cycle, Cradle to Grave
      1. The Birth of a Process
      2. A Historic Look at the fork() Call
      3. The fork1() Kernel Routine
      4. Process and Thread States: Idle Hands
      5. Process Identity Crisis: The exec() System Call
      6. Shared Memory Objects Revisited
      7. The exit() System Call Mechanics
      8. Summary
    17. I/O and Device Management
      1. PA-RISC I/O Architecture
      2. I/O Framework
      3. I/O Odds and Ends
      4. Summary
    18. The Logical Volume Manager
      1. LVM Design Concept
      2. Disk-Resident Data Structures
      3. LVM: The Kernel View
      4. Summary
    19. Multiprocessing and HP-UX
      1. Hardware Overview
      2. Multiprocessing Data Structures
      3. Synchronization
      4. Summary
    20. Kernel Services
      1. The Callout Table
      2. Kernel Memory Allocation
      3. Summary
    21. Signals
      1. Signal Data Structures
      2. Signal Anticipation
      3. Signal Delivery
      4. Signal Recognition
      5. Signal Handler Launch
      6. Summary
    22. System Initialization
      1. ISL: The Initial System Loader
      2. HPUXBOOT: The Secondary Loader
      3. Real-Mode Initialization
      4. Virtual Mode Initialization
      5. Summary
    23. Tools Overview
      1. adb
      2. q4
      3. Summary
    24. Index