[OpenAFS] maximum number of files per directory??

Jörg Herzinger joerg.herzinger@global2000.at
Wed, 11 Aug 2010 11:31:37 +0200


--_=_swift_v4_12815190974c626df9e0de9_=_
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

See CAUTIONS in fileserver documentation [1].=20

The maximum numbe=
r of directory entries is 64,000 if all of the
entries have names th=
at are 15 octets or less in length. A name that
is 15 octets long req=
uires the use of only one block in the directory.
Additional sequent=
ial blocks are required to store entries with names
that are longer t=
han 15 octets. Each additional block provides an
additional length o=
f 32 octets for the name of the entry.=20
Note that if file names use a=
n encoding like UTF-8, a single
character may be encoded into multipl=
e octets. In real world use, the
maximum number of objects in an AFS=
 directory is usually between
16,000 and 25,000, depending on the av=
erage name length.

so long,
=C2=A0=C2=A0=C2=A0 J=C3=B6rg =
Herzinger


--_=_swift_v4_12815190974c626df9e0de9_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

See CAUTIONS in fileserver documentation [1].

<br><br>&lt;quote=
&gt;<br>The maximum number of directory entries is 64,000 if all of =
the
entries have names that are 15 octets or less in length. A name t=
hat is
15 octets long requires the use of only one block in the dire=
ctory.
Additional sequential blocks are required to store entries wi=
th names
that are longer than 15 octets. Each additional block provi=
des an
additional length of 32 octets for the name of the entry. <br=
>Note that if
file names use an encoding like UTF-8, a single charac=
ter may be
encoded into multiple octets.

In real world use,=
 the maximum number of objects in an AFS directory
is usually betwee=
n 16,000 and 25,000, depending on the average name
length.<br>&lt;/q=
uote&gt;<br><br>so long,<br>&nbsp;&nbsp;&nbsp; J=C3=B6rg Herzinger<br>

--_=_swift_v4_12815190974c626df9e0de9_=_--