Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Solaris¿ Internals (Vol 1) 1st Edition

4.6 out of 5 stars 30 customer reviews
ISBN-13: 978-0130224965
ISBN-10: 0130224960
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$19.93 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$74.99 On clicking this link, a new layer will be open
More Buying Choices
14 New from $14.99 26 Used from $0.01

There is a newer edition of this item:

Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

The Numberlys Best Books of the Year So Far
$74.99 FREE Shipping or choose faster FREE Shipping with Amazon Prime Only 1 left in stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Editorial Reviews

From the Inside Flap


The internals of the UNIX kernel are fairly well-documented, most notably by Goodheart and Cox 10, Bach 1, McKusick et al. 19, and Vahalia 39. These texts have become a common source of reference information for those who want to better understand the internals of UNIX. However little has been written about the specifics of the Solaris kernel.

The paucity of Solaris specific information led us to create our own reference material. As we published information through white papers, magazine columns, and tutorials, the number of folks expressing interest motivated us to produce a complete work that discussed Solaris exclusively. About This Book

This book is about the internals of Sun's Solaris Operating Environment. The rapid growth of Solaris has created a large number of users, software developers, systems administrators, performance analysts, and other members of the technical community, all of whom require in-depth knowledge about the environment in which they work.

Since the focus of this book is the internals of the Solaris kernel, the book provides a great deal of information on the architecture of the kernel and the major data structures and algorithms implemented in the operating system. However, rather than approach the subject matter from a purely academic point of view, we wrote the book with an eye on the practical application of the information contained herein. Thus, we have emphasized the methods and tools that can be used on a Solaris system to extract information that otherwise is not easily accessible with the standard bundled commands and utilities. We want to illustrate how you can apply this knowledge in a meaningful way, as your job or interest dictates.

To maximize the usefulness of the text, we included specific information on Solaris versions 2.5.1, 2.6, and Solaris 7. We cover the major Solaris subsystems, including memory management, process management, threads, files, and file systems. We do not cover details of low-level I/O, device drivers, STREAMS, and networking. For reference material on these topics, see "Writing Device Drivers" 28, the "STREAMS Programming Guide" 29, and "UNIX Network Programming" 32.

The material included in this book is not necessarily presented at an introductory level, although whenever possible we begin discussing a topic with some conceptual background information. We assume that you have some familiarity with operating systems concepts and have used a UNIX-based operating system. Some knowledge of the C programming language is useful but not required.

Because of the variety of hardware platforms on which Solaris runs, it is not practical to discuss the low-level details of all the different processors and architectures, so our hardware focus, when detail is required, is admittedly UltraSPARC-centric. This approach makes the most sense since it represents the current technology and addresses the largest installed base. In general, the concepts put forth when detail is required apply to other processors and platforms supported. The differences are in the specific implementation details, such as per-processor hardware registers.

Throughout the book we refer to specific kernel functions by name as we describe the flow of various code segments. These routines are internal to the operating system and should not be construed as, or confused with, the public interfaces that ship as part of the Solaris product line-the systems calls and library interfaces. The functions referenced throughout the text, unless explicitly noted, are private to the kernel and not callable or in any way usable by application programs. Intended Audience

We hope that this book will serve as a useful reference for a variety of technical staff members working with the Solaris Operating Environment.

Application developers can find information in this book about how Solaris implements functions behind the application programming interfaces. This information helps developers understand performance, scalability, and implementation specifics of each interface when they develop Solaris applications. The system overview section and sections on scheduling, interprocess communication, and file system behavior should be the most useful sections. Device driver and kernel module developers of drivers, STREAMS modules, loadable system calls, etc., can find herein the general architecture and implementation theory of the Solaris Operating Environment. The Solaris kernel framework and facilities portions of the book (especially the locking and synchronization primitives chapters) are particularly relevant. Systems administrators, systems analysts, database administrators, and ERP managers responsible for performance tuning and capacity planning can learn about the behavioral characteristics of the major Solaris subsystems. The file system caching and memory management chapters provide a great deal of information about how Solaris behaves in real-world environments. The algorithms behind Solaris tunable parameters (which are detailed in Appendix A) are covered in depth throughout the book. Technical support staff responsible for the diagnosis, debugging, and support of Solaris will find a wealth of information about implementation details of Solaris. Major data structures and data flow diagrams are provided in each chapter to aid debugging and navigation of Solaris Systems. System users who just want to know more about how the Solaris kernel works will find high-level overviews at the start of each chapter.

In addition to the various technical staff members listed above, we also believe that members of the academic community will find the book of value in studying how a volume, production kernel implements major subsystems and solves the problems inherent in operating systems development. How This Book Is Organized

We organized Solaras Internals into several logical parts, each part grouping several chapters containing related information. Our goal was to provide a building block approach to the material, where later sections build on information provided in earlier chapters. However, for readers familiar with particular aspects of operating systems design and implementation, the individual parts and chapters can stand on their own in terms of the subject matter they cover.

Part One: Introduction to Solaris Internals Chapter 1 — An Introduction to Solaris Chapter 2 — Kernel Services Chapter 3 — Kernel Synchronization Primitives Chapter 4 — Kernel Bootstrap and Initialization Part Two: The Solaris Memory System Chapter 5 — Solaris Memory Architecture Chapter 6 — Kernel Memory Chapter 7 — Memory Monitoring Part Three: Threads, Processes, and IPC Chapter 8 — The Solaris Multithreaded Process Architecture Chapter 9 — The Solaris Kernel Dispatcher Chapter 10 — Interprocess Communication Part Four: Files and File Systems Chapter 11 — Solaris Files and File I/O Chapter 12 — File System Overview Chapter 13 — File System Framework Chapter 14 — The UNIX File System Chapter 15 — Solaris File System Cache

