Answer the question
In order to leave comments, you need to log in
Ready solution. Replacing the HDD folder with a folder in RamDisk?
Tired of the slow initialization of Rails and Rake. I tried to transfer the application to RamDisk and by eye the initialization is 3-4 times faster. You also need to try to transfer RVM files and I think the increase will be 2-3 times more.
Is there a ready-made solution that works according to this algorithm:
- gets a list of folder paths
- renames folders
- creates a RamDisk of a specified size
- mounts it to a specified location and copies folders
- replaces real folder paths with temporary ones
- configures automatic transfer of folders from Ram through the specified time intervals
Already created a similar topic, but suddenly there is a solution so as not to now time. Do not offer SSD, it is better to create a similar solution.
Answer the question
In order to leave comments, you need to log in
> folders
directories or directories?
> RamDisk
Shared memory/tmpfs?
Really transferring the contents of directories to / dev / shm will allow you to start faster? After all, all the same, all the files will have to be read and written to the RAM.
Or do you mean creating a file system in shm at the boot stage? Well, this can be written in init scripts. There is nothing complicated.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question