gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Some issues


From: Miles Bader
Subject: Re: [Gnu-arch-users] Some issues
Date: Wed, 9 Jun 2004 20:30:59 -0400
User-agent: Mutt/1.3.28i

On Wed, Jun 09, 2004 at 08:14:22PM -0400, James Blackwell wrote:
> As far as I'm aware, just about every hard drive out there has 512 byte
> sectors. Arch ids are somewhere around 70 bytes each. That means that
> one can fit 7 arch-ids in one sector. On the first sector you load,
> you're looking at 8 ms.
> 
> But let's forget that, and go back to the 7 arch-ids in one sector
> analogy. To stat those 7 archid files, you're looking at an average
> cumulative latency of 56 ms, for a net loss of 49 ms.. 

Huh?  At least on traditional unixoid filesystems, stating means reading the
inodes, which are packed together in blocks, so stating some files with
adjacent inodes is pretty much the same as stating one (e.g., on this ext2
FS, a block is 4096 bytes, and an inode is 128 bytes).

[AFAIK, the hard-drive "sector size" has almost nothing to do with anything
these days.]

-Miles
-- 
Love is a snowmobile racing across the tundra.  Suddenly it flips over,
pinning you underneath.  At night the ice weasels come.  --Nietzsche




reply via email to

[Prev in Thread] Current Thread [Next in Thread]