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)

149 questions
6
votes
1 answer

How do I create a RAM disk using Node.js?

I would like to create a RAM disk programmatically using Node.js, no matter what the underlying OS is (OS X, Linux and Windows should be supported). What is the best way to achieve this? Of course I can run a command as a child process, but I would…
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
6
votes
2 answers

Is it possible to get persistent RAM disk with Imdisk?

I have moved my JDK, workspace and Tomcat server to a RAM disk which is created with the help of Imdisk tool. This move has beefed up my Eclipse IDE and my productivity. But I loose my virtual disk whenever I boot up my machine. Is it a way to…
Himanshu Yadav
  • 13,315
  • 46
  • 162
  • 291
6
votes
2 answers

create a ramdisk in C++ on linux

I need to make a ramfs an mount it to an directory in linux using c++. I want to make it like a user (no sudo). I need to call an application on a file that i created and it will be often. Writing it to HDD is very slow. I found just:…
microo8
  • 3,568
  • 5
  • 37
  • 67
5
votes
2 answers

Memory-Mapped Files vs. RAM Disk

For the game Minecraft, the general approach when running the server application is to run it in a RAMDisk, as it is uses hundreds of tiny files for world generation, and the I/O speeds are the major bottleneck. In a recent attempt, I tried to use…
user470760
5
votes
1 answer

EhCache BigMemory vs Diskstore on RAM disk

How is the performance of BigMemory of Enterprise Ehcache compared to Diskstore of Ehcache Community Edition used with RAM disk? Big Memory permits caches to use an additional type of memory store outside the object heap there by reducing the…
5
votes
1 answer

Running MySQL on RAMDisk

I am in the process of speeding up a test suite that's using MySQL for persistence. I have changed the datadir and tmpdir in the my.cnf to use the RAMDisk as shown below. datadir = /run/shm/mysql tmpdir = /run/shm/mysqltemp The…
ivanorone
  • 450
  • 4
  • 17
5
votes
3 answers

How does putting JDK on a ramdisk improve IDE performance?

I recently found several articles that one could boost IDE (say eclipse) performance by placing JDK on a ramdisk and letting it use it for build purposes. I could guess how that could make things faster but I was not aware of exact details. Won't…
phanin
  • 5,327
  • 5
  • 32
  • 50
5
votes
1 answer

MySQL Memory Engine vs InnoDB on RAMdisk

I'm writing a bit of software that needs to flatten data from a hierarchical type of format into tabular format. Instead of doing it all in a programming language every time and serving it up, I want to cache the results for a few seconds, and use…
Kavi Siegel
  • 2,964
  • 2
  • 24
  • 33
4
votes
1 answer

unix socket file on disk vs tmpfs on ubuntu

Is there a difference in speed (regardless of how infinitesimal) if you place a unix socket file on disk rather than tmpfs/ramdisk (ubuntu)?
incognito2
  • 1,024
  • 3
  • 13
  • 20
4
votes
1 answer

Docker on machine using a ramdisk doesn't work

My machine that boots on a ramdisk cannot start a docker container. For example, running hello-world results in $ docker run hello-world docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container…
Roper
  • 903
  • 1
  • 9
  • 17
4
votes
1 answer

Interprocess in-memory filesystem in Python?

PyFilesystem (fs on pip) is a great library that supports in-memory filesystem creation with Python. However, I am looking to create and maintain a filesystem in Python in one process and dynamically access that filesystem in Python in another…
Matthew Mage
  • 395
  • 5
  • 18
4
votes
0 answers

PostgreSQL on a RAM disk

I'm trying to get the fastest possible queries from PostgreSQL, and I'm going to be testing this out but I want to know what kinds of issues could I run in to. Servers 1X PostgreSQL Master. With all of it's data on a 20GB Ramdisk. (Leaving ~12GB of…
ECourant
  • 108
  • 1
  • 14
4
votes
2 answers

Why is the root filesystem is loaded into a ramdisk?

I am studying the boot process in Linux. I came across this sentence "RAM is several orders of magnitude faster than a floppy disk, so system operation is fast from a ramdisk" The kernel will anyway load the root filesystem in RAM for executing it.…
nitin_cherian
  • 6,405
  • 21
  • 76
  • 127
4
votes
4 answers

Fetching via wget to memory & bypassing disk writes

Is it possible to download contents of a website—a set of HTML pages—straight to memory without writing out to disk? I have a cluster of machines with 24G of installed each, but I’m limited by a disk quota to several hundreds MB. I was thinking of…
alex
  • 1,757
  • 4
  • 21
  • 32
4
votes
1 answer

Manual Memory Paging in the .Net Framework (Is it possible / How?)

I have a major interest in writing a database management system. Having read a few pages about how SQL Server 2000 was implemented, I discovered that 4KB memory pages were used, each being a direct copy of a 4KB page on the hard disk. These pages…
kd8azz
  • 613
  • 5
  • 21
1
2
3
9 10