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
1
vote
1 answer

HBase slower in RAMdisk

I have a general question about using Apache HBase with a RAMdisk. There is a big collection of data in a single table, about 25GB in total. With this data I am doing some basic aggregations, using a Java program. As I have enough RAM avaiable I…
fyaa
  • 646
  • 1
  • 7
  • 25
1
vote
1 answer

How to speed up Java Project by moving files to Ramdisk?

I have a simple maven - Java EE web application which I develop using IntelliJ and deploy to Glassfish server. The thing is, it takes about 15 seconds to deploy. I know it is not too long, but I am trying to make it even faster. I installed RAMDISK…
Koray Tugay
  • 22,894
  • 45
  • 188
  • 319
1
vote
1 answer

Cannot create a Postgresql database

I can successfully create a ramdisk for a PostgreSQL database. This command is successful: psql --host=localhost --command "CREATE TABLESPACE $db_tblspace LOCATION '$dbPath';" where dbPath is a directory on the ramdisk. Here: createdb $dbName…
Pietro
  • 12,086
  • 26
  • 100
  • 193
0
votes
3 answers

Should I use a ramdisk for pictures that are converted and removed?

I have a little program here (python 2.7) that runs on an old machine and it basically keeps getting pictures (for timelapses) by running an external binary and converts them to an efficient format to save up disk space. I want to minimize the disk…
user948105
0
votes
1 answer

Article on running greenplum on Ramdisk

Where can I find good articles on running Greenplum on Ramdisk? There are lot of artciles related to running postgres in Ramdisk, But I could not find for Greenplum. Can somebody help?
Rohita Khatiwada
  • 2,835
  • 9
  • 40
  • 52
0
votes
1 answer

missing ramdisk in boot.img for Android 13

I used magiskboot to unpack Android 13 pixel 6a boot.img to mess around with a ramdisk and init. But when I unpacked it, it only gave kernel file, no ramdisk. Why is that? If I flash the stock boot.img, then how does it know what to load since there…
n0bod1
  • 255
  • 1
  • 2
  • 13
0
votes
1 answer

How to save tensorflow models in RAMDisk?

In my original python code, there is a frequent restore of the ckpt model file. It takes too much time to read the checkpoints again and again. So I decided to save the model in the memory. A simple way is to create a RAMDisk and save the model in…
徐亦昶
  • 1
  • 1
0
votes
0 answers

Storing PDF in RamDisk vs MemoryMappedFile

I am using a library to create a PDF file from HTML, then I print that file and delete it from disk. The issue is, we don't want anything stored on disk, not even temporarily. I thought about using some kind of RamDisk, but I see MemoryMappedFile…
Majd Odeh
  • 181
  • 1
  • 11
0
votes
1 answer

Running a Streamlit script encounters OSError: [WinError 1] Incorrect function

I was trying Streamlit 1.13 on Windows 10, where I encountered the following error: Z:\>streamlit run st1.py 2022-10-04 02:25:28.218 INFO numexpr.utils: NumExpr defaulting to 4 threads. Welcome to Streamlit! If you're one of our…
Twenkid
  • 825
  • 7
  • 15
0
votes
0 answers

Spark: Provide input data as file to external executable

Using (py)Spark, is it possible somehow to provide input data to an executable as a file in an efficient manner? What I currently do is: listOfPaths=["path1.bin","path2.bin",...] rdd_paths=spark_context.parallelize(listOfPaths) def…
Nferg
  • 3
  • 1
0
votes
1 answer

It is not possible to pack Android 12 Automotive AVD with provided scripts

I correctly built an Android 12 Automotive Emulator (in a Linux build server, thus I couldn't even launch it) without issues. Now I need to pack, download and share it with colleagues as we did so far with Android 10 and 11. I discovered there is a…
user1638466
  • 300
  • 1
  • 5
  • 18
0
votes
0 answers

Getting a custom ramdisk to boot on Android

I am working on a "GNU/Linux on Android" type of project that is based on Mikael Q. Kuisma's work here . I built a tool that downloads a toolchain, compiles the kernel, archives the custom ramdisk, and finally bundles them into a boot…
Eralp Ç.
  • 41
  • 3
0
votes
2 answers

Creating a Virtual Disk Mount Point

I have used the ImDisk library with the .NET wrapper to create a Virtual Disk in my C# application. However, after I create the device, I apparently need to create a Mount Point as well for the device to actually show as a Drive Letter. I don't…
user470760
0
votes
1 answer

ImDisk API issue in .NET

I have been working on implementing ImDisk into my C# project, where I can create RAMDisk on the fly. Unfortunately due to absolutely no examples, I am at a bit lost as to how to resolve this issue. I am receiving the error Unable to find an entry…
user470760
0
votes
1 answer

RAMdisk reads seem to be no faster than hard disk (HDD) reads

I created a RAM disk and write speed seems to be 3x as fast, but read speeds are no better than my hard disk. I didn't think this was possible, I thought RAM would always be faster than HDD. Can this be true? Or is my code wrong and garbage in =…