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