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
3
votes
1 answer

Reduce writes from a specific application?

I'm logging the output of a command with command | tee file This causes tee to actually write to the disk every second or so. I'd like to reduce the frequency of the writes, by caching the output more. I know this can be done at the system level,…
MWB
  • 187
  • 9
3
votes
1 answer

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 enabling --write-behind the system should read…
Petr
  • 581
  • 1
  • 5
  • 16
3
votes
3 answers

failsafe RAM drive solution

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 document-oriented DB), and I need to speed it up…
3
votes
4 answers

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 main bottleneck appears to come from loading the…
Tom Marthenal
  • 2,116
  • 7
  • 25
  • 37
3
votes
1 answer

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 inflexible (they are all the same size). The only…
Noah Watkins
  • 133
  • 7
3
votes
5 answers

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 is most important, as opposed to solidarity in…
JustinP
  • 41
  • 1
  • 2
  • 5
3
votes
2 answers

Can you Utilize Server RAM for NAS Cache?

I have a 4 CPU 16GB RAM system with an Areca 1230 RAID card and 6 HDs in a RAID 0+1 configuration with 1 hot spare. System has 2 onboard 1Gpbs nics I want to turn the system into a NAS. It seems like 16GB RAM for a NAS is a waste though. Is there…
JonathanLIVE
  • 197
  • 2
  • 5
  • 10
2
votes
1 answer

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 maybe just because it reduces disk activity, so…
Lars D
  • 282
  • 2
  • 16
2
votes
1 answer

low network performance between Citrix XenServer and Linux iSCSI storage

I have two SuperMicro servers directly connected (no switch) by two 10 GBit Intel X540-T2 NIC. One server runs Citrix XenServer 6.2, the other runs Debian 7. I then installed open-iscsi and iscsitarget on the Debian system, configured a 12 GByte RAM…
nn4l
  • 1,336
  • 5
  • 23
  • 40
2
votes
5 answers

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 this case the disk-storage would be OK. Is there any…
quamis
  • 362
  • 7
  • 18
2
votes
1 answer

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 specific directory of a physical directory (eg.…
nl-x
  • 137
  • 1
  • 9
2
votes
3 answers

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 is, that we cannot test it because Windows claims…
helpless
  • 21
  • 2
2
votes
2 answers

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 don't have swap turned on, will it still work? I…
drudru
  • 123
  • 1
  • 5
2
votes
1 answer

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 delete them as they come. In the situation that…
1
vote
1 answer

Ramdisk like ZFS behavior

Is it possible to configure ZFS to avoid ramdisk usage? In next scenario: create big file (100GB for example) or a lot of small files (there is much more free RAM than total file(s) size) delete this file it will be almost no disk IO. Disk IO…
ISanych
  • 111
  • 4