Design and Implementation of the FreeBSD Operating System, The
Product Author Bios
Marshall Kirk McKusick writes books and articles, consults, and teaches classes on UNIX- and BSD-related subjects. While at the University of California at Berkeley, he implemented the 4.2BSD fast file system, and was the research computer scientist at the Berkeley Computer Systems Research Group (CSRG) overseeing the development and release of 4.3BSD and 4.4BSD. He has twice served as the president of the board of the Usenix Association.
George V. Neville-Neil works on network and operating system code for fun and profit and teaches programming. He also serves on the editorial board of Queue magazine and is a member of the Usenix Association, ACM, and IEEE.
As in earlier Addison-Wesley books on the UNIX-based BSD operating system, Kirk McKusick and George Neville-Neil deliver here the most comprehensive, up-to-date, and authoritative technical information on the internal structure of open source FreeBSD. Readers involved in technical and sales support can learn the capabilities and limitations of the system; applications developers can learn effectively and efficiently how to interface to the system; system administrators can learn how to maintain, tune, and configure the system; and systems programmers can learn how to extend, enhance, and interface to the system.
The authors provide a concise overview of FreeBSD's design and implementation. Then, while explaining key design decisions, they detail the concepts, data structures, and algorithms used in implementing the systems facilities. As a result, readers can use this book as both a practical reference and an in-depth study of a contemporary, portable, open source operating system.
- Details the many performance improvements in the virtual memory system
- Describes the new symmetric multiprocessor support
- Includes new sections on threads and their scheduling
- Introduces the new jail facility to ease the hosting of multiple domains
- Updates information on networking and interprocess communication
Already widely used for Internet services and firewalls, high-availability servers, and general timesharing systems, the lean quality of FreeBSD also suits the growing area of embedded systems. Unlike Linux, FreeBSD does not require users to publicize any changes they make to the source code.
42 of 43 people found the following review helpful
Hardly a wasted word in this guide to the FreeBSD kernel,
This review is from: The Design and Implementation of the FreeBSD Operating System (Hardcover)I have been administering FreeBSD systems for four years, and I read 'The Design' to get a better understanding of the system 'under the hood.' This book is definitely not for beginners, and intermediate users like myself can become quickly overwhelmed. Nevertheless, I am very glad FreeBSD developers like McKusick and Neville-Neil took the time to document the kernel in this book.
Before tackling 'The Design,' I recommend reading a book like 'Modern Operating Systems, 2nd Ed' by Andrew Tannenbaum. The reader needs to be familiar with OS concepts and terms like 'mutex,' 'semaphore,' 'locking,' and so on before reading 'The Design.' If for some reason you want to read 'The Design' but are not familiar with userland FreeBSD issues, I recommend Greg Lehey's 'Complete FreeBSD, 4th Ed.'
I was unable to grasp all of the material in 'The Design,' since some of it will appeal only to those coding their own kernels or who are equipped to debate the FreeBSD core team's... Read more
15 of 15 people found the following review helpful
Highly recommended for learning how a kernel works in practice,
This review is from: The Design and Implementation of the FreeBSD Operating System (Hardcover)First of all you should be warned that this is not an introduction to get started with UNIX kernel programming. The Design of the UNIX Operating System by M.J. Bach provides a good general introduction to UNIX kernel programming. The design and implementation of the FreeBSD operating system is an excellent book to deepen knowledge of the UNIX kernel by looking how a current UNIX is implemented in practice. Even if you plan to write code for another kernel, working through the FreeBSD kernel with this book as a guide is a good excercise to become consious of the fundamental problems and solutions in kernel design. FreeBSD (or any of the other BSDs) is a good starting point, because the BSDs have relatively stable kernel subsystems and APIs due to the long cycles in BSD development.
The writing style of the authors is to the point (don't expect a novel) and clear. The troff typesetting of the book gives it a consistent style and simple, but clear diagrams (though I heard that... Read more
24 of 28 people found the following review helpful
In depth, well written and impressive,
This review is from: The Design and Implementation of the FreeBSD Operating System (Hardcover)This hardback academic style book is an impressive piece of work. The writing style is serious, but not overwhelming, and the use of graphics is appropriate and effective. The organization is what you would expect, it cuts the Kernel as if it were an onion and starts at the center, covering I/O and devices, goes through process management, file systems, IPC and networking. There are exercises at the end of every chapter.
This book is a genuinely impressive piece of work. It's well worth the money for anyone looking for a computer science work on operating systems construction.
› See all 12 customer reviews...
Online Sample Chapter
Download the Index
file related to this title.
Table of Contents
About the Authors.
1. History and Goals.
History of the UNIX System.
BSD and Other Systems.
The Transition of BSD to Open Source.
The FreeBSD Development Model.
2. Design Overview of FreeBSD.
FreeBSD Facilities and the Kernel.
3. Kernel Services.
Traps and Interrupts.
User, Group, and Other Identifiers.
4. Process Management.
Introduction to Process Management.
Process Groups and Sessions.
5. Memory Management.
Overview of the FreeBSD Virtual-Memory System.
Kernel Memory Management.
Creation of a New Process.
Execution of a File.
Process Manipulation of Its Address Space.
Termination of a Process.
The Pager Interface.
III. I/O SYSTEM.
6. I/O System Overview.
I/O Mapping from User to Device.
Descriptor Management and Services.
The Virtual-Filesystem Interface.
The GEOM Layer.
The CAM Layer.
The ATA Layer.
8. Local Filesystems.
Hierarchical Filesystem Management.
Structure of an Inode.
The Local Filestore.
The Berkeley Fast Filesystem.
9. The Network Filesystem.
History and Overview.
NFS Structure and Operation.
Techniques for Improving Performance.
10. Terminal Handling.
The tty Structure.
Process Groups, Sessions, and Terminal Control.
RS-232 and Modem Control.
Other Line Disciplines.
IV. INTER PROCESS COMMUNICATION.
11. Interprocess Communication.
Implementation Structure and Overview.
12. Network Communication.
Interface Between Protocol and Network Interface.
Buffering and Congestion Control.
Additional Network-Subsystem Topics.
13. Network Protocols.
IPv4 Network Protocols.
User Datagram Protocol (UDP).
Internet Protocol (IP).
Transmission Control Protocol (TCP).
TCP Input Processing.
TCP Output Processing.
Internet Control Message Protocol (ICMP).
V. SYSTEM OPERATION.
14. Startup and Shutdown.
Kernel Module Initialization.
Downloadable Sample Chapter
Download the Sample
Chapter related to this title.
Book + eBook Bundle
Book Price $59.99
eBook Price $21.00
eBook formats included
This book includes free shipping!
This book includes free shipping!
Includes EPUB, MOBI, and PDF
About eBook Formats
This eBook includes the following formats, accessible from your Account page after purchase:
EPUBThe open industry format known for its reflowable content and usability on supported mobile devices.
MOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDFThe popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.