Answer the question
In order to leave comments, you need to log in
Ram disk for projects
If there are ready-made things that do something like this magic.
- take the desired directory, for example projects
- rename it to ".projects"
- mount the ram disk
- copy data from projects to .projects by cron
Can be done via Git by specifying a "detached" repository from a folder on the hard drive. And doing a pull on the crown ... now I'll try this option, but maybe there is ready-made software?
I think storage in RAM can speed up the launch of rails and git a little (usually I have 5-6gb free and I feel sorry for them).
Answer the question
In order to leave comments, you need to log in
If you have a lot of memory, then Linux will cache the disk to the maximum. It is unlikely that you will see the difference with your eyes, unless you measure microseconds. Try tweaking the parameters better:
stackoverflow.com/questions/2282276/write-through-ram-disk-or-massive-caching-of-file-system
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question