Improving performance - RamDisk

alp35035

New Member
After troubleshooting many different issues and optimizing OBS setups, I have come to a firm believer in using Starwind RamDisk. I run OBS Studio in -multi mode and -p portable mode and run xcopy bat files at startup to configure everything automatically. I noticed OBS Browser Pages write a fairly good bit in temp files and take up system resources but once I put OBS in the RamDisk many issues disappear. Only downside, remembering to run another xcopy bat file to save changes back to storage drive to really save changes. I run multiple instances and stream from the same machine using nginx in the same way. The whole setup uses about 2 GB of Ram. Trading RAM for SSD write hits.

I never read about someone doing a setup like this and was curious if anyone else runs a similar setup. Other than running the program in memory, with the risk of loosing a new setting due to power failure, I can't seem to think of a reason not to run OBS like this.
 
That is a solid setup. When I experimented with online video streams inside browser sources, I came up with this command:
"C:\Program Files\obs-studio\bin\64bit\obs64.exe" --disable-cache --disk-cache-size=1 --media-cache-size=1 --disable-gpu-shader-disk-cache --disable-gpu-program-cache
It reduces SSD hits when playing streams.
 
Just thought I would post this image to show how much ram disk is saving my ssd.

Assuming 450 TBW for the SSD, if not for Ram Disk, my SSD would die in a little over a year.

Untitled-1.png
 
Last edited:
Interesting, good diagnosis and data gathering

I'm curious if it OBS Browser (which I don't use), or the site being visited, that is driving the local drive write behavior?
Would it happen to be a site associated with streamlabs? if yes, my first thought is 'that figures' [PoS code all the way around]
 
Back
Top