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:

Anónimo dijo...

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

Anónimo dijo...

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

javiyu dijo...

"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

Anónimo dijo...

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

Anónimo dijo...

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

Anónimo dijo...

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