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

learn more… | top users | synonyms

-1
votes
0answers
16 views

Hardware requirements for an Elearning website with 1000 simultaneous users [duplicate]

We are developing an e-learning portal on which various courses (video courses) will be hosted. There will be approximately 100 courses of 10 hour each. There may be 1000 users simultaneously ...
0
votes
0answers
87 views

Is it possible to place the system temp directory in a RAM disk?

The problem is that the system temp directory is required when machine installs updates first thing after a restart. My RAM disk, however, starts through ...
1
vote
1answer
147 views

How to Change Ramdisk Size without Restarting

I have the following line on my fstab file: ramdisk /tmp tmpfs mode=1777,size=2048m Now I want to increase the size to 4096m. What I did is change it to: ramdisk /tmp tmpfs mode=1777,size=4096m ...
4
votes
4answers
2k views

Performance difference between ramfs and tmpfs

I need to setup an in memory storage system for around 10 GB of data, consisting of many 100 kb single files(images). There will be lots of reads and fairly periodic writes(adding new files, deleting ...
3
votes
0answers
320 views

Failing to mount root from ramdisk while PXE boot

I have a working TFTP/DHCP PXE boot environment where I've already booted some images successful. Now I built an CentOS 6.5 diskless image and this one is failing booting with the following error: No ...
1
vote
1answer
97 views

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?
0
votes
0answers
72 views

lvextend onto a ramdisk or tmpfs

I want to be able to run system image backups of my root partition without downtime. I've read that I can use LVM snapshots and dd to create such images, but my current lvgroup has no unallocated ...
0
votes
1answer
81 views

What's the benefit of placing linux bin etc user on RamDisk?

I found that on my bluehost server, it places "bin", "etc", "usr", and "php" on a 4GB ramdisk. The ramdisk usage was changing very frequent and fast. It seems when I run PHP script, it load the data ...
0
votes
1answer
215 views

Getting the ramdisk id of an amazon elastic cloud storage?

I ran ec2-describe-instances, on which i got the output as INSTANCE i-14305121 ami-bf1d8a8f ec2-54-244-161-27.us-west-2.compute.amazonaws.com ip-10-244-164-7.us-west-2.compute.internal ...
0
votes
0answers
162 views

Is there a way I can benchmark tmpfs

I created a tmpfs which was mounted at /ramdisk using the mount command.And I tried to benchmark this tmpfs using something like this: hdparm -tT /ramdisk And I was told that /ramdisk is a ...
3
votes
3answers
2k views

Speeding up SQL Server temp table processing with a RAM Disk

A system we are developing consists of a Web app frontend, and a backend that does a lot of data processing using stored procedures in SQL Server 2008 R2 (please, don't ask why...). These stored ...
0
votes
1answer
180 views

ram disk mirroring part of physical disk

What I would like to do/have is: Some kind of application/driver that creates a RAM drive/partition that is actually assigned a drive letter (eg. D:). This drive letter should be based on/mirroring a ...
0
votes
1answer
728 views

ESXi Cannot boot to ramdisk: boot image is corrupted

I've got an ESXI that's been running for almost 3 years fine. Yesterday, I upgraded the machine's bios, installed RAM and 2 additional hard drives. Today I added a Windows VM and changed the Gateway, ...
-2
votes
3answers
352 views

htdocs in RAM disk?

I was wondering the other day why wouldn't one place all the htdocs related files in a RAM disk. It seems to me, that this would greatly improve the time it takes for the disk to lookup and read ...
6
votes
4answers
1k views

Serving html from linux ramdisk

I have seen a somewhat dated tutorial that suggest serving html files with a ramdisk like this: mkfs -q /dev/ram1 102400 I also find another source that use something like this: mount -t tmpfs -o ...
2
votes
2answers
2k views

how to know if the server runs out of RAM before crashing down

I have a server that keeps on crashing. I know there are several causes for a server to crashes down. But if the cause is that the system is running out of RAM before it crash down; how should I ...
1
vote
3answers
2k views

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?
0
votes
1answer
1k views

Is it reasonable to make a RAID-1 array with a ram disk and a physical disk to maximize read performance and protect data?

In one of the answers on SO (I forgot which one) I've seen a suggestion to make a RAID-1 array composed of a RAM disk and a physical partition. By adding the physical partition with --write-mostly and ...
1
vote
0answers
209 views

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 ...
1
vote
3answers
621 views

failsafe RAM drive solution [closed]

I'm looking for a production solution to create a RAM drive that will be safely synchronized with HDD. I have a piece of custom software with heavy I/O load (this is some kind of proprietary ...
1
vote
2answers
4k views

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 ...
2
votes
4answers
800 views

Would a PHP application benefit from being served from a RAM drive?

I am in charge of hosting a PHP application that is large and slow, but easy to scale. The application is entirely static, with writable disk storage needed. We've profiled the application, and the ...
1
vote
0answers
211 views

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, ...
-1
votes
1answer
278 views

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 ...
1
vote
2answers
732 views

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 ...
2
votes
3answers
681 views

Limit RAM usage on Server 2008 R2 Standard 64 bit

We are assembling a new Server, using 32 GB RAM and Server 2008 R2 Standard. We like to test some kind of RAMDisk to decide whether we upgrade to Enterprise and add a lot of memory or not. Problem ...
1
vote
1answer
727 views

Create variable sized RAM-backed file systems (Ext4 and Btrfs)

For benchmarking purposes I need to format and mount variable sized ram-backed block devices with Ext4 and Btrfs. Unfortunately the only solution I have come across uses ramdisks which seem to be ...
1
vote
1answer
325 views

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 ...
1
vote
2answers
664 views

best ramdisk without swap on linux?

I want a ramdisk on linux. There is ramfs and tmpfs. Tmpfs is what I want because it acts like a disk (size limits, etc.). However, it uses swap which means it may touch disk if it gets full. IF I ...
1
vote
3answers
1k views

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 ...
0
votes
1answer
511 views

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 ...
1
vote
1answer
213 views

Linux RAMDisk filesystem with blocking writes when filesystem is full

I need to set up a Linux RAMDisk to implement a queue. The basic idea is there will be processes writing to the RAMDisk. At the same time there are processes that watch for new files and read and ...
0
votes
1answer
2k views

Why is RAM Disk so much faster than an SSD drive? [closed]

Why is RAM Disk so much faster than an SSD drive?
3
votes
5answers
2k views

Improving Exim performance: mounting message queue on RAMdisk

I have an email server that's part of a messaging application, and it's going to see a lot of throughput. I want to mount Exim's message queue on a RAMdisk to maximize performance; throughput speed ...
1
vote
1answer
67 views

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?
1
vote
1answer
496 views

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 ...
0
votes
1answer
504 views

How do you create a linux (RHEL) bootdisk that runs busybox in a ramdisk (initrd)?

I've been trying to create a bootdisk (something like a live-cd) which loads into memory-only without mounting the disk. My steps are listed below, but when I boot using the cd, I get: Kernel Panic - ...
1
vote
1answer
655 views

free ramdisk for windows 64bit

Is there a free ramdisk utility for windows 2003 64bit OS?
3
votes
3answers
10k views

How to create a RAM Drive (RAM Disk) in Windows 2008 R2?

There are lots of tools for creating RAM drives. None of them seem to work for windows 2008 R2. Does anyone know if this is possible and if so how. Does anyone know of a tool that does work? I've ...
1
vote
1answer
1k views

Unable to create ramdisk after updating to 2.6.32

I've upgraded one of our servers (debian lenny) from backports. It upgraded the kernel to 2.6.32-trunk-amd64, and switched the disk access to UUID. Everything works fine, however, /dev/ram0 no longer ...
0
votes
1answer
94 views

What could be a good configuration for a testing machine?

In Zentyal we use virtualization (ANSTE) to perform automatic tests that require scenarios with several machines interacting in one or several networks. Currently we have a multicore Xeon machine with ...
1
vote
1answer
2k views

Which software to use for RAMDISK on Windows 2008?

I am building a server machine with lots of RAM. At least 16G. I am planning to put my frequently read and written data in RAM so I am looking for software for creating RAM disks. This is for Windows ...
3
votes
1answer
3k views

What do you use for a RAM disk on Windows Server?

We currently use AR Soft RAM Disk on some Windows 2003 servers for storing short lived temporary files. Looking forward to a move to 64-bit Windows Server 2008 I'm wondering what options there are ...
1
vote
0answers
291 views

Ram cache on Windows Server 2008

Scenario: We have a file cluster on a UNC share. A couple of IIS web servers serve files from this UNC share. This is done through a IIS-module, and this module does not use the built-in IIS-caching ...
2
votes
2answers
2k views

Running KVM/XEN/Hyper-V VMs from a RAM disk, is this possible? Practical?

Currently I'm using ESX (v3 and v4) to test a scripted OS (Windows 2003) and application install DVD. The DVD ISO (8GB) is mounted on a 1Gbps NFS datastore and the VMDK's (20GB) are on an SSD mounted ...
1
vote
1answer
2k views

Create VM RAM disk at boot time in Windows XP

Using ImDisk for a 250MB RAM drive, with the TEMP environment variable, speeds up our Windows XP systems a lot - probably because the NTFS write-through latency when creating new files is avoided, or ...
3
votes
3answers
3k views

Lazy disk backup for a ramdisk on Linux?

Quick and dirty summary: I want something like a write cache that drains only when the system isn't busy. I want something along the lines of this question ...
1
vote
5answers
2k views

RAM disk and physical RAID

I need to create a lot of temporary files for which I need to have fast access, so I'm thinking about using a RAM disk. The problem is that the temporary files might get pretty big (1-4 GB) and in ...
-1
votes
3answers
651 views

Script errors when run by launchd at startup, but not when run in Terminal

I'm attempting to create a RAM disk that loads the previous contents when the system starts up, and every six hours writes the contents to a disk image. Currently, when you run the script from the ...
4
votes
3answers
6k views

What is the use of /lib/init/rw in Debian?

I just installed Debian 5 (Lenny) and I noticed that /lib/init/rw is reported as a RAM Disk (tmpfs). I've only had experience with Fedora so I'm curious what function does that directory serve in ...