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