The Design and Implementation of the FreeBSD Operating System / Edition 1by Marshall Kirk McKusick, George V. Neville-Neil, George V. Neville-Neil
Pub. Date: 08/02/2004
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;
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.
- Publication date:
- Edition description:
- New Edition
- Product dimensions:
- 6.59(w) x 9.62(h) x 1.69(d)
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.
and post it to your social network
Most Helpful Customer Reviews
See all customer reviews >
For some 15 years or more, Addison-Wesley has published a set of definitive books on Unix, C and the Internet. It is a pleasure to see that this FreeBSD book continues that tradition. The book goes into a detailed explanation of FreeBSD's kernel and associated matters. Strictly for the experienced unix programmer or systems developer. At the core of the kernel are many algorithms. It is these and their data structures that are the essence of this book. Also worthy of mention is the inclusion of exercises at the end of each chapter. Given that we have an algorithms book, the subject lends itself readily to probing questions, and it is nice that the authors chose to do so. We also have a discussion of FreeBSD versus linux. In recent years, linux has grown hugely, and has overtaken FreeBSD. The authors face this issue squarely. That is, if you are choosing a unix to develop on, why pick FreeBSD? The main point is that for anything you make under it, you do not have to fold back into the main FreeBSD thread, by revealing or relinquishing the source code or any other intellectual property.