Thread 'How to install or move BOINC to RAMDISK?'

Message boards : Questions and problems : How to install or move BOINC to RAMDISK?
Message board moderation

To post messages, you must log in.

AuthorMessage
Misho

Send message
Joined: 8 Jan 16
Posts: 6
Bulgaria
Message 66660 - Posted: 8 Jan 2016, 8:12:58 UTC

Dear all,
i would like to ask you how can i install or move BOINC to ramdisk?
I want to use ram for this, not hdd.
I tried this http://www.xtremesystems.org/forums/showthread.php?286569-BOINC-RAMdisk-on-linux-Tutorial&p=5223632&viewfull=1#post5223632 but some projects give me error after that.
My pc is with Windows 7 OS.

Can someone help me.

Best regards.
ID: 66660 · Report as offensive
Coleslaw
Avatar

Send message
Joined: 23 Feb 12
Posts: 198
United States
Message 66676 - Posted: 8 Jan 2016, 17:36:02 UTC - in response to Message 66660.  
Last modified: 8 Jan 2016, 17:45:38 UTC

I've not set one up for a while... was wondering why they didn't just create the RAMdisk and then install BOINC (associating the data directory to the ramdrive)... I'm sure they have their reasons and it may be the RAMdisk software choice they went with. Maybe when I have free time I will set one up and play with it a bit...

Edit: And I'm talking strictly on their Windows portion. The Linux portion I have no knowledge of...
ID: 66676 · Report as offensive
Jim1348

Send message
Joined: 8 Nov 10
Posts: 310
United States
Message 66678 - Posted: 8 Jan 2016, 18:14:31 UTC - in response to Message 66660.  

No problem. I use ramdisks on three machines running Win7 64-bit. First, you create the ramdisk itself. For that of course, you need enough memory, which depends on the projects you run. You will be placing the BOINC/Data folder on the ramdisk (C:\ProgramData\BOINC), so you can just check the size of it on your disk drive now if you have it already running on that, plus some extra as projects may grow some.

The two leading ramdisks for Windows are by Dataram and Primo
http://memory.dataram.com/products-and-services/software/ramdisk?
http://www.romexsoftware.com/en-us/primo-ramdisk/index.html
Both have worked well for me, but when I need a large ramdisk I prefer Primo Ramdisk, since it allows the use of "invisible" memory above 16 GB. That is, if you don't have Windows7 Pro, then you are limited to 16 GB by the operating system, and everything above that is "invisible" to the OS.

After creating the ramdisk of the appropriate size, you will see it in "Computer" as a normal disk with a given drive letter ("Z" in my case, but you can change it to whatever you want.) Then, you create a BOINC folder on that drive, and install BOINC, choosing that folder on the ramdisk for "BOINC Data" in the setup dialogs.

However, that is sometimes easier said than done if you have had previous installations of BOINC on your machine, as you probably do. In that case, you at least need to completely uninstall BOINC, including the DATA folder, and even delete the data folder itself on the disk drive. But that may not be enough. When you go to re-install BOINC to the ramdisk, it may still want to install the DATA folder to the disk drive rather than allowing you access to the ramdisk (especially if the prior install was in Service mode.) In that case, you need to go into the registry (using "regedit" for example) and remove all references to BOINC, especially those that have the old path, but usually even more than those. Finally, you will be able to reinstall BOINC. The BOINC program folder will go to its usual place on the disk drive, but the BOINC data folder should then be installed to the ramdisk.

But wait, there is more. Ramdisks do not like power outages or BSODs at all. So if you have an unstable machine, don't even think of a ramdisk. And even if it is stable, you should have an uninterruptible power supply (UPS) to tide you over short power outages, and to shut down you machine gracefully if there is a long power outage.

Once it is all done, it should be very stable. Mine run for months at a time with no problems.
ID: 66678 · Report as offensive
Misho

Send message
Joined: 8 Jan 16
Posts: 6
Bulgaria
Message 66679 - Posted: 8 Jan 2016, 18:42:56 UTC - in response to Message 66678.  

No problem. I use ramdisks on three machines running Win7 64-bit. First, you create the ramdisk itself. For that of course, you need enough memory, which depends on the projects you run. You will be placing the BOINC/Data folder on the ramdisk (C:\ProgramData\BOINC), so you can just check the size of it on your disk drive now if you have it already running on that, plus some extra as projects may grow some.

The two leading ramdisks for Windows are by Dataram and Primo
http://memory.dataram.com/products-and-services/software/ramdisk?
http://www.romexsoftware.com/en-us/primo-ramdisk/index.html
Both have worked well for me, but when I need a large ramdisk I prefer Primo Ramdisk, since it allows the use of "invisible" memory above 16 GB. That is, if you don't have Windows7 Pro, then you are limited to 16 GB by the operating system, and everything above that is "invisible" to the OS.

After creating the ramdisk of the appropriate size, you will see it in "Computer" as a normal disk with a given drive letter ("Z" in my case, but you can change it to whatever you want.) Then, you create a BOINC folder on that drive, and install BOINC, choosing that folder on the ramdisk for "BOINC Data" in the setup dialogs.

However, that is sometimes easier said than done if you have had previous installations of BOINC on your machine, as you probably do. In that case, you at least need to completely uninstall BOINC, including the DATA folder, and even delete the data folder itself on the disk drive. But that may not be enough. When you go to re-install BOINC to the ramdisk, it may still want to install the DATA folder to the disk drive rather than allowing you access to the ramdisk (especially if the prior install was in Service mode.) In that case, you need to go into the registry (using "regedit" for example) and remove all references to BOINC, especially those that have the old path, but usually even more than those. Finally, you will be able to reinstall BOINC. The BOINC program folder will go to its usual place on the disk drive, but the BOINC data folder should then be installed to the ramdisk.

But wait, there is more. Ramdisks do not like power outages or BSODs at all. So if you have an unstable machine, don't even think of a ramdisk. And even if it is stable, you should have an uninterruptible power supply (UPS) to tide you over short power outages, and to shut down you machine gracefully if there is a long power outage.

Once it is all done, it should be very stable. Mine run for months at a time with no problems.


Thank you for the information. :) I will try after few days :)
ID: 66679 · Report as offensive
Misho

Send message
Joined: 8 Jan 16
Posts: 6
Bulgaria
Message 66744 - Posted: 10 Jan 2016, 5:31:41 UTC

Hello all and thanks for the info.
I make new ramdisk with SoftPertect Ramdisk (4GB Ramdisk) and install on it boinc data folder. For now look like all work normal - i crunch theskynet pogs project and einstein. All WU finish normally for now.

Best regards.
ID: 66744 · Report as offensive

Message boards : Questions and problems : How to install or move BOINC to RAMDISK?

Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.