Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-performance@g.o
From: Bart <scarfboy@...>
Subject: Re: ramdisk
Date: Fri, 22 Oct 2004 02:15:07 +0200
Well, when linux is running, you can of course use shm. 
But when linux is running the point is moot, the kernel's
in memory. I don't really see your point there, it's sort of
a prerequisite for booting:)


Putting filesystem stuff in there is probably not too rewarding.
I'm guessing the most consistently accessed directories
are /etc and the bins. Etc you want on your hard drive, and
the bins are way too large. Some smart pathing priotities or a 
mounting-over-an-existing-directory trick would enable you to
do so fairly safely, except updating executables wouldn't
update the ram copy, or only do so. But for executables I
doubt there's much use; the common stuff probably gets 
cached anyhow, though I don't know about that.



Hrm... I've been wondering how much of a hard drive relief
it would be to put the metadata of the top x most accessed
files or just up to y MB in of it ramdisk. Considering hard
drive flutter is a major bummer to performance these days,
doing a flutter for common filesystem *meta*data seems 
rather silly - and a /lot/ of programs stat() way like crazy.

Or maybe that's just my find-abusing self.
On not enough coffee, probably.

It seems a memory-cheap way to avoid unnecessary
accesses - although it would probably have to hook into
general FS code, so not be practical. I mean, if you're
going to touch that, you may as well make a decent
scheduler:P


--Bart


On Thu, 21 Oct 2004 21:34:04 +0200, omghaai <omghaai@...> wrote:
> Hi.
> 
> I've been looking into ramdisks lately and was wondering what the
> maximum  size of a ramdisk can be, the most I've seen so far is 10Mb.
> 
> If limited to 10Mb, what would benifit the system the most, by putting
> it  in the ramdisk (for an average workstation)?
> 
> If not limited to 10Mb, is it possible to put the whole kernel in a
> ramdisk and would it be worth it?

--
gentoo-performance@g.o mailing list

Replies:
Re: ramdisk
-- Ervin NĂ©meth
RE: ramdisk
-- Tad Glines
References:
ramdisk
-- omghaai
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
ramdisk
Next by thread:
RE: ramdisk
Previous by date:
ramdisk
Next by date:
RE: ramdisk


Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.