1 .\" $NetBSD: 1.t,v 1.2 1998/01/09 06:54:28 perry Exp $
3 .\" Copyright (c) 1985 The Regents of the University of California.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" @(#)1.t 5.1 (Berkeley) 4/17/91
38 The Berkeley Software Distributions of
40 for the VAX have added many new capabilities that were
41 previously unavailable under
43 The development effort for 4.2BSD concentrated on providing new
44 facilities, and in getting them to work correctly.
45 Many new data structures were added to the system to support
46 these new capabilities.
48 many of the existing data structures and algorithms
49 were put to new uses or their old functions placed under increased demand.
50 The effect of these changes was that
51 mechanisms that were well tuned under 4.1BSD
52 no longer provided adequate performance for 4.2BSD.
53 The increased user feedback that came with the release of
54 4.2BSD and a growing body of experience with the system
55 highlighted the performance shortcomings of 4.2BSD.
57 This paper details the work that we have done since
58 the release of 4.2BSD to measure the performance of the system,
59 detect the bottlenecks,
60 and find solutions to remedy them.
61 Most of our tuning has been in the context of the real
62 timesharing systems in our environment.
63 Rather than using simulated workloads,
64 we have sought to analyze our tuning efforts under
66 Much of the work has been done in the machine independent parts
67 of the system, hence these improvements could be applied to
68 other variants of UNIX with equal success.
69 All of the changes made have been included in 4.3BSD.
71 Section 2 of the paper describes the tools and techniques
72 available to us for measuring system performance.
73 In Section 3 we present the results of using these tools, while Section 4
74 has the performance improvements
75 that have been made to the system based on our measurements.
76 Section 5 highlights the functional enhancements that have
77 been made to Berkeley UNIX 4.2BSD.
78 Section 6 discusses some of the security problems that