Sign in to follow this  
stampee

automatic ramdisk

Recommended Posts

Hi all: I would like to try putting some of the prepar3d data onto a ramdisk. I have searched google and these forums and it seems like most people manually copy over some files to the ramdisk, and then change file links in the prepar3d .cfg file. This seems like a messy method at best.

Also all the information I find is 2 years old or older.

Is there a way to do this automated?

I want to use a 10 g ramdrive. All the files would not fit on this I know, but certainly the ones being most used at the time would be.

Maybe a ramdrive cache? many times I fly around over the same general area, so it may load from HD the first time, but then should pull from the ramdrive the 2nd time.

Any advice would be appreciated.

 

-stampee

 

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

I used a commercial ram desk for quite some time until I upgraded to win 7-64.

 

I put all of my UTXUSA files (~4GB) on it and experienced a significant improvement In smoothness...this was pre-P3D, and I don't know why I didn't buy the 64bit version of the ram disk and recreate the scenario… I might consider buying some faster and more RAM to do it again, after gathering some statistics on others who have done the same with P3D v2x.

 

Chaz

Share this post


Link to post

If you happen to own an MSI motherboard a free auto ramdisk is included in their utility CommandCentre.

 

In my experience it works well.  I find it strange that more members don't seem to use one,  particularly the majority of 16 GB owners, who might then have a reason to justify the excess 8Gb.    :He He:

Share this post


Link to post

 

 


particularly the majority of 16 GB owners, who might then have a reason to justify the excess 8Gb
 It's my whole reason for having 32GB, that and a bunch of VMs I run for tests.

Share this post


Link to post

How do you get your files onto the ram disk. That I do not understand, other then manually copy them over, and then change all the links in your cfg file.

-Stampee

Share this post


Link to post

primocache will cache your most frequently or currently used files onto the RD.  It keeps track from start to start.   The first load of P3D is normal speed, as well as a first load of a particular scenery area, but subsequent loads are lightning fast.

Share this post


Link to post

 

 


manually copy them over

 

Yes Stampee, that's what you do ... once.  That's the whole idea of an auto RamDisk.  It 'remembers' the files you need, copies them to physical disc as you Shutdown, loads them automatically when you Boot.  The entire process is seamless, at least with the MSI RamDisk.

Share this post


Link to post

Yes Stampee, that's what you do ... once. That's the whole idea of an auto RamDisk. It 'remembers' the files you need, copies them to physical disc as you Shutdown, loads them automatically when you Boot. The entire process is seamless, at least with the MSI RamDisk.

... But as I recall, quite slow upon boot up, cause you have a boot driver that has to copy the specified files from disk to RAMDISK.. a hell of a lot faster than writing to disk, but a significant slow down from just reading the drive....BUT... ONCE THE RAMDISK is loaded, remember it is just volatile ram programed to appear as a hard drive....what is on the RAMDISK will be accessed lightning fast.

 

...but as opposed to a cache whose function is to assure its data to be wholly written or Wholly backed out, a RAMDISK WILL BE CORRUPTED if power is lost, or your program LOCKS UP or YOUR PC CRASHES....my UTXUSA, once copied to RAMDISK, didn't require any writing to the data, so even if I had a crash, only "access, open, read" was going on with the RAMDISK, so worst case, was I had to re-load it.

 

 

That is my memory of the reason I BOUGHT, and practical use of, a RAMDISK.

 

...AND the making me think about doing it again...depending on the costs of the software and more and faster RAM.

 

Hope this helps.

 

Chas

Share this post


Link to post

Thanks much to everyone. I am trying primocache now. So far, so good.

-Stampee

Share this post


Link to post

Can I ask: is it possible to use it only for P3D?

 

jos

Share this post


Link to post

Primo cache only works on a complete harddrive. I happen to have Prepar3d on a separate harddrive, so it is helping me. I also have a ton of other stuff on there as well, which will hurt things because it also will cache things I do not need cached, like movies and pictures etc.

I wish I could find one that caches only certain files or directories.

Still so far it is helping and makes loading prepar3d a LOT faster. Not instant, but around 8 seconds when it used to be 30 to get to the menu screen, then another 30 to load a flight, Now it takes about 10 to load the same exact flight a 2nd time. I dunno why it is not faster, but prepar3d may be doing a lot of crap in the background actually setting up the mission.

-Stampee

Share this post


Link to post

Hi,

 

I'm using the dataram ramdisk. It installs itself just like any other drive and you can copy whatever you like on it. It keeps a shadow copy on your real harddrive, where data is stored when the ramdisk is shut down, and loaded from when booting.

 

I moved some folders there, like Effects, Textures and the UT2 Aircraft, either changing the path in the cfg or creating Symlinks as reference point. Seems to work ok, no more texture blackouts or grey/black ai planes.

Share this post


Link to post

Thanks for the info.

I'll give ramdisk a try.

 

Jos

Share this post


Link to post

SSD... eliminates all of this silliness. :)

Share this post


Link to post

SSD... eliminates all of this silliness. :)

Well - I don't think so. Direct memory access is still quite a bit faster than SATA, SAS, PCie, whatever.

Share this post


Link to post

Well - I don't think so. Direct memory access is still quite a bit faster than SATA, SAS, PCie, whatever.

Not fast enough for you to tell the difference for what's being desired (faster file load times).

Share this post


Link to post

Well, yes, probably. Still. While being faster it (the ramdisk) is a rather cheap way to improve things a little. A SSD will set me back 20 times the amount I paid for the ramdisk, as I would need a full replacement for the core sim drive. Scenery drive is out of the question, for that I would need yet another SSD. Sometime in the future I will, just not now.

 

Thanks for calling me/us silly, by the way.

Share this post


Link to post

I run Prepar3D on a single SSD, with scenery. It wasn't a $200 drive (12GB dataram ramdisk license @ $10 * 200 = $200).

 

While I called using a ramdisk silliness... I didn't call you anything.

Share this post


Link to post

SSD... eliminates all of this silliness. :)

You beat me to it. I've been running everything on 1 250 and 1 TB Samsung SSD for quite a while now.

 

Only run photoscenery with an occasional ORBX airport on top.

 

Do not and have never had a problem with load times, blurriness, etc.

 

Runs perfect.

Share this post


Link to post

I have been thinking about SSDs a lot. I would need three of the 1 TB kind to cover all bases (FSX, P3D and the shared scenery drive). Where I live a 1 TB SSD costs 500 USD. I will take the plunge one day. Just not now.

Share this post


Link to post

I run FSX from a SATA III 1TB Samsung 840EVO SSD, and I also dedicate 8GB of my 16GB system RAM to Primocache to cache the SSD.  The difference in load times between the first load (when reading off the SSD and caching FSX data for the first time), and subsequent loads is pretty dramatic.  DMA access to fast dual-channel RAM is several orders of magnitude faster than accessing an MLC flash array and then transporting the data over a PCIe bus designed for physical media and shared with the video card and other hardware.  When doing programming/development work, it's not uncommon to have to start and stop FSX repeatedly as part of the testing process, and anyone suggesting the differences are imperceptible or the undertaking is silly has either never tried it or has been doing it all wrong.

 

Regards

Share this post


Link to post

Thank you, Bob.

 

I really started to second guess myself, but you saved me :-)

Share this post


Link to post

I use 2 Samsung SSD's. I for OS, 1 for P3D. This is a new build with pretty much nothing else on it. Whilst faster than loading off 3 spindles it is still not as fast as what I had hoped. Particularly as I do stop and start frequently. This could be because of background scenario setups as mentioned in this thread... I am going to investigate the use of a RAMDrIve

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this