HP-UX Internals

Chris Cooper, Chris Moore

  • 出版商: Prentice Hall
  • 出版日期: 2004-01-22
  • 定價: $1,980
  • 售價: 5.0$990
  • 語言: 英文
  • 頁數: 416
  • 裝訂: Paperback
  • ISBN: 0130328618
  • ISBN-13: 9780130328618
  • 立即出貨(限量) (庫存=2)





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.


Table of Contents:



List of Figures.

List of Tables.

List of Listings.

1. PA-RISC 2.0 Architecture.

RISC Architecture. Hardware Modules. Registers. Virtual Memory Support. Address Translation. Interruptions. Summary.

2. Procedure Calling Conventions.

Register Usage. PA-RISC Instructions. Procedure Call Model. Procedure Return Model. Stack Usage. Summary.

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.

4. Programs, Processes, and Threads.

The Players. A Process and Its Threads. Threading Models and HP-UX. The System Call Interface. Summary.

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.

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.

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.

8. Files and File Systems.

File System Concepts. The New and Improved UNIX File System. The Kernel View of File Systems. Summary.

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.

10. I/O and Device Management.

PA-RISC I/O Architecture. I/O Framework. I/O Odds and Ends. Summary.

11. The Logical Volume Manager.

LVM Design Concept. Disk-Resident Data Structures. LVM: The Kernel View. Summary.

12. Multiprocessing and HP-UX.

Hardware Overview. Multiprocessing Data Structures. Synchronization. Summary.

13. Kernel Services.

The Callout Table. Kernel Memory Allocation. Summary.

14. Signals.

Signal Data Structures. Signal Anticipation. Signal Delivery. Signal Recognition. Signal Handler Launch. Summary.

15. System Initialization.

ISL: The Initial System Loader. HPUXBOOT: The Secondary Loader. Real-Mode Initialization. Virtual Mode Initialization. Summary.

16. Tools Overview.

adb. q4. Summary.