Re: 2.1.91 swap performance: jerky.

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Mon, 30 Mar 1998 15:09:18 +0200


Hi!

> > + /*
> > + * If we have more than 25% of all memory free,
> > + * consider it to be good enough for anything.
> > + */
> > + if (nr_free_pages > num_physpages >> 2)
> > + return nr+1;
>
> Tried it - I get an 8Mb box with 2mb permanently empty thats
> unusable

What? 2MB permanently empty? Considering that kernel is 1.5M that is
about 30% of your memory. HEY! I do not want 30% of my memory to be
free!

Pavel

-- 
Do *NOT* buy software, GNU software is better and free!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu