HP-UX 11i Internals

  
HP-UX 11i Internals
By Chris Cooper, Chris Moore
 
Publisher: Prentice Hall PTR
Pub Date: January 22, 2004
ISBN: 0-13-032861-8
Pages: 432
   


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.

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