Pages

domingo, 7 de septiembre de 2008

Crear un disco virtual usando la memoria RAM

En muchas ocasiones se trabaja intensivamente con un conjunto no demasiado grande de ficheros, se puede acelerar mucho el acceso a estos ficheros si se almacenan en la memoria RAM.

Para ello, en linux se puede crear un nuevo punto de montaje que acceda a la RAM, tan solo es necesario hacer lo siguiente.

mkdir /mnt/ramdisk
mount tmpfs /mnt/ramdisk -t tmpfs


Ya podemos trabajar en el directorio ramdisk, eso sí, la memoria RAM es volátil, si queremos guardar los cambios antes de apagar el pc es necesario copiarlo a cualquier otro directorio del disco duro.

6 comentarios:

  1. Top website, I hadn't come across javiyu.blogspot.com earlier during my searches!
    Continue the superb work!

    ResponderEliminar
  2. Hi,

    I have a question for the webmaster/admin here at javiyu.blogspot.com.

    Can I use part of the information from this blog post above if I provide a link back to this website?

    Thanks,
    John

    ResponderEliminar
  3. "Can I use part of the information from this blog post above if I provide a link back to this website?"

    Of course you can

    ResponderEliminar
  4. Have you considered the fact that this might work another way? I am wondering if anyone else has come across something
    exactly the same in the past? Let me know your thoughts...

    ResponderEliminar
  5. Hello,

    I have a question for the webmaster/admin here at www.blogger.com.

    Can I use part of the information from this blog post above if I provide a link back to this site?

    Thanks,
    John

    ResponderEliminar
  6. Greetings,

    This is a inquiry for the webmaster/admin here at www.blogger.com.

    Can I use part of the information from your post right above if I provide a link back to your website?

    Thanks,
    Harry

    ResponderEliminar