]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/doc/papers/diskperf/conclusions.ms
Add a tools/build/make.py script that bootstraps bmake and then runs the build
[FreeBSD/FreeBSD.git] / share / doc / papers / diskperf / conclusions.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 .\"     @(#)conclusions.ms      6.2 (Berkeley) 4/16/91
29 .\" $FreeBSD$
30 .\"
31 .ds RH Conclusions
32 .NH
33 Conclusions
34 .PP
35 Peak available throughput is only one criterion
36 in most storage system purchasing decisions.
37 Most of the VAX UNIX systems we are familiar with
38 are not I/O bandwidth constrained.
39 Nevertheless, an adequate disk bandwidth is necessary for
40 good performance and especially to preserve snappy
41 response time.
42 All of the disk systems we tested provide more than
43 adequate bandwidth for typical VAX UNIX system application.
44 Perhaps in some I/O-intensive applications such as
45 image processing, more consideration should be given
46 to the peak throughput available.
47 In most situations, we feel that other factors are more
48 important in making a storage choice between the systems we
49 tested.
50 Cost, reliability, availability, and support are some of these
51 factors.
52 The maturity of the technology purchased must also be weighed
53 against the future value and expandability of newer technologies.
54 .PP
55 Two important conclusions about storage systems in general
56 can be drawn from these tests.
57 The first is that buffering can be effective in smoothing
58 the effects of lower bus speeds and bus contention.
59 Even though the UDA50 is located on the relatively slow
60 UNIBUS, its performance is similar to controllers located on
61 the faster processor busses.
62 However, the SC780 with only one sector of buffering shows that
63 little buffering is needed if the underlying bus is fast enough.
64 .PP
65 Placing more intelligence in the controller seems to hinder UNIX system
66 performance more than it helps.
67 Our profiling tests have indicated that UNIX spends about
68 the same percentage of time in the SC780 driver and the UDA50 driver
69 (about 10-14%).
70 Normally UNIX uses a disk sort algorithm that separates reads and
71 writes into two seek order queues.
72 The read queue has priority over the write queue,
73 since reads cause processes to block,
74 while writes can be done asynchronously.
75 This is particularly useful when generating large files,
76 as it allows the disk allocator to read
77 new disk maps and begin doing new allocations
78 while the blocks allocated out of the previous map are written to disk.
79 Because the UDA50 handles all block ordering,
80 and because it keeps all requests in a single queue,
81 there is no way to force the longer seek needed to get the next disk map.
82 This disfunction causes all the writes to be done before the disk map read,
83 which idles the disk until a new set of blocks can be allocated.
84 .PP
85 The additional functionality of the UDA50 controller that allows it
86 to transfer simultaneously from two drives at once tends to make
87 the two drive transfer tests run much more effectively.
88 Tuning for the single drive case works more effectively in the two
89 drive case than when controllers that cannot handle simultaneous
90 transfers are used.
91 .ds RH Acknowledgements
92 .nr H2 1
93 .sp 1
94 .NH
95 \s+2Acknowledgements\s0
96 .PP
97 We thank Paul Massigilia and Bill Grace
98 of Digital Equipment Corp for helping us run our
99 disk tests on their UDA50/RA81.
100 We also thank Rich Notari and Paul Ritkowski
101 of Emulex for making their machines available
102 to us to run our tests of the SC780/Eagles.
103 Dan McKinster, then of Systems Industries,
104 arranged to make their equipment available for the tests.
105 We appreciate the time provided by Bob Gross, Joe Wolf, and
106 Sam Leffler on their machines to refine our benchmarks.
107 Finally we thank our sponsors,
108 the National Science Foundation under grant MCS80-05144,
109 and the Defense Advance Research Projects Agency (DoD) under
110 Arpa Order No. 4031 monitored by Naval Electronic System Command under
111 Contract No. N00039-82-C-0235.
112 .ds RH References
113 .nr H2 1
114 .sp 1
115 .NH
116 \s+2References\s0
117 .LP
118 .IP [McKusick83] 20
119 M. McKusick, W. Joy, S. Leffler, R. Fabry,
120 ``A Fast File System for UNIX'',
121 \fIACM Transactions on Computer Systems 2\fP, 3.
122 pp 181-197, August 1984.
123 .ds RH Appendix A
124 .bp