Re: using more than 2 GB as a ram disk

Alexander Viro (viro@math.psu.edu)
Wed, 3 Feb 1999 18:56:09 -0500 (EST)


On Wed, 3 Feb 1999, Albert D. Cahalan wrote:

> Alexander Viro writes:
> > On Wed, 3 Feb 1999, Albert D. Cahalan wrote:
> >> I told you I was aware of that. Read the post again.
> >> Hint: at any one point in time, most segments are invalid.
> >> Another hint: the 4 kB pages need not be used at all.
> >
> > And you are going to do pagein/pageout by what chunks?
>
> 8 MB of course. :-)

Albert, that would mean that single fscking pagein would be well beyond
the size of on-disk buffer and so platter->head transfer speed comes into
the game. Care to count the time? And that assumes that you don't have
other traffic. Now, since you rarely have 8Mb filled with the data you'll
get ~1e4% overhead on that stuff. For most of the processes it will mean
pure and simple *swapping*. And it buys you what? 256Gb? Sheesh... How
many processes have RSS>8Mb? Now each of them got at least 24Mb. Great.
Oh, and COW becomes *very* interesting exercise. So fork() becomes a
bitch. Great. exec() also looks nice - you have to do at least one pagein
to start execution. Oh, and while we are at it - what will be the size of
your swap?

F-. Really.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/