Solaris Internals / Edition 1

Solaris Internals / Edition 1

by Jim Mauro, Richard McDougall, Sun Microsystems Press
     
 

ISBN-10: 0130224960

ISBN-13: 9780130224965

Pub. Date: 10/06/2000

Publisher: Prentice Hall

The definitive Sun Microsystems guide to the internals of the Solaris kernel.

This book focuses on the core kernel functions, major data structures and algorithms. Its practical approach makes it an essential resource for anyone responsible for kernel, driver or application software. Anyone doing development, debugging, maintenance, performance tuning, capacity

…  See more details below

Overview

The definitive Sun Microsystems guide to the internals of the Solaris kernel.

This book focuses on the core kernel functions, major data structures and algorithms. Its practical approach makes it an essential resource for anyone responsible for kernel, driver or application software. Anyone doing development, debugging, maintenance, performance tuning, capacity planning, or application tuning will also benefit from Mauro and McDougall's in-depth coverage of the Solaris kernel.

This authoritative and comprehensive guide covers the key components that comprise the Solaris kernel. The modular architecture of the kernel is discussed and each major subsystem is fully explored. Topics covered include:

  • Scheduler implementation and behavior
  • The Solaris multi-threaded architecture
  • Multi-threaded synchronization primitives
  • The Solaris Virtual Memory implementation, including tools for memory measurement and analysis
  • The Virtual File System framework
  • Techniques for analyzing kernel behavior and structures with sar, vmstat, crash, and adb

Solaris Internals is an indispensable reference for kernel developers and is full of useful information for monitoring and optimizing Solaris systems. Whether you're a software developer, systems architect, system administrator, or performance analyst, you'll rely on it constantly.

Read More

Product Details

ISBN-13:
9780130224965
Publisher:
Prentice Hall
Publication date:
10/06/2000
Series:
Solaris Series
Edition description:
Older Edition
Pages:
704
Product dimensions:
6.50(w) x 9.00(h) x 1.70(d)

Related Subjects

Table of Contents

I. 1 INTRODUCTION TO SOLARIS INTERNALS.

1. An Introduction to Solaris.

A Brief History. Key Differentiators. Kernel Overview. Processes, Threads, and Scheduling. Interprocess Communication. Signals. Memory Management. Files and File Systems. I/O Architecture.

2. Kernel Services.

Access to Kernel Services. Entering Kernel Mode. Context. Execution Context. Virtual Memory. Interrupts. System Calls. The Kernel Callout Table. The System Clock.

3. Kernel Synchronization Primitives.

Synchronization. Parallel Systems Architectures. Hardware Considerations for Locks and Synchronization. Introduction to Synchronization Objects. Mutex Locks. Reader/Writer Locks. Turnstiles and Priority Inheritance. Dispatcher Locks. Kernel Semaphores.

4. Kernel Bootstrap and Initialization.

Kernel Directory Hierarchy. Kernel Bootstrap and Initialization. Kernel Module Loading and Linking.

II. 123 THE SOLARIS MEMORY SYSTEM.

5. Solaris Memory Architecture.

Why Have a Virtual Memory System? Modular Implementation. Virtual Address Spaces. Memory Segments. Anonymous Memory. Virtual Memory Watchpoints. Global Page Management. The Page Scanner. The Hardware Address Translation Layer. Large Pages.

6. Kernel Memory.

Kernel Virtual Memory Layout. Kernel Memory Allocation.

7. Memory Monitoring.

A Quick Introduction to Memory Monitoring. Memory Monitoring Tools. The vmstat Command. MemTool: Unbundled Memory Tools. Other Memory Tools.

III. THREADS, PROCESSES, AND IPC.

8. The Solaris Multithreaded Process Architecture.

Introduction to Solaris Processes. Process Structures. The Kernel Process Table. Process Creation. Process Termination. Procfs - The Process File System. Signals. Sessions and Process Groups.

9. The Solaris Kernel Dispatcher.

Overview. The Kernel Dispatcher. The Kernel Sleep/Wakeup Facility. Scheduler Activations. Kernel Processor Control and Processor Sets.

10. Interprocess Communication.

Generic System V IPC Support. System V Shared Memory. System V Semaphores. System V Message Queues. POSIX IPC. Solaris Doors.

PART IV. FILES AND FILE SYSTEMS

11. Solaris Files and File I/O.

Files in Solaris. File Application Programming Interfaces (APIs). System File I/O. Asynchronous I/O. Memory Mapped File I/O. 64-bit Files in Solaris. 64-bit Device Support in Solaris.

12. File System Overview.

Why Have a File System? Support for Multiple File System Types. Regular (On-Disk) File Systems. File Systems Logging (Journaling). Expanding and Shrinking File Systems. Direct I/O.

13. File System Framework.

Solaris File System Framework. The vnode. The vfs Object. File System I/O. Path-Name Management. The File System Flush Daemon.

14. The UNIX File System.

UFS Development History. UFS On-Disk Format. UFS Implementation.

15. Solaris File System Cache.

Introduction to File Caching. Page Cache and Virtual Memory System. Is All That Paging Bad for My System? Paging Parameters That Affect File System Performance. Bypassing the Page Cache with Direct I/O. Directory Name Cache. Inode Caches.

Appendix A: Kernel Tunables, Switches, and Limits.

Appendix B: Kernel Virtual Address Maps.

Appendix C: A Sample Procfs Utility.

Bibliography.

Index.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >