HP-UX Internals

Chris Cooper, Chris Moore

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

買這商品的人也買了...

相關主題

商品描述

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.

 

Table of Contents:

Preface.

Acknowledgments.

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.

Index.

商品描述(中文翻譯)

描述:
HP-UX 11i 內部
Chris CooperChris Moore
- 提供優化 HP-UX 效能、可靠性和效率的寶貴資訊
- 從更具見識的角度探索系統管理、調整和故障排除方法
- 適用於每位 HP-UX 系統管理員、程式設計師和效能專家

HP 專業書籍
HP-UX 11i 內部
HP-UX 的實用洞察力:優化和故障排除的實際見解
為了最大化 HP-UX 系統的效能、效率和可靠性,您需要了解底層運作。《HP-UX 11i 內部》超越一般的 UNIX 內部,詳細展示了 HP-UX 在 PA-RISC 環境中的運作方式。

HP 的專家 Cooper 和 Moore 系統地闡明了 HP-UX 內核的資料結構和演算法,包括記憶體管理、進程和線程排程、I/O 控制、檔案和檔案系統、資源管理等。他們專注於 HP-UX 11i,同時也提供了對於使用較早版本的人有價值的見解。

- PA-RISC 架構:暫存器集、虛擬記憶體、關鍵指令和程序呼叫約定
- HP-UX 內核組織:硬體相依和獨立的資料結構
- 進程和線程管理:進程表、記憶體管理、排程和完整的進程/線程生命週期
- 系統級記憶體資源:分配和映射到實體記憶體
- HP-UX 分頁和交換
- 檔案和檔案系統:傳統的 UNIX 檔案系統、HFS、VFS 和動態緩衝區快取
- I/O 和設備管理:位址、DMA、中斷、設備檔案、I/O 配置、設備驅動程式分配和 I/O 請求路徑
- 邏輯卷管理(LVM):將物理磁碟抽象化為磁碟 I/O 系統
- HP-UX 多處理:挑戰、資料結構和介面
- 內核通訊服務:信號量、訊息佇列、共享記憶體、信號和內核「呼叫」系統
- 在複雜的多線程環境中進行信號處理
- 系統初始化,從 vmunix 到 init:在不同平台上運行 HP-UX

無論您是管理 HP-UX、調整它、故障排除它還是為它編寫內核模組,您都會發現《HP-UX 11i 內部》是不可或缺的。

目錄:
前言
致謝
圖表清單
表格清單
清單清單
1. PA-RISC 2.0 架構
- RISC 架構
- 硬體模組
- 暫存器
- 虛擬記憶體支援
- 位址轉換
- 中斷
- 總結

2. 程序呼叫約定
- 暫存器使用
- PA-RISC 指令
- 程序呼叫模型
- 程序返回模型
- 堆疊使用
- 總結

3. 內核:基本組織
- 一般概述
- 所有 I/O 都是檔案 I/O
- 抽象層
- 一些一般內核技術
- HP-UX 內核概述
- 基本內核資料結構:第一次通過
- 內核進程表
- 內核檔案系統表
- 內核輸入/輸出表
- 驅動程式和開關表
- 總結

4. 程序、進程和線程
- 相關角色
- 進程及其線程
- 線程模型和 HP-UX
- 系統呼叫介面
- 總結

5. 從進程的角度管理進程和線程
- 進程及其資源
- 進程表
- kthread 表
- 進程的邏輯視圖
- 記憶體視窗
- 建立邏輯映射
- 進程/線程排程
- 執行佇列
- 總結

6. 管理記憶體
- 記憶體管理的基本概念
- 記憶體管理的目標
- 記憶體管理的方法
- 記憶體管理的挑戰
- 記憶體管理的資料結構
- 記憶體管理的演算法
- 總結

......(以下省略)