From: Shaun Jackman <sjackman@gmail.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Replaying a list of blocks into the cache (BootCache)
Date: Wed, 25 Jan 2006 09:56:16 -0700 [thread overview]
Message-ID: <7f45d9390601250856n4adbdf1dvb967545155f0e341@mail.gmail.com> (raw)
I'm attempting to speed up the boot of an embedded system. I've found
that forcing certain key shared libraries to cache early by copying
them from the file system to a tmpfs early in the boot made a big
difference -- on the order of twenty seconds. I'm not even accessing
these shared libraries from the tmpfs; I'm just using this trick to
make sure the libraries stay in memory. Seeing what a big difference
this simple trick made, I wanted to see what else I could accomplish
by making use of the file system cache.
This made me think of the OS X BootCache feature, which saves the list
of disk blocks accessed during the boot sequence and replays that
list on the next boot. Is there anything like this in Linux?
Please cc me in your reply. Thanks!
Shaun
next reply other threads:[~2006-01-25 16:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-25 16:56 Shaun Jackman [this message]
[not found] <5yWak-99-39@gated-at.bofh.it>
2006-01-25 17:58 ` Thomas Petazzoni
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=7f45d9390601250856n4adbdf1dvb967545155f0e341@mail.gmail.com \
--to=sjackman@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®