Re: Squid performance wish-list

From: Stewart Forster <slf@dont-contact.us>
Date: Mon, 24 Aug 1998 14:02:51 +1000

Hiya,

        Oops, error...

> Each file starts off with a 4K fragment that also contains that file's inode.
> The inode simply lists the length of the file and 63 direct block pointers
> and 64 single indirect block pointers for a inode length of 512 bytes (8 byte
> pointers).

Of course that should have been 4 byte pointers. This would allow us to
index a disk that is 4K * 4G = 16TB in size (ie. Very big disks/stripesets)

Also the largest directly indexed file would be:

3584 + 63 * 8192 = 519680 bytes

The largest file would be:

3584 + 63 * 8192 + 64 * (8192 / 4) * 8192 = 1.0005 GB (big enough for any
conceivable caching purposes for the next 10 years I'm guessing).

Stew.
Received on Tue Jul 29 2003 - 13:15:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:52 MST