Always Learning

Solaris Internals
Jim Mauro
Richard McDougall
Sun Microsystems PressPalo Alto, CA

ISBN-10: 0130224960
ISBN-13:  9780130224965

Publisher:  Prentice Hall
Copyright:  2001
Format:  Paper; 704 pp
Published:  10/05/2000
Status: Instock


Customers outside the U.S., click here.


Print this content

In this section:


Description

Offers expert guidance in performance tuning, memory analysis, sizing. Also covers Kernel organization and process.


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.



Back to top

Print this content

In this section:


Sample Chapter

View a Sample Chapter PDF:/samplechapter/0130224960.pdf


Author Bios

JIM MAURO has 20 years of industry experience with UNIX systems. Jim is a senior engineer in the Performance Applications Engineering group at Sun Microsystems. When Jim is not wrestling with his two sons, his house, or his yard, he works on systems and applications availability and resource management-related projects for Sun.

RICHARD McDOUGALL is a senior engineer in the Performance Applications Engineering group at Sun Microsystems, focusing on enterprise systems architecture, large system performance, and OS technology. He has been known to have some knowledge of operating system architecture and internals. When Richard isn't tinkering with cars or racing karts, he is usually found analyzing system performance, contributing to Solaris development, and developing tools for measurement, monitoring, tracing, and sizing UNIX systems.


Backcover Copy

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.

Back to top

Print this content

This product is a member of the following series. Click on the series name to see the full list of products in the series.

Back to top

Log in to the Instructor Resource Center

Login name: 

  Password: 

Forgot login/password?  |  Need to redeem an access code?

        

Instructor Resource Center File Download

This work is protected by local and international copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from this site should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.

Cancel     I accept, proceed with download

Print this content

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.

Back to top