Merge branch 'vendor/OPENSSL'
[dragonfly.git] / share / doc / smm / 05.fastfs / 0.t
1 .\" Copyright (c) 1986, 1993
2 .\"     The Regents of the University of California.  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 .\"     @(#)0.t 8.1 (Berkeley) 6/8/93
29 .\"
30 .EQ
31 delim $$
32 .EN
33 .if n .ND
34 .TL
35 A Fast File System for UNIX*
36 .EH 'SMM:05-%''A Fast File System for \s-2UNIX\s+2'
37 .OH 'A Fast File System for \s-2UNIX\s+2''SMM:05-%'
38 .AU
39 Marshall Kirk McKusick, William N. Joy\(dg,
40 Samuel J. Leffler\(dd, Robert S. Fabry
41 .AI
42 Computer Systems Research Group
43 Computer Science Division
44 Department of Electrical Engineering and Computer Science
45 University of California, Berkeley
46 Berkeley, CA  94720
47 .AB
48 .FS
49 * UNIX is a trademark of Bell Laboratories.
50 .FE
51 .FS
52 \(dg William N. Joy is currently employed by:
53 Sun Microsystems, Inc, 2550 Garcia Avenue, Mountain View, CA 94043
54 .FE
55 .FS
56 \(dd Samuel J. Leffler is currently employed by:
57 Lucasfilm Ltd., PO Box 2009, San Rafael, CA 94912
58 .FE
59 .FS
60 This work was done under grants from
61 the National Science Foundation under grant MCS80-05144,
62 and the Defense Advance Research Projects Agency (DoD) under
63 ARPA Order No. 4031 monitored by Naval Electronic System Command under
64 Contract No. N00039-82-C-0235.
65 .FE
66 A reimplementation of the UNIX file system is described.
67 The reimplementation provides substantially higher throughput
68 rates by using more flexible allocation policies
69 that allow better locality of reference and can
70 be adapted to a wide range of peripheral and processor characteristics.
71 The new file system clusters data that is sequentially accessed
72 and provides two block sizes to allow fast access to large files
73 while not wasting large amounts of space for small files.
74 File access rates of up to ten times faster than the traditional
75 UNIX file system are experienced.
76 Long needed enhancements to the programmers'
77 interface are discussed.
78 These include a mechanism to place advisory locks on files, 
79 extensions of the name space across file systems,
80 the ability to use long file names,
81 and provisions for administrative control of resource usage.
82 .sp
83 .LP
84 Revised February 18, 1984
85 .AE
86 .LP
87 .sp 2
88 CR Categories and Subject Descriptors:
89 D.4.3
90 .B "[Operating Systems]":
91 File Systems Management \-
92 .I "file organization, directory structures, access methods";
93 D.4.2
94 .B "[Operating Systems]":
95 Storage Management \-
96 .I "allocation/deallocation strategies, secondary storage devices";
97 D.4.8
98 .B "[Operating Systems]":
99 Performance \-
100 .I "measurements, operational analysis";
101 H.3.2
102 .B "[Information Systems]":
103 Information Storage \-
104 .I "file organization"
105 .sp
106 Additional Keywords and Phrases:
107 UNIX,
108 file system organization,
109 file system performance,
110 file system design,
111 application program interface.
112 .sp
113 General Terms:
114 file system,
115 measurement,
116 performance.
117 .bp 
118 .ce
119 .B "TABLE OF CONTENTS"
120 .LP
121 .sp 1
122 .nf
123 .B "1.  Introduction"
124 .LP
125 .sp .5v
126 .nf
127 .B "2.  Old file system
128 .LP
129 .sp .5v
130 .nf
131 .B "3.  New file system organization
132 3.1.    Optimizing storage utilization
133 3.2.    File system parameterization
134 3.3.    Layout policies
135 .LP
136 .sp .5v
137 .nf
138 .B "4.  Performance
139 .LP
140 .sp .5v
141 .nf
142 .B "5.  File system functional enhancements
143 5.1.     Long file names
144 5.2.     File locking
145 5.3.     Symbolic links
146 5.4.     Rename
147 5.5.     Quotas
148 .LP
149 .sp .5v
150 .nf
151 .B Acknowledgements
152 .LP
153 .sp .5v
154 .nf
155 .B References