From: hellwig.geisse@mni.thm.de (Hellwig Geisse)
Subject: [TUHS] Musings on PDP-7 Unix
Date: Sun, 25 Dec 2016 23:57:14 +0100 [thread overview]
Message-ID: <1482706634.7877.18.camel@mni.thm.de> (raw)
In-Reply-To: <20161225083947.GA28327@minnie.tuhs.org>
On So, 2016-12-25 at 18:39 +1000, Warren Toomey wrote:
> Filesystem
> ----------
> The implementation of the filesystem is, in some places, quite
> inefficient.
> The free block list is implemented as follows. In each block, there
> are
> 10 free block numbers then a pointer to the next part of the free
> list.
> However, each block can hold 64 block numbers, so why are only 10
> free
> block numbers stored in each block? By using the whole of a block to
> store
> free block numbers, there would actually be more free blocks to use!
Possibly there is a cache for free block numbers
located in the superblock? This is at least in V7
the reason for the limited number of free block
numbers contained in free blocks: if the cache
is to be refilled, the contents of a whole free
block must go into the cache, and this of course
cannot span a whole block, because its size is
only a fraction of the superblock's size.
Hellwig
prev parent reply other threads:[~2016-12-25 22:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-25 8:39 Warren Toomey
2016-12-25 22:57 ` Hellwig Geisse [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1482706634.7877.18.camel@mni.thm.de \
--to=hellwig.geisse@mni.thm.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).