HP-UX Internals
暫譯: HP-UX 內部結構

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 Cooper、Chris 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 核心組織:硬體依賴和獨立的數據結構

  • 進程和線程管理:proc 表、內存管理、調度和完整的進程/線程生命週期

  • 系統範圍的內存資源:分配和映射到物理內存

  • HP-UX 分頁和交換

  • 文件和文件系統:傳統 UNIX 文件系統、HFS、VFS 和動態緩衝區快取

  • I/O 和設備管理:尋址、DMA、中斷、設備文件、I/O 配置、設備驅動程序分配和 I/O 請求路徑

  • 邏輯卷管理 (LVM):將物理磁碟抽象化以適應磁碟 I/O 系統

  • HP-UX 多處理:挑戰、數據結構和介面

  • 核心通信服務:信號量、消息隊列、共享內存、信號和核心的 'callout' 系統

  • 在複雜的線程環境中的信號處理

  • 系統初始化,從 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. 從進程的角度管理進程和線程。



一個進程及其資源。proc 表。kthread 表。進程的邏輯視圖。內存窗口。構建邏輯映射。進程/線程調度。運行隊列。總結。


6. 管理內存。



內存類型。系統的虛擬地址空間。虛擬到物理頁表。核心視圖:哈希表。共享對象。b-tree、broot、bnodes 和 chunks。頁面列表。將核心視圖與進程視圖連接。跟踪空閒物理頁框。可變頁面大小。HP-UX 11.0 的物理內存分配器。總結。


7. HP-UX 分頁系統。



按需頁面。監控空閒內存。夜間小偷:vhand。預留與分配。偽交換。設備交換。文件系統交換。交換優先級。在核心結構中跟踪交換。總結。


8. 文件和文件系統。



文件系統概念。新改進的 UNIX 文件系統。核心對文件系統的視圖。總結。




9. 進程生命週期,從搖籃到墳墓。



進程的誕生。fork() 調用的歷史回顧。fork1() 核心例程。進程和線程狀態:閒置的手。進程身份危機:exec() 系統調用。共享內存對象重訪。exit() 系統調用的機制。總結。


10. I/O 和設備管理。



PA-RISC I/O 架構。I/O 框架。I/O 雜項。總結。


11. 邏輯卷管理器。



LVM 設計概念。磁碟常駐數據結構。LVM:核心視圖。總結。


12. 多處理和 HP-UX。



硬體概述。多處理數據結構。同步。總結。


13. 核心服務。



呼叫表。核心內存分配。總結。


14. 信號。



信號數據結構。信號預測。信號傳遞。信號識別。信號處理程序啟動。總結。


15. 系統初始化。



ISL:初始系統加載器。HPUXBOOT:次級加載器。實模式初始化。虛擬模式初始化。總結。


16. 工具概述。



adb。q4。總結。


索引。