Re: Break 2.4 VM in five easy steps

Dr S.M. Huen (smh1008@cus.cam.ac.uk)
Wed, 6 Jun 2001 19:35:18 +0100 (BST)


On Wed, 6 Jun 2001, Kurt Roeckx wrote:

> On Wed, Jun 06, 2001 at 10:57:57AM +0100, Dr S.M. Huen wrote:
> > On Wed, 6 Jun 2001, Sean Hunter wrote:
> >
> > >
> > > For large memory boxes, this is ridiculous. Should I have 8GB of swap?
> > >
> >
> > Do I understand you correctly?
> > ECC grade SDRAM for your 8GB server costs £335 per GB as 512MB sticks even
> > at today's silly prices (Crucial). Ultra160 SCSI costs £8.93/GB as 73GB
> > drives.
>
> Maybe you really should reread the statements people made about
> this before.
>
I think you might do with a more careful quoting or reading of the thread
yourself before casting such aspersions.

I did not recommend swap use. I argued that it was not reasonable to
reject a 2*RAM swap requirement on cost grounds. There are those who do
not think this argument adequate because of grounds other than
hardware cost (e.g. retrofitting existing farms, laptops with zillions of
OSes etc.)

>
> That swap = 2 * RAM is just a guideline, you really should look
> at what applications you run, and how memory they use. If you
> choise your RAM so that all application can always be in memory
> at all time, there is no need for swap. If they can't be, the
> rule might help you.
>
I think the whole argument of the thread is against you here. It seems
that if you do NOT provide 2*RAM you get into trouble much earlier than
you expect (a few argue that even if you do you get trouble). If it were
just a guideline that gracefully degraded your performance the other lot
wouldn't be screaming.

The whole screaming match is about whether a drastic degradation on using
swap with less than the 2*RAM swap specified by the developers should lead
one to conclude that a kernel is "broken".

To conclude, this is not a hypothetical argument about whether to operate
completely in core. There's not a person on LKML who doesn't know running
in RAM is better than running swapping. It is one where users do swap
but allocate a size smaller than that recommended and are adversely
affected. It is about whether a kernel that reacts this way could be
regarded as stable. Answe

-
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/