Solaris Source Code

In February 2000, Sun announced the availability of Solaris source. This book provides the essential companion to the Solaris source and can be used as a guide to the Solaris kernel framework and architecture.

It should also be noted that the source available from Sun is the Solaris 8 source. Although this book covers Solaris versions up to and including Solaris 7, almost all of the material is relevant to Solaris 8. Updates and Related Material

To complement this book, we created a Web site where we will place updated material, tools we refer to, and links to related material on the topics covered. The Web site is available at solarisinternals. A Note from the Authors

We certainly hope that you get as much out of reading Solaris Internals as we did from writing it. We welcome comments, suggestions, and questions from readers.

From the Back Cover

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.


The latest book club pick from Oprah
"The Underground Railroad" by Colson Whitehead is a magnificent novel chronicling a young slave's adventures as she makes a desperate bid for freedom in the antebellum South. See more

Product Details

  • Paperback: 704 pages
  • Publisher: Prentice Hall; 1 edition (October 15, 2000)
  • Language: English
  • ISBN-10: 0130224960
  • ISBN-13: 978-0130224965
  • Product Dimensions: 6.7 x 1.7 x 9 inches
  • Shipping Weight: 2.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (30 customer reviews)
  • Amazon Best Sellers Rank: #302,253 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

Format: Paperback Verified Purchase
While taking the Sun Solaris Internals class, a pre-publication copy of this book was floating around the classroom. Of course I latched on and read as much of it as I could and was very impressed with the depth and amount of useful information contained in this book It simply is the best resource on Solaris Internals that I have ever read.
I finally received my own copy after 6 months of waiting, and am one happy camper. If you are a Solaris kernel developer, system admin, performance analysts, or kernel debugger, this is a must-have book. Almost all aspects of Solaris are covered with the exception of device drivers and low-level I/O.
My only complaints are the length of time it took to release the book, it does not cover Solaris 8, and page 108 is missing.
Comment 24 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Solaris Internals is a must read for system programmers and anyone interested in Operating System Design. The book is loaded with important information and splendidly organized into 4 major sections. Each section is well thought out and walks you from subject to subject, with serious technical depth. I found myself writing test programs throughout the book and am certain I've learned a great many things.
Part One deals with traps, interrupts, callouts, contexts, and lock primitives and goes where the Sparc/SparcV9 Architecture Manuals did not.
My favorite section was Part Two (Solaris Memory System), it left me with a clear understanding of _everything_ related to memory: HAT, TSB's, TLB, MMU, phys mem organization, page table hashing, paging, page scanner, address spaces and segments, seg drivers, slab allocator, watchpoints, multiple page sizing, memory managment strats, to name a few subjects...
Part Three deals with threads, processes, and IPC. It has a large and very useful section on the Kernel Dispatcher and scheduling.
Part Four deals with everything 'file system'; DNLC, pn lookups, mmap, direct io, aio, fs cache, vnodes, vfs, etc. It contains useful details of useful Solaris features, which are easy to overlook in system manual pages.
Finally, Solaris Internals contains many data structure diagrams, charts, and tables -- the diagrams alone are enough to make the book useful!
A well written and _useful_ book ;)
Comment 15 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
When my Sun SE showed up with a copy of "Solaris Internals," he immediately went to the top of my "favorite vendor contacts" list (right above the sales guy with the Starfire jackets). Mauro's "Solaris Internals" is a worthy addition to a distinguished line of Unix analyses (Goodheart and Cox; Vahalia; and, of course, Bach).
Mauro's "Sunworld" columns have gained fame for their clarity and brevity, often showing up as Sun technical whitepapers. "Internals" continues this tradition by providing straightforward discussions of hardware memory management, process dispatching, shared memory, OS caches (such as the much-maligned DNLC), and many other topics. This is the sort of information that you would otherwise have to infer from SunSolve bug reports (an exercise that makes litigating Florida election laws look trivial).
Those looking for cookbook solutions won't find this book to be of much help -- though Mauro often provides concrete advice amongst the abstractions, the book is dedicated largely to the sort of subtleties that dissertations are made of. Cockcroft and Wong are probably better choices for "in the trenches" sysadmin advice. But, if you're willing to invest the time and effort (and it's a *lot* of both!), Mauro's is as good an analysis as you will find.
Comment 8 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
This is an author response to a very bizarre review:

>Ok so here's the deal. The author misleads you in order to "simplify" things.

There is zero truth to this statement. I challenge the reviwer to provide just 1

example of a misleading or ambiguous line of text in this book. This is a

nasty accusation - I have no idea where this person is coming from.

> not somebody's watered down, easy to digest, but dangerously incorrect

> simplification.

Yikes! Again, I challenge this person to provide just 1 example of something they

consider watered down, or something that is incorrect. "dangerously incorrect

simplification" - how does someone have the audacity to make such strong statements, and not back them up with any proof?

> Unfortunately, it's a must-have because it covers some of Sun's modifications

> and extensions to the System V kernel.

> Lastly, I have to mention that I found some sentences in the book that

> match word for word other sentences in "The Magic Garden Explained?"

This is a very serious accusation. There were zero references made to The Magic

Garden during the writing of this book. Once again, this person sees fit to make

a very serious accusation, backed by nothing.

I would be happy to discuss any of these concerns with anyone interested.

Please feel free to contact me at jim.mauro@gmail.com.

A note to "husband of Sarah" - please contact me at the above email address, and

provide me with specific examples of watered-down rubbish and simplified incorrect text. Thank you.
Comment 4 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Solaris¿ Internals (Vol 1)
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Solaris¿ Internals (Vol 1)