Questions tagged [ramdisk]

A RAM disk or RAM drive is a block of RAM (primary storage or volatile memory) that a computer's software is treating as if the memory were a disk drive (secondary storage).

A RAM disk or RAM drive is a block of RAM (primary storage or volatile memory) that a computer's software is treating as if the memory were a disk drive (secondary storage).

Because the storage is in RAM, it is volatile memory, which means it will be lost in the event of power loss, whether intentional (computer reboot or shutdown) or accidental (power failure). This is sometimes desirable: for example, when working with a decrypted copy of an encrypted file, or for storing a web cache (doing this on a RAM disk can also improve the speed of loading pages).

Source: wikipedia

69 questions
1
vote
1 answer

SQL TempDB on RAMDisk or PCI-E?

I asked this question over at dba.stackexchange Since we have 800 GB of memory and databases are only ~250 GB, we're planning to put SQL server's tempdb files on RAMDisk by allocating 100GB to its data and log files, instead of current SSDs (SAN…
d-_-b
  • 191
  • 2
  • 7
1
vote
1 answer

Monitor ramdisk throughput

I was wondering if there was a tool available to monitor the current ramdisk throughput. I found that with sysstat, iostat, etc. I am only able to monitor the current throughtput of physical devices. What I'm looking for is a tool which generates an…
fasseg
  • 111
  • 3
1
vote
1 answer

What is the purpose of a ramdisk when fadvise exists?

My understanding is that fadvise will tell the system that the indicated files should be stored in the file system cache (RAM). What is the purpose of mounting a directory in a ramdisk when you can just fadvise --willneed the directory?
Philip
  • 133
  • 4
1
vote
1 answer

Linux RAMFS grows. Does it also shrink?

The RAMFS file system automatically grows as much needed and as long as there is avaiable memory. Removing files from it makes it shrink or it remain at the same size?
1
vote
3 answers

Possible to set size of ram disk?

When I do yum install MAKEDEV MAKEDEV ram fdisk -l /dev/ram I get the that it is 16MB. I am using MAKEDEV to get a block-device instead of tmpfs. Question Is it possible to set it to e.g. 1GB?
Sandra
  • 10,303
  • 38
  • 112
  • 165
1
vote
0 answers

Take existing linux install and make it pxeboot

Is there any way I can take an existing install of debian that I have on a usb drive and make it so I can pxeboot it as a ramdisk image? Almost everything I find online is about making a image boot over nfs but I need it to just boot as a ramdisk…
NoName
  • 19
  • 1
1
vote
2 answers

Create a 2GB ram disk results in error

I'm trying to crete a ramdisk of 2gb in centOS 6.2 and the error I get is the following. Any help would be greatly appreciated. [root@ssb1 ~]# mkfs -q /dev/ram0 2147483648 mkfs.ext2: Filesystem larger than apparent device size. Proceed anyway?…
egorgry
  • 2,871
  • 2
  • 23
  • 21
1
vote
1 answer

CentOS tmpfs mount doubling up?

Everytime I mount a ramdisk with the following command, I get two instead of one ramdisk? mount -t tmpfs -o size=1024M tmpfs /home/site/public_html/var/cache Mount shows no ramdisks mounted prior, and after running the command it shows: tmpfs on…
cappuccino
  • 259
  • 1
  • 4
  • 9
1
vote
1 answer

How to move linux executables to a ramdisk?

i've made a ramdisk this way: mkdir -p /media/ramdisk mount -t tmpfs -o size=512M tmpfs /media/ramdisk/ The reason for this is because i run a lot of node.js scripts and their execution time is very small, but i suspect that the time overhead is…
alfa64
  • 127
  • 2
1
vote
2 answers

Is using a RAM Disk to serve IIS ASP.net beneficial on a VM Webserver?

Setup: Windows Server 2008 R2, Hosted on HyperV Virtual Machine allocated 3GB Memory. I've setup a RAMDisk (capacity of 512MB more than sufficient for our requirements) using ImDisk on this virtual web server and allocated it 3GB of RAM (the hosted…
killercowuk
  • 233
  • 2
  • 6
1
vote
1 answer

FreeBSD VirtualBox disk performance using mdmfs

I am having some trouble with poor I/O running a Windows 7 VM on VirtualBox on FreeBSD 9.0. I would like to change my virtual disk type to immutable, and then change the location of the differencing disk to a 5gb ramdisk using mdmfs. Does that seem…
javanix
  • 247
  • 4
  • 15
1
vote
3 answers

How to avoid out-of-disk-space on ramdisk?

I am considering placing the tempdir of my MySQL database onto a ramdisk under Linux. The reason for this is to work around the 4 gb maximum of in-memory temporary tables in MySQL. My only worry is how to avoid out-of-disk-space errors if the…
David
  • 447
  • 1
  • 5
  • 11
1
vote
2 answers

Can't create ramdisks of different size with module brd. (Linux)

I'm creating ram block devices on a linux machine for a project we're working on. I don't want to use tmpfs. When I use module brd to create a ramdisk I run the command modprobe brd rd_size=1048576 This creates 16 devices -> /dev/ram[0-15] (all of…
loosebazooka
  • 131
  • 1
  • 4
1
vote
1 answer

Ramdisc for two directories sharing the same memory space?

I need to put two directories into a ramdisc. They share the same parent directory but I can't make that parent directory part of the ram disc. How would I go about doing this?
Bacu
  • 11
  • 1
1
vote
2 answers

Ramdisk vs Build-In IO Caching on Windows

I'm trying to understand the built-in IO cache on Windows. If an application writes to a file, and then reads/writes it multiple subsequent times, it seems that the IO cache should allow this to happen as fast as system memory will allow? Then…
EricP
  • 115
  • 1
  • 8