Re: running Linux with no swap space (but lots of RAM)



wazzujoel@xxxxxxxxx writes:
On Oct 15, 2:11 am, Rainer Weikusat <rweiku...@xxxxxxxxxxx> wrote:

Shorter: As long as you have enough RAM, configuring some part of your
disk(s) for paging will have no effect (except using diskspace). If
you ever run out of RAM, not doing so will cause a malfunction with
arbitrary consequences, in-kernel memory corruption being among them.

And this is a risk with no gain.

What if your computer uses flash memory instead of a hard drive to
boot? Typically flash memory in those cheap USB2.0 memory sticks have
a limited number of writes before failure.

'Flash ROM' has always a maximum number of guaranteed erase cycles for
every sector.

Thus it is not about saving hard drive space, but about not having
to buy more memory sticks when your current one fails because of
excessive SWAP writes.

Hard drives have a MTBF, too.

This circumstance is a very good reason to not have SWAP,

There is exactly one 'very good reason to not have swap': The person
operating the computer has no clue, feels uncomfortable when the kernel
just does something he does not understand and is not willing to
accept that other people do really know better. Amusingly, these are
the people for whom the term 'idiotae' was coined by Nicolaus von Kues
in the late middle ages -- people who refuse to learn because they
rather stick to knowledge of their own fabrication because it is of
their own fabrication.


.



Relevant Pages

  • Re: Steve Jobs demos Macintosh in 1984
    ... Woody wrote: ... Stop annoying the fucking hell out of me, ... For sure not much computer memory had been made in 1948 - but it could ... For sure you got a bit more RAM to use in the Speccy - ...
    (uk.comp.sys.mac)
  • Re: Windows uses 4 GB? Really?
    ... I bought 4 GB of RAM because I thought it would speed up my system a bit. ... Some info that is posted here as reference seems to suggest that it is a Windows issue, but others seem to suggest that it is also a hardware issue. ... "I have install total 4GB memory on my motherboard. ... On a SLI system, since PCI-Ex graphic cards will occupy around 256MB, another 256MB will be occupied after you install a 2nd PCI-Ex graphic card. ...
    (microsoft.public.windowsxp.general)
  • Re: Computer wont boot up after installing new RAM
    ... I even took a look at an old Gigabyte motherboard ... DDR2 memory stick, the notch does not line up. ... "To install the memory module, ... into the motherboard RAM slots. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Random Restarts - Please Help
    ... I upgraded my BIOS a long time ago ... Beginners Guides: Diagnosing Bad Memory ... How to diagnose bad RAM ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Alocated Memory Error (SQLSERVR)
    ... but my understanding is that the MSDE instances are designed to ... and you don't want it grabbing all that RAM. ... running but non ever going about 200mb of memory usage. ... Server 2000 SP4, ...
    (microsoft.public.windows.server.sbs)