From: Bart Samwel <bart@samwel.tk>
To: "Jürgen Scholz" <juergen@scholz-gmbh.cc>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: Hude read/write cache
Date: Wed, 14 Jan 2004 23:07:09 +0100 [thread overview]
Message-ID: <4005BD8D.4090806@samwel.tk> (raw)
In-Reply-To: <BC2B59C1.2E87%juergen@scholz-gmbh.cc>
Hi Jürgen,
You could take a look at laptop-mode. This a patch that defers disk writes, so that your disks can
remain spun down for longer than just a couple of seconds. I've actually done the port of this patch
to Linux 2.6 because I wanted to achieve exactly what you want to achieve. Be aware though that most
HDs have a VERY LIMITED amount of spinups/spindowns in them, about 50K for most desktop drives
(which translates to about once every two hours over a 6-year lifetime). This is why I've actually
abandoned my original goal -- I couldn't get my spindown frequency below about twice per hour, so
that would kill my drives. If you care for your drives and your data, make ABSOLUTELY SURE that your
drive doesn't spin up more than once every two hours on average. And if you can't make that happen,
don't do it, find a quiet drive+case+fan+etc instead. Good luck!
-- Bart
Jürgen Scholz wrote:
> Hello!
>
> I got a small server, which main purpose is routing and dialup besides being
> a repository for files. This system is very noisy. Because of that I want to
> stop the disks from spinning, when the system is in regular usage (standby,
> routing..). This should happen through a read and write cache which keeps
> the most often used files in RAM (like log files, bash, ...), so that there
> is no need for the system to access the (physical) hard drive.
> I would like to use a regular filesystem with a sort of transparent cache.
> Any ideas?
>
> Ciao,
> Jürgen
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2004-01-14 22:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-14 19:40 Hude read/write cache Jürgen Scholz
2004-01-14 20:15 ` Andreas Dilger
2004-01-14 22:07 ` Bart Samwel [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=4005BD8D.4090806@samwel.tk \
--to=bart@samwel.tk \
--cc=juergen@scholz-gmbh.cc \
--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