Quantcast
Channel: Creating a ram disk on Linux - Unix & Linux Stack Exchange
Browsing all 9 articles
Browse latest View live

Answer by Joey Adams for Creating a ram disk on Linux

Besides tmpfs and ramfs, another option is the /dev/ram0 block device. On recent Ubuntu versions, this device does not exist by default, but can be created via modprobe brd. This approach is more...

View Article



Answer by sourcejedi for Creating a ram disk on Linux

You can mount a ramfs filesystem, copy your project into it and work from there. This guarantees your input files are loaded in to RAM, and they will not be re-read from the much slower disk drive....

View Article

Answer by CyberWolf64 for Creating a ram disk on Linux

OP the amount of RAM is expressed in MB. So all you need to enter there is 16384. And then voila you'd be in business.

View Article

Answer by user39725 for Creating a ram disk on Linux

To make a large ram disk after boot, with no messing around with kernel parameters, this seems to work. Use tmpfs, make a file, mount it via loop, and mount that via a filesystem: mount -t tmpfs -o...

View Article

Answer by vonbrand for Creating a ram disk on Linux

Linux is very efficient in using RAM. There is little surprise that you see little if any speedup with tmpfs. The largest pieces to read into memory (and thus able to slow the process down) are the...

View Article


Answer by Bananguin for Creating a ram disk on Linux

The problem is that the maximum size of a ramdisk, more specifically of size of memory that can be accessed via the ramdisk driver is configured at compiletime, can be overwritten at boottime, but...

View Article

Answer by t-8ch for Creating a ram disk on Linux

The best way to create a ram disk on linux is tmpfs. It's a filesystem living in ram, so there is no need for ext2. You can create a tmpfs of 16Gb size with: mount -o size=16G -t tmpfs none /mnt/tmpfs

View Article

Creating a ram disk on Linux

I have a machine with 62GB of RAM, and a trunk that's only 7GB, so I thought I would create a RAM disk and compile there. I am not a Linux expert. I found instructions on the internet to create the...

View Article


Answer by J.K. Alooud for Creating a ram disk on Linux

"Linux is very efficient in using RAM. There is little surprise that you see little if any speedup with tmpfs. The largest pieces to read into memory (and thus able to slow the process down) "I'm not...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images