Forum > General

[Closed] Is it possible to install and use on Lazarus RAMDISK?

(1/2) > >>

loaded:
Hi All,
Is it possible to install and use Lazarus on Ramdisk?
If possible, how can it be done?
Anyone using it this way?
If you have knowledge and share it, I would be very grateful.

af0815:
I have this done with Softperfekt RAMDisk on Win10/64. The Ramdisk must be able to Save and Restore its Content. And it must be able to hold the same Driveletter. So i have no Problem to create a 8GB ramdrive. Activate the save at shutdown and restore at startup of my PC. After this i install the fpc/Lazarus with fpcupdeluxe on this drive. It is very fast, if yoz recompile fpc or lazarus  :) ANd if you make a great mistake, you can make it fast undone, by reloading the ramdisk without saving. I use it, if i make experiments with fpc or lazarus or both.

BTW: My system have 32 GB Ram, so i have no Problem with a 8GB drive

loaded:
Thaks for you reply af0815,
This answer has been like a lighthouse in dark waters for me.
One last question You are probably using ssd !
What is the difference in compilation speed and time between the two?
Is this difference worth going from SSD to RAMDISK?

dbannon:

--- Quote from: loaded on December 26, 2021, 12:18:42 pm ---What is the difference in compilation speed and time between the two?
Is this difference worth going from SSD to RAMDISK?

--- End quote ---

I suspect not. I use a three year old laptop with an ssd and 16G ram and can do a "cleanup and build" based on GTK2 and my 20,000 line project in about 13 seconds. Normally, a "build" happens so quickly that I am unaware of how long it takes. I'd prefer to keep the ram available for the compiler.  But its worth mentioning that if you do go the ram disk way, just installing Lazarus in the ramdisk, built directly from source, would need a lot less than the 8G that af0815 buts aside. My lazarus-main only 1.3G so might be worth experimenting with, say, 2G ? (that would not get the FP RTL into ram of course). Just a thought ...

https://wiki.freepascal.org/Installing_Lazarus_on_Linux#Build_Lazarus_from_Source

Davo

loaded:
Thank you so much dbannon for sharing your experiences.

Navigation

[0] Message Index

[#] Next page

Go to full version