Hi Ivan,

Firstly I'm sorry that I haven't clearly explain my situation.
I would like to know if that 2K-4K limit is applied to only a single layer of directories.

For example, the path is /coda/layer1/layer2/layer3. Is it the limit on the number of entires in layer1 is 2k - 4k, including those under layer2 and layer3? Or those under layer2 and layer3 are excluded?

Best regards,
Alvin

----- Original Message ----- From: "Ivan Popov" <[EMAIL PROTECTED]>
To: "Alvin Chan" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, May 26, 2005 3:32 PM
Subject: Re: A question on coda limitations


>http://coda.wikidev.net/Limitations

On Thu, May 26, 2005 at 09:15:38AM +0800, Alvin Chan wrote:
Actually I've read that before. I just can't get the meaning about the
directory size. Does it mean the limitation on number of entries stand
between 2048 - 4096?

Hi Alvin,

a directory consists of bytes stored somewhere (in the "recoverable
virtual memory") and there is a size limit in bytes.

As an entry in a directory can take different number of bytes depending,
say, on the length of the corresponding object name, you can not easily
recalculate the size limit in bytes into size limit in entries.

The rule of thumb to rely on would be the numbers indicated in the Wiki,
2-4K entries per directory.

Hope it clears a possible confusion.

Best regards,
--
Ivan



Reply via email to