1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads > Performance threads

Performance threads All discussions about CoD performnce

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2011, 11:03 PM
jimbop jimbop is offline
Senior Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default Use a RAM drive to reduce stuttering

Acknowledgments first: here (JG52Krupi) and here (Ataros, post #37).

This is a method to create a virtual RAM drive which can be used to store some of the more accessed game files. I don't know how RAM speed compares with SSD speed? But many of us don't have SSDs yet. You will need some spare RAM that is not being used while the game is running.

The below test seems to reduce stuttering (no effect on FPS) during a quick free flight over Dover. I don't have time to continue testing just now but more later. Please let us know how you get on if you try it.

1. Download ImDisk from here: http://www.ltr-data.se/opencode.html/#ImDisk

2. Install ImDisk then open ImDisk from Control Panel

3. Mount Image. All you need to do is click on Gigabytes under Size of virtual disk and enter 1 in the text box. This will create a 1Gb virtual RAM drive with the drive letter F
Edit 335th_GRAthos notes: You need to have turned UAC (User Access Control) off to make this happen, otherwise you may get message "permission denied" (after the creation I turned UAC on and the system was working without problems).

4. Format the new drive in My Computer as NTFS

5. *Copy* whichever files you want over to the new RAM drive (I copied bob_3do.SFS, bob_buildings.SFS and bob_ground.SFS in C:\Program Files (x86)\Steam\steamapps\common\il-2 sturmovik cliffs of dover\parts\bob)
Edit 335th_GRAthos notes: When finished copying all the files you want, unmount the drive and REMOUNT ticking the option LOAD IMAGE TO RAM. This will make now everything stay in the RAM of your PC (without this option ticked, the image is loaded from your hard disk, which make no difference in performance). You can check if this worked as expected by watching the memory usage in your Task-Manager window.

6. Rename the HDD versions of the files with an -OLD extension (or whatever you want - don't delete them but you will need to rename or move them)

7. Download Link Shell Extension and the necessary runtime DLLs from this site: http://schinagl.priv.at/nt/hardlinks...kshellext.html

8. Open your new RAM drive (F: for me) in My Computer, right-click the file you want to create a link to and click Pick Link Source

9. Open the original steamapps CoD folder where the files are usually located, right click and click Drop Symbolic Link

10. Play the game

11. Let us know if it makes a difference or even if it doesn't, thanks.

Last edited by jimbop; 05-28-2011 at 11:26 AM.
Reply With Quote
  #2  
Old 04-01-2011, 11:12 PM
Space Communist Space Communist is offline
Senior Member
 
Join Date: Jun 2010
Posts: 194
Default

Very interesting, I will be curious to see how this turns out.
Reply With Quote
  #3  
Old 04-01-2011, 11:18 PM
jimbop jimbop is offline
Senior Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default

Quote:
Originally Posted by Space Communist View Post
Very interesting, I will be curious to see how this turns out.
Precisely my thoughts when I read Ataros' post. Please let us know how you go.
Reply With Quote
  #4  
Old 04-01-2011, 11:43 PM
machoo
Guest
 
Posts: n/a
Default

It might have made a difference over land , it still runs pretty choppy though. If you have a dedicated SSD I think this could make a big improvement .
Reply With Quote
  #5  
Old 04-02-2011, 12:05 AM
jimbop jimbop is offline
Senior Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default

For this to make any difference the bottleneck would have to be the HDD I would think. I doubt it will help framerate in general but could reduce stuttering.
Reply With Quote
  #6  
Old 04-02-2011, 03:48 PM
Stanger Stanger is offline
Member
 
Join Date: Oct 2008
Posts: 30
Default

Quote:
Originally Posted by machoo View Post
It might have made a difference over land , it still runs pretty choppy though. If you have a dedicated SSD I think this could make a big improvement .
I have a SSD for c:drive (Operating system) and a SSD for Drive (Games)

Still get choppy with 40 fps.
Reply With Quote
  #7  
Old 04-02-2011, 06:22 PM
Ataros Ataros is offline
Senior Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,438
Default

You can find lots of info on ramdrive usage from this forum as ArmA2 has high visibility distances and thus many objects loading from hard drive to video memory at the same time and this is the reason for stuttering (but only sometimes for low fps).

I use this program to create a ramdrive http://memory.dataram.com/products-a...ftware/ramdisk so far but will probably try a RAMDisk Enterprise when I have more RAM.

Out of 4GB RAM my ramdisk takes 1600 MB and this completely removes stutters for me having these 4 files placed there:

bob_buildings.SFS
bob_plane.SFS
bob_update.SFS
bob_update01.SFS

One of developers mentioned that bob_update.SFS and bob_update01.SFS are worth putting into RAM.

People at Sukhoi forums report that the most frequently accessed files are bob_plane.sfs, bob_update01.sfs, bob_maps.sfs .

I hope this helps.

ps. My specs: i7-860@3.8, 4GB, ATI4890 2GB. Run mid settings at 1680x1050 at about only 25-30 fps low over land with about 30-40 planes due to slow video card but smooth and without any stutters.

Do not forget to exclude the ramdisk and il-2 steam folder from antivirus shields. And use Gamebooster to unload unnecessary programs from memory and defragment the game folder.
Reply With Quote
  #8  
Old 04-02-2011, 06:26 PM
Wynthorpe Wynthorpe is offline
Member
 
Join Date: Oct 2010
Posts: 57
Default

Will give it a try thanks!
Reply With Quote
  #9  
Old 04-02-2011, 08:54 PM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default

I couldn't get ImDisk to work so I tried RamDisk (http://memory.dataram.com/products-a...ftware/ramdisk) instead. Unfortunately the game wouldn't even start. Not sure i I made anything wrong but I did follow the instructions to the letter (except for the selected ram disk solution).

Seems most of you who tried it did see reduction of stutters, which is reallt the biggest problem with this game. To my surprise I have seen little change in FPS with different settings. I'm not even sure what FPS I have (is there a way to get that info on screen?) but the stutters kills the game for me.

Let's hope for that patch to come along soon.

Cheers
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate
Reply With Quote
  #10  
Old 04-02-2011, 08:59 PM
jimbop jimbop is offline
Senior Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default

Quote:
Originally Posted by moggel View Post
I couldn't get ImDisk to work so I tried RamDisk (http://memory.dataram.com/products-a...ftware/ramdisk) instead. Unfortunately the game wouldn't even start. Not sure i I made anything wrong but I did follow the instructions to the letter (except for the selected ram disk solution).

Seems most of you who tried it did see reduction of stutters, which is reallt the biggest problem with this game. To my surprise I have seen little change in FPS with different settings. I'm not even sure what FPS I have (is there a way to get that info on screen?) but the stutters kills the game for me.

Let's hope for that patch to come along soon.

Cheers
What was the problem with ImDisk?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:18 PM.

Based on a design by: Miner Skinz.com

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.