Re: Mount and Unmount



"D. Lam" <lam.dna@xxxxxxxxx> writes:

Perhaps he wants a ramdisk?
If so, add this to /etc/fstab:
/dev/ram /media/ramdisk tmpfs,user rw 0 0

Isn't it pretty silly to put swap on you ramdisk? Swap is used when you
run out of memory. You are using memory to do the swap. So basically,
the OS will swap things out of memory and into swap which is already
memory. Wouldn't you be better off not using the swap-in-memory, and
then the OS wouldn't swap in the first place since the memory would
still be available?

--
John L. Fjellstad
web: http://www.fjellstad.org/ Quis custodiet ipsos custodes


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Heaps and Foreigners
    ... >> can ask for the memory and get a pointer to it. ... cause unfathomable deaths when swap space gets low or is exhausted. ... It's probably because there is some reserve memory to print out errors ... of RAM and disk space) and virtual swap (which is just a number managed ...
    (comp.lang.lisp)
  • Re: Is Greenspun enough?
    ... Most OSes memory map executables directly from the file system so code doesn't pollute the file cache or swap space. ...
    (comp.lang.lisp)
  • Re: [PATCH] io-controller: Add io group reference handling for request
    ... Find the io group bio belongs to. ... anonymous pages (swap) you still need the page tracking functionality ... so fair to charge the current task for the whole activity. ... is some other memory hungry application which is forcing these swap outs. ...
    (Linux-Kernel)
  • Re: [kde-linux] VM and Swap problems
    ... swap is half full the system starts removing swap until it is exactly ... Maybe one of your applications leak memory (I have a webpage ... to two times RAM. ... Unused memory will be used as disk buffers. ...
    (KDE)
  • 2.6.20 OOM with 8Gb RAM
    ... writing lots of files to the ramdisk. ... of memory available. ... The system does not ordinarily use swap space, ... Normal per-cpu: ...
    (Linux-Kernel)