Coda File System

Re: Coda And Samba PDC Server

From: Jan Harkes <>
Date: Fri, 19 Dec 2003 12:26:42 -0500
On Fri, Dec 19, 2003 at 12:02:56PM -0500, Jan Harkes wrote:
> It does look like the counted total directory size is approximately
> double of what I would expect. There are only 148 directories which
> adds up to only 592KB. Don't yet see why we seem to be off by so much.

My error, we actually see each directory twice, once before we enter the
subtree, and once when we return.

    $ rvmsizer ~/coda-HEAD ~/coda-HEAD-obj
    148 directories, 1945 files, 163 directory pages
    total file size        110606512 bytes (105.48MB)
    average file size      56867 bytes
    total directory size   610304 bytes (0.58MB)
    average directory size 4123 bytes
    estimated RVM usage based on object counts, 734928 bytes (0.70MB)
    estimated RVM usage based on 4% rule,       4448672 bytes (4.24MB)

The average directory size isn't 4096 because coda-src/venus is 8192
bytes. For the rest all the numbers seem to match the results of
counting with find/grep/awk.

Received on 2003-12-19 12:28:23