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