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

Filter by
Sorted by
Tagged with
-1
votes
2answers
45 views

Will any running process be killed if I free the swap memory from my Ubuntu server?

The question (title of this question) came into my thought for the below reason. If anyone gives a solution of that reason then I don't need to free the swap memory. The Reason: After installation ...
4
votes
1answer
70 views

Swap Memory Anomoly

I am currently experiencing a memory issue on my centos 7.6 distro. It began with my system swapping even though up to 80GB ram should have been available. free -m total ...
0
votes
0answers
73 views

Non-paged Memory Pool Leak — uwfvol.sys and uwfreg.sys are to blame, but UWF is writing to Disk?

Device connected to the management server has 4.0 GB RAM with UWF enabled. UWF overlay is set to Disk, not RAM. Device is showing resource exhaustion errors in eventvwr. Can see available memory is ...
0
votes
0answers
106 views

ZFS on ramdrive optimal settings

After failing to configure ZFS for file creation and deletion without subsequent disk IO (Ramdisk like ZFS behavior), I'm creating ZFS over ramdrive. What to do with compression (but that part I ...
1
vote
1answer
373 views

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 ...
0
votes
2answers
432 views

Networked In-Memory FileSystem w/ zram + XFS + GlusterFS - Best Practices

A few months ago I used XFS formatted zram devices strung together with GlusterFS to create a distributed / networked / replicated in-memory filesystem on a few bare metal servers (running RHEL 7.2). ...
1
vote
1answer
364 views

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

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. ...
2
votes
1answer
429 views

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 ...
0
votes
2answers
83 views

Mysqld.exe RAM size increasing upto 130MB and performance is poor

I have deployed my application with java 8 and mysql server. While running mysqld.exe takes upto 130 MB of RAM size and it stops increasing. But after that my application's performance is very poor. ...
3
votes
1answer
227 views

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

Improving high IOps Folder (Tomcat and Vmware)

Good day. We're moving a Tomcat from a physical server to one virtual Server. In the physical, and because the high IOps for the temp folder (¡developers!) we bought a Ramdisk software. My question ...
1
vote
1answer
111 views

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 ...
0
votes
0answers
900 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 HKLM\Software\Microsoft\Windows\CurrentVerison\...
6
votes
1answer
4k 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 ...
22
votes
4answers
22k 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 ...
6
votes
1answer
2k 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
197 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
1answer
138 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
2k 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 ...
-2
votes
1answer
2k 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 directory....
5
votes
4answers
5k 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 ...
1
vote
1answer
630 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
3k 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
406 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
2k 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 ...
5
votes
2answers
15k 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
5k 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?
3
votes
1answer
2k 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
407 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 ...
2
votes
3answers
1k 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 document-...
1
vote
2answers
5k 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
3k 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
1answer
250 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, ...
0
votes
1answer
617 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 very ...
1
vote
2answers
2k 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
1k 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 is,...
3
votes
1answer
2k 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
419 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
2k 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
3k 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 ...
1
vote
1answer
3k 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 ...
2
votes
1answer
300 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
3k 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
4k 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
73 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
2answers
883 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
771 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
934 views

free ramdisk for windows 64bit

Is there a free ramdisk utility for windows 2003 64bit OS?
5
votes
3answers
25k 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 ...