[How To] Run Subsonic on RAMDisk in Windows 7 / SSD
Posted: Fri Feb 18, 2011 12:22 am
This is my first post, so I'm going to try to make it a helpful one.
Sindre, if you see this, thank you so much for your continued work on Subsonic. I've been using it for about 2 years and I love it. I have indeed donated and plan to again sometime soon.
[How to Run Subsonic on RAMDisk in Windows]
This guide assumes you don't need "step-by-step" hand holding for simple tasks. You're a subsonic user, I assume you're somewhat tech savvy.
1. Install the latest standalone windows Subsonic package. If you already have a subsonic server running, that's fine.
2. Install DataRam RAMDisk (or preferred program). It's freeware up to 2GB. http://memory.dataram.com/products-and-services/software/ramdisk#download-ramdisk
3. Create a 2GB RamDisk.
You don't need that much for Subsonic unless you have 50TB of files getting indexed, but while you're installing a RAMDisk you should take advantage and move the Windows TEMP/TMP files and other things to it through variables and regedit. I'm not going to cover that here. Google.
4. Format the disk as NTFS through Windows Disk Management.
5. Assign it a drive letter. I chose R:\ (and volume labeled it RAMMY)
6. Stop the subsonic service if it's running.
7. Copy your c:\subsonic folder to r:\subsonic
8. Open subsonic-service.exe.vmoptions from c:\program files (x86)\subsonic\ [64-bit OS] or c:\program files\subsonic\ [32-bit OS] in a text editor.
9. Add the following line to this file on the next blank line if you made your RAMDisk your R drive:
-Dsubsonic.home=r:\subsonic
10. Save and close the file.
11. Restart the subsonic service.
12. Make sure you set DataRam RAMDisk to save your ramdisk to your hard drive upon shutdown and load it upon boot-up*
*I recommend disabling the AutoSave feature in DataRam RAMDisk, especially if you are saving to an SSD.
There are a couple great reasons to run Subsonic from a RAMDisk:
1. Logfile writes don't slop up your SSD.
2. It's faster than your SSD. I have 4x Vertex 2 in RAID0 on an LSI SAS RAID controller and my RAM is still faster.
3. Subsonic will be more responsive when supplying you with search results and indexing. Lightning fast, actually.
4. 12GB of quality RAM is only about $250 on Amazon.
If you have any questions or need any assistance, please reply to this thread so if suggestions are made they can help others as well who may have the same questions.
Sindre, if you see this, thank you so much for your continued work on Subsonic. I've been using it for about 2 years and I love it. I have indeed donated and plan to again sometime soon.
[How to Run Subsonic on RAMDisk in Windows]
This guide assumes you don't need "step-by-step" hand holding for simple tasks. You're a subsonic user, I assume you're somewhat tech savvy.
1. Install the latest standalone windows Subsonic package. If you already have a subsonic server running, that's fine.
2. Install DataRam RAMDisk (or preferred program). It's freeware up to 2GB. http://memory.dataram.com/products-and-services/software/ramdisk#download-ramdisk
3. Create a 2GB RamDisk.
You don't need that much for Subsonic unless you have 50TB of files getting indexed, but while you're installing a RAMDisk you should take advantage and move the Windows TEMP/TMP files and other things to it through variables and regedit. I'm not going to cover that here. Google.
4. Format the disk as NTFS through Windows Disk Management.
5. Assign it a drive letter. I chose R:\ (and volume labeled it RAMMY)
6. Stop the subsonic service if it's running.
7. Copy your c:\subsonic folder to r:\subsonic
8. Open subsonic-service.exe.vmoptions from c:\program files (x86)\subsonic\ [64-bit OS] or c:\program files\subsonic\ [32-bit OS] in a text editor.
9. Add the following line to this file on the next blank line if you made your RAMDisk your R drive:
-Dsubsonic.home=r:\subsonic
10. Save and close the file.
11. Restart the subsonic service.
12. Make sure you set DataRam RAMDisk to save your ramdisk to your hard drive upon shutdown and load it upon boot-up*
*I recommend disabling the AutoSave feature in DataRam RAMDisk, especially if you are saving to an SSD.
There are a couple great reasons to run Subsonic from a RAMDisk:
1. Logfile writes don't slop up your SSD.
2. It's faster than your SSD. I have 4x Vertex 2 in RAID0 on an LSI SAS RAID controller and my RAM is still faster.
3. Subsonic will be more responsive when supplying you with search results and indexing. Lightning fast, actually.
4. 12GB of quality RAM is only about $250 on Amazon.
If you have any questions or need any assistance, please reply to this thread so if suggestions are made they can help others as well who may have the same questions.