kernel - Fix SMP race in procfs
[dragonfly.git] / share / doc / papers / diskperf / motivation.ms
1 .\" Copyright (c) 1983 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. Neither the name of the University nor the names of its contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\"     @(#)motivation.ms       6.2 (Berkeley) 4/16/91
29 .\"
30 .ds RH Motivation
31 .NH
32 Motivation
33 .PP
34 These benchmarks were performed for several reasons.
35 Foremost was our desire to obtain guideline to aid
36 in choosing one the most expensive components of any
37 VAX UNIX configuration, the disk storage system.
38 The range of choices in this area has increased dramatically
39 in the last year.
40 DEC has become, with the introduction of the UDA50/RA81 system,
41 cost competitive
42 in the area of disk storage for the first time.
43 Emulex's entry into the VAX 11/780 SBI controller
44 field, the SC780, represented an important choice for us to examine, given
45 our previous success with their VAX 11/750 SC750 controller and
46 their UNIBUS controllers.
47 The Fujitsu 2351A
48 Winchester disk drive represents the lowest cost-per-byte disk storage
49 known to us.
50 In addition, Fujitsu's reputation for reliability was appealing.
51 The many attractive aspects of these components justified a more
52 careful examination of their performance aspects under UNIX.
53 .PP
54 In addition to the direct motivation of developing an effective
55 choice of storage systems, we hoped to gain more insight into
56 VAX UNIX file system and I/O performance in general.
57 What generic characteristics of I/O subsystems are most
58 important?
59 How important is the location of the controller on the SBI/CMI versus
60 the UNIBUS?
61 Is extensive buffering in the controller essential or even important?
62 How much can be gained by putting more of the storage system
63 management and optimization function in the controller as
64 DEC does with the UDA50?
65 .PP
66 We also wanted to resolve particular speculation about the value of
67 storage system optimization by a controller in a UNIX
68 environment.
69 Is the access optimization as effective as that already provided
70 by the existing 4.2BSD UNIX device handlers for traditional disks?
71 VMS disk handlers do no seek optimization.
72 This gives the UDA50 controller an advantage over other controllers
73 under VMS which is not likely to be as important to UNIX.
74 Are there penalties associated with greater intelligence in the controller?
75 .PP
76 A third and last reason for evaluating this equipment is comparable
77 to the proverbial mountain climbers answer when asked why he climbs
78 a particular mountain,
79 ``It was there.''
80 In our case the equipment
81 was there.
82 We were lucky enough to assemble all the desired disks and controllers
83 and get them installed on a temporarily idle VAX 11/780.
84 This got us started collecting data.
85 Although many of the tests were later rerun on a variety of other systems,
86 this initial test bed was essential for working out the testing bugs
87 and getting our feet wet.
88 .ds RH Equipment
89 .bp