Skip to content
ISBN: 0130224960
ISBN13: 9780130224965

Solaris Internals

$11.59List Price: $74.99
Save $63.40!
ISBN: 0130224960
ISBN13: 9780130224965
Formats

Conditions

An apparently unread copy in perfect condition.

Formats

Conditions

An apparently unread copy in perfect condition.

See all 2 editionsfrom $11.09

Book Overview

PREFACE 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 developerscan 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 developersof 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 managersresponsible 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 staffresponsible 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 moreabout 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 bloc This description may be from another edition of this product.
Format:
Hardcover
Language:
English
ISBN:
0130224960
ISBN13:
9780130224965
Release Date:
October 2000
Publisher:
Prentice Hall PTR
Length:
704 Pages
Weight:
0.26 lbs.
Dimensions:
1.2″ × 9.5″ × 9.0″
Computer ScienceComputersComputers & TechnologyEducation & ReferenceMathematicsOperating SystemsReferenceScienceScience & MathScience & Scientists

More by Jim Mauro

Customer Reviews

5 customer ratings | 5 reviews
Write a Review

Excellent Peek into Solaris Kernel

Very nicely written book. It's hard though sometimes to understand, and sometimes difficult to follow as the author does not sometimes follow a logical and gradual approach in explaining the topic, like in the case of VMM. However, the book is a must have for someone interested in knowing how Solaris works. If you are able to understand the book cover to cover, you can claim full understanding of Solaris Internals.

0

An in depth analysis of Solaris architecture

There are no other books in print that can give you the specifics of Solaris in such detail as this one. If you are developing software for the Solaris platform this book will give you a greater understanding of how Solaris works internally. I know... Reading a book on OS Internals can be a bit dry at times, but this book is truly a great companion to Unix Internals, The Design of the 4.4 BSD Operating System, and The Design of the UNIX Operating System and belongs on the bookshelf of any self respecting UNIX geek.Highest recommendation.

0

A comprehensive and uncompromising exploration

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.

0

Most Excellent!

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 ;)--joey

0

Excellect book on Solaris Internals

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.

0