Re: Memory Rusting Effect [re: Linux hostile to poverty]

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Mon, 20 Jul 1998 14:06:25 +0200 (MEST)


Alan Cox wrote:
> > How much could be saved by making some kmalloc'd memory swappable?
>
> About 100K on my experiments (which marked stuff but didnt swap it)

Depends. I have 127 processes running. About 25 will be in the "working
set". That leaves 100 processes whose task structure/kernel stack
could be swapped (maybe just a few things need to be kept in memory).

That yields about 800k swappable memory that now isn't. But that
didn't get allocated using kmalloc did it? On the other hand, I still
haven't seen my machine use swap when I didn't force it to. I think
it should swap out the pages that haven't been touched for over half
an hour (Those should get a lower priority than new cache or buffer
pages).....

-- 
Actor asks a collegue: "To what do you owe your success in acting?"
Answer: "Honesty. Once you've learned how to fake that, you've got it made."
-------- Custom Linux device drivers for sale! Call for a quote. ----------
Email: R.E.Wolff@BitWizard.nl || Tel: +31-15-2137555 || FAX: +31-15-2138217

- 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.altern.org/andrebalsa/doc/lkml-faq.html