Subject: Re: [netatalk-admins] We're doing benchmarks (tips, tricks, help, info)
From: wesley.craig@umich.edu
Date: Sat Mar 28 1998 - 16:09:29 EST
> From: Mark Donnelly <mark@coe.missouri.edu>
> To: Andras Kadinger <bandit@freeside.elte.hu>
> It uses the file extensions mapping in the
> AppleVolumes file to provide a filetype/creator automatically. (and then
> caches that to disk).
Actually, it only caches certain information to disk. In particular,
it avoids caching the type and creator, so that they can be changed in
the extension map.
> Even when the .AppleDouble resource file does exist, you're talking about
> at least two separate file accesses to look at one file. On the other
> hand, the Mac doubtless has optimizations in the OS to speed up the way
> that it access data/resource forks.
I don't think there's a big lose on file reads and writes. There is,
however, a big lose on enumerates (the AFP equivalent of Unix 'ls').
In this case, afpd must open the AppleDouble header file for each file
in the directory. Very expensive, especially if the directory is NFS
or AFS mounted.
:wes
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:32:01 EST