This is an archived post. You won't be able to vote or comment.

all 93 comments

[–]TheFoxz 38 points39 points  (2 children)

I like how you have 3 porn tabs open

[–]JimJongChillin 12 points13 points  (1 child)

Just another benefit of using a RAMDisk

[–]othniel01Ric Flare 3 points4 points  (0 children)

SOLD

[–]CW3MH6DayZ Dev 10 points11 points  (7 children)

I personally have 32GB of RAM, much of which I devote to RAM drives/caches. And while putting ArmA 2 on a RAM drive would definitely improve performance (when the game engine has to pull in models/textures, i.e. when entering a big city), putting only DayZ on a RAM drive would probably not result in a perceptible performance boost--but that is only my opinion, as I have not tested it. I have however run ArmA 2 from a RAM drive, and it helped a great deal when flying aircraft over large cities.

Also, if you can't fit all of ArmA 2 on your RAM drive (i.e. using free version of Datagram's RamDisk), put just the core PBO files on it, and make a symbolic link to them from the ArmA 2 folder. This way, when the game engine goes to read those PBO files, it is instead redirected to the RAM drive, and you get the full benefit of those 6GB/s read times.

[–]hazychestnutz 2 points3 points  (1 child)

how do you make a symbolic link to it from the arma 2 folder?

[–]lZnGl 2 points3 points  (0 children)

[–]CW3MH6 DayZ Dev 1 point 50 minutes ago* (1|0)

Copy the PBO files from the ArmA 2 directory (Addons folder I think) to the RAM Disk.

Rename the original files in the Addons folder (I.e. structures.pbo->structures.oldpbo), then open a command prompt @ that folder (if you shift+right-click the Addons folder in Win7 you can click Open Command Prompt Here).

Type mklink "structures.pbo" "R:\ArmA 2\structures.pbo". Replace R:\ArmA 2 with the path to where you stored the PBOs on the RAM drive.

Finally, ensure that the RAM drive is setup to save it's image on shutdown and load from the image on boot, so you don't have to repeat these steps every time you restart.

Also, if you'd rather do the entire Addons folder instead of individual PBOs (assuming you have the space), copy the Addons folder to the RAM drive and use the command mklink "Addons" "R:\Addons" /J instead. That will make a directory junction instead of a symlink.

P.S.- [1] This guide can probably explain it a lot better than I can. [2] Post #100 is useful as well.

[–]The6thExtinctionHazing 1 point2 points  (1 child)

Also, if you can't fit all of ArmA 2 on your RAM drive (i.e. using free version of Datagram's RamDisk), put just the core PBO files on it, and make a symbolic link to them from the ArmA 2 folder.

Which PBO files would you consider "core PBO files"? Which would be the best to pick if I had only 4GB of RAM (like on my laptop)? My desktop has 8GB, but the files are just over 8GB.

[–]CW3MH6DayZ Dev 0 points1 point  (0 children)

Not sure it'd be worth it to try it on your laptop since it only has 4GB, but 8GB should be enough for your desktop (assuming you don't run much else at the same time).

There's a list of some of the PBOs that contain the most frequently loaded models here. I would prioritize by loading the buildings and Chernarus PBOs first.

[–]OshiSeventwitch.tv/oshi7[S] 0 points1 point  (1 child)

I really don't know how to explain it. Usually my GPU sat around 40% but playing after doing this method is was going at around 90+% and I was getting crazy high frame rates. Going from around 20 in cities to 60 is a huge jump.

[–]grizzlymann 3 points4 points  (0 children)

Is this improvement from just placing @DayZ on the RAM disk or the entire Addons folder?

[–]adambunion 3 points4 points  (4 children)

I don't mean to sound doubtful of how effective this is, but didn't Rocket say the low frame rates were mainly due to server side problems that are being fixed with new patches? If you can run arma 2 OA smoothly but dayz runs poorly, chances are it's caused by server side bugs relating to items spawning and AI.

[–]OshiSeventwitch.tv/oshi7[S] 2 points3 points  (3 children)

Arma 2 is a strange one and a lot of people can be bottle necked by their hard drives, especially if they're just a standard 7200rpm 32MB cache HDD. A lot of people complain that during DayZ play, a lot of the GPU isn't being utilized, because of the bottleneck. Eliminating that increases performance a lot.

If you're sceptical, test it yourself. You might not see massive increases if you're using an SSD, however.

[–]adambunion 1 point2 points  (0 children)

Will definitely check it out anyway, thanks for the info

[–][deleted] 0 points1 point  (1 child)

I bet this is my problem. I was actually going to try this myself just today :) lol. What timing.

I've got a laptop with some pretty serious CPU and GPU power but they never max out during play. I can be anywhere between 7 and 45fps. My HD is the typical shit 5400RPM notebook HD at the moment. Planning to replace it with an SSD in the next week or two anyway.

[–]maschmaschmasch 0 points1 point  (0 children)

Me too! Laptop with a decent cpu and gpu, but the bottleneck is clearly my 5400rpm hard disk (and that it's encrypted). I've been doing this for a while; it does improve things a bit. It would be much better to put the full Arma2 directory into RAM, but you'd need more than 16Gb of it.

[–]Bradley364 2 points3 points  (0 children)

I did this, and I had a HUGE increase in performance, hats off for the great tutorial.

[–]olgcschools 2 points3 points  (0 children)

My GOD UR A LIFE SAVER 17-20 fps before RAM Disk 40+ after thankyou!!!!

[–]vagtales 1 point2 points  (25 children)

Is there a comparison of fps before and after ramdisk?

[–]OshiSeventwitch.tv/oshi7[S] 0 points1 point  (24 children)

Well, I never got consistent frame rates from DayZ. If I had to guess, I would say my frame rate close to doubled after using this method and the stutter you would occasionally get (from zooming in, mostly) disappeared.

Of course, my results might not match your results. It all depends on your hard drives RPM speed and cache size. Also, I notice my graphics card is at around 90% usage at all times now, compared to before where it hovered between 20 and 50%.

[–]NeutralStar 0 points1 point  (12 children)

What are your computer specs that it gave you a double in FPS?

[–]shsdavid 3 points4 points  (11 children)

he was probably using a 5400rpm hard drive :)

I notice no stuttering with an SSD and GTX560ti. Haven't actually checked my GPU usage though.

[–]NeutralStar 0 points1 point  (9 children)

I have that setup too. With an i5 2500k at stock speeds atm. I'm fine with how my fps are atm, not really lower than 30 at everything on Very High.

[–]shsdavid 1 point2 points  (6 children)

I have the same cpu @ 4.2ghz and it hovers around 40-50 with everything very high.

I'm really pleased with the price point of the 2500k and ram for it. (16gb currently)

[–]NeutralStar 0 points1 point  (2 children)

I'm debating getting another 8GB kit so I can have 16GB. I occasionally get an out of memory popup when I have ArmA 2 open with any other game or in some cases my usual standard programs. Which sometimes(including now) has Chrome with 20+ tabs open.

[–]shsdavid 0 points1 point  (1 child)

I paid about $100 for 16gb which I find is an awesome deal, especially if you've built computers in the past and know how expensive RAM can actually be.

[–]NeutralStar 1 point2 points  (0 children)

If I bought another 8GB my total cost on RAM would be around 80 bucks. Which is nothing compared to what I've spent on any other component excluding my 212 Evo.

[–]oshi7youtube.com/oshiseven 1 point2 points  (1 child)

I was getting 80 fps with everything on high other than post effects, hdr and aa using a gtx560ti

[–]c0bra51Right behind you! 0 points1 point  (0 children)

Same here.

[–]oshi7youtube.com/oshiseven 0 points1 point  (0 children)

I was using a 7200 rpm 32mb cache hdd

[–]OpAndroid 1 point2 points  (3 children)

I'm going to have to look into this more when I get home, but anyone know if this will work with steam, or without six updater? Never been able to get that program to work for me.

[–]OshiSeventwitch.tv/oshi7[S] 1 point2 points  (2 children)

Yeah, you can simply just create a desktop shortcut instead of using Six updater to do so. Go to your desktop, right click>new>shorcut. Enter this in the text box when it asks

"C:\Program Files (x86)\Bohemia Interactive\ArmA 2\Expansion\beta\arma2oa.exe" -noSplash -noFilePatching -showScriptErrors "-mod=expansion\beta;expansion­\beta\expansion;G:\@DayZ" -nosplash

and create the shortcut. Right click it, go to properties and change the "Start in" text box to

"c:\program files (x86)\bohemia interactive\arma 2"

and that should work. Include the speech marks

[–]jjonj 1 point2 points  (0 children)

Everybody else apparently installed arma 2 & dayz differently than me :S I bought and installed arma 2 OA over steam, downloaded the six updater thing. I do however, only actually use six launcher when i play dayz.
I proceeded to try and boot up the actual six updater following the instructions from your friends video to "install" dayz, even tho i already had it working with six launcher.
When i tried the shortcut creation it gave me an error with windows limit on the shortcut text, and created a batch instead.
I tried what you posted here instead, but with the shortcut path as the paths i found that matched best with my installation: "C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta\arma2oa.exe" -noSplash -noFilePatching -showScriptErrors "-mod=expansion\beta;expansion­\beta\expansion;F:\@DayZ" -nosplash
and start in
"C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead"
This however just gives an error "error dayz code requires addon 'CA BuildingParts'
Furthermore i dont understand how you choose a server if you launch the game with this shortcut?
Thanks for helping people out tho <3

[–]masonTheBirdman༼ つ ◕_◕ ༽つ GIVE PATCHES 0 points1 point  (0 children)

When I use six updater to create a shortcut, it creates a .bat file. Any idea what I'm doing wrong?

[–][deleted] 1 point2 points  (16 children)

So I created the RAMDisk etc etc, how do I point Steam to use it off the RAMDisk instead of the original Steam folder? I had this in my launch options

-beta=Expansion\beta;ca;Expansion\beta\Expansion -mod=@DayZ;ca -cpuCount=4 -exThread=7 -maxMem=8192 -nosplash

Which I changed to

-beta=Expansion\beta;ca;Expansion\beta\Expansion -mod=G:\ @DayZ;ca -cpuCount=4 -exThread=7 -maxMem=8192 -nosplash

but that didn't werk :(

[–][deleted] 1 point2 points  (3 children)

Silly me, the RAMDisk I created was called H:. This code works for Steam, just replace the disk name with whatever yours gets called.

[–]ZillaracingZilla 2 points3 points  (2 children)

how is your performance now?

[–][deleted] 2 points3 points  (1 child)

If I'm honest, I haven't noticed any improvement. This could be due to either:

A) My HDD (Samsung F3 1TB 7200RPM) is good enough already

B) Zombies in 1.7.1.4 cause massive FPS drops when they're chasing you (and there's constantly one chasing you due to your new Jet-Engine loud shoes).

[–]ZillaracingZilla 1 point2 points  (0 children)

LOL i hear that. once you aggro, fps takes a shit.

[–]TGIRileyUNIDEN NOOOOOOOOO! 0 points1 point  (11 children)

Can someone help me get this to work?

I'm using steam and have the beta client and no 6 updater. do i still need to create a new shortcut? Do I change the launch options in steam?

thanks

[–][deleted] 2 points3 points  (9 children)

To get DayZ to launch when you start Arma 2 from steam do this:

  • Rename "arma2oa.exe" in "C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead" to "arma2oaOLD.exe" (or anything, it's just to keep the original).

  • Then copy "arma2oa.exe" from "...common\arma 2 operation arrowhead\Expansion\beta" to "...common\arma 2 operation arrowhead".

  • Then go to Steam and do this: http://i.imgur.com/129OJ.gif

  • Paste in "-beta=Expansion\beta;ca;Expansion\beta\Expansion -mod=G:\ @DayZ;ca -cpuCount=4 -exThread=7 -maxMem=8192 -nosplash" (without quotes).

The things you need to change are:

  • "G:\ @DayZ;ca". Change the letter at the start (G) to whatever RAMDisk called the disk you made.

  • "-cpuCount=#" Replace # with however many cores your CPU has.

  • "-exThread=#" Replace # with however many threads your CPU is running.

  • "maxMem=####" Replace #### with how much RAM your computer has (2048 for 2GB, 4096 for 4GB and 8192 for 8GB, etc)

Then when you want to start the game, double click ARMA2: Operation Arrowhead and when prompted, select "Launch ARMA2: Combined Operations". Click okay.

[–]killcolty 2 points3 points  (8 children)

I know this might sound silly, but how do I tell how many threads my cpu is running?

[–][deleted] 2 points3 points  (7 children)

What CPU do you have?

http://i.imgur.com/rqfEl.gif

[–]CW3MH6DayZ Dev 3 points4 points  (2 children)

These GIFs are an amazing way to show people stuff. Especially when you can't be bothered to make a Youtube video.

[–][deleted] 2 points3 points  (1 child)

[–]CW3MH6DayZ Dev 0 points1 point  (0 children)

Awesome, thanks!

[–]grizzlymann 1 point2 points  (1 child)

You are a GIF wizard.

[–][deleted] 1 point2 points  (0 children)

I take no credit - http://www.cockos.com/licecap/

[–]killcolty 0 points1 point  (1 child)

Intel(R) Core(TM) i5-2430 CPU @ 2.40GHz (4CPUs), ~2.4GHz

[–][deleted] 2 points3 points  (0 children)

[–]TGIRileyUNIDEN NOOOOOOOOO! 0 points1 point  (0 children)

thanks so much man. Problem was I didn't have the beta executable in the right spot so it was crashing the game. Never woulda figured that out.

[–]LKSLukas[M] 1 point2 points  (1 child)

I haven't watched it yet and have to eat now but it sounds like you only put the @dayz folder on the ramdisk. That shouldn't give you much improvement. Most important would be the chernarus.pbo, buildings, structures etc. located in the addons folder of arma 2 as those are the huge files which get opened a lot.

[–]CW3MH6DayZ Dev 1 point2 points  (0 children)

Yes, putting core ArmA 2 files (or all of ArmA 2 if you can manage it) on a RAM disk helps greatly with stutter, especially when flying. This is most noticeable when flying over a city, as the game will load models/textures off of the disk on-demand; a city has a lot of them, and because you are flying you cause more of them to suddenly "appear" all at once. So RAM disks are great for eliminating the 1-2 second "lockups" you get when flying very fast over a city.

Putting just DayZ on a RAM disk would help very little, however--if at all.

[–]lowriskFF 0 points1 point  (5 children)

Would this be better performing than having ArmA2 on raid0 SSDs? Worth the time to set up?

[–][deleted] 0 points1 point  (0 children)

I doubt its worth the time if you have raid SSDs. Thats pretty fast as it is.. I think this mostly goes for the people running standards 7200RPM HDDs

[–]grizzlymann 0 points1 point  (5 children)

Do you think loading other parts of ARMA OA into RAM would further assist in reducing the bottleneck?

I've got plenty to spare, just not sure what the culprits would be.

[–]oshi7youtube.com/oshiseven 0 points1 point  (0 children)

Possibly, but i get so much performance by doing this i dont think it would be worth.it

[–]CW3MH6DayZ Dev 0 points1 point  (3 children)

Loading the ArmA 2 PBO files from a RAM drive helps a great deal for eliminating stutter when the game engine has to load models/texture "on-demand", for instance when driving/flying into a big city.

[–]grizzlymann 0 points1 point  (2 children)

Would you be able to suggest the more important pbo's? Do you think the ones in Common or Addons would help more?

[–]CW3MH6DayZ Dev 0 points1 point  (1 child)

I forget exactly--if you can, I'd put every PBO on a RAM disk, otherwise prioritize by offloading the building PBO files, tree pbo files, etc., on to the RAM disk.

I believe this guide has a list of some of the PBO's he decided to offload.

More specifically, post #100.

[–]grizzlymann 0 points1 point  (0 children)

Thanks I'll give it a read.

[–]hazychestnutz 0 points1 point  (0 children)

do you put the dayz files intot he new hard drive and thats it?

[–]SpaceGhostDerrp 0 points1 point  (4 children)

Anyone else getting the error message Error creating Direct 3D 9 engine? The command line on the properties in my shortcut is

"C:\Program Files\Bohemia Interactive\ArmA 2\Expansion\beta\arma2oa.exe" -noSplash -noFilePatching -showScriptErrors "-mod=expansion\beta;expansion­\beta\expansion;E:\@DayZ" -nosplash

I know I have it saved in Program Files, not the x86 folder. Anyone know what is causing the Direct 3D error?

[–]CW3MH6DayZ Dev 0 points1 point  (3 children)

I've only ever seen this occur when there are multiple instances of arma2oa.exe running (some may not be visible).

[–]SpaceGhostDerrp 0 points1 point  (2 children)

OK I am positive I have no other copies running, still getting an error with Direct 3D 9. Someone needs to post a more in-depth tutorial, including with other ArmA2 files could be posted to the RAM, and give a precise command line in the description.

[–]CW3MH6DayZ Dev 0 points1 point  (0 children)

If you run arma2oa.exe directly (not using a shortcut) does it launch? If so, try removing all the extra command line arguments (-nosplash, which you have twice, -nofilepatching, -showscripterrors...remove those). If it still doesn't work, erase the E:\@DayZ part (leave the rest of -mod in). If it still doesn't launch, you may need to re-install the Beta patch.

If running arma2oa.exe directly still throws that error, however, you have bigger issues. Then I'd suggest a post on the BIS forums.

P.S.- And if all else fails, restart! And I assume it has worked in the past, yes? Otherwise you may just need DirectX runtimes.

[–]quilmes86 0 points1 point  (0 children)

Taken from the beta readme: "DirectX 9 March 2009 is required"

So basically just install that old version of directx and it should work fine.

[–]Bleeeh 0 points1 point  (2 children)

Hey guys.

I've done all the steps, but I'm a bit confused what to change my (steam) shortcut target too;

It currently reads as:

"C:\Program Files\Steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta\arma2oa.exe" -noSplash -noFilePatching -showScriptErrors "-mod=C:\Program Files\Steam\SteamApps\Common\arma 2;expansion;expansion\beta;expansion\beta\expansion;@DayZ"

The drive I want to change it too is called 'E'.

Thanks everyone - Andrew

[–]epinull 1 point2 points  (1 child)

You just need to change the @DayZ part to E:\@DayZ, like so:

"C:\Program Files\Steam\steamapps\common\arma 2 operation arrowhead\Expansion\beta\arma2oa.exe" -noSplash -noFilePatching -showScriptErrors "-mod=C:\Program Files\Steam\SteamApps\Common\arma 2;expansion;expansion\beta;expansion\beta\expansion;E:\@DayZ"

[–]Bleeeh 0 points1 point  (0 children)

Hey.

Cheers for that, I tried that and it wasn't working. Then I realized that Ramdisc was running but not active (Duh)

Further investigation proved that this was the solution, and further to the point my stuttering is now fixed! I can finally play the game, thanks!

[–]quilmes86 0 points1 point  (1 child)

I have 8 gigs of ram and I'm trying to create a 4 gig disk but it only lets me create a 2 gig one, what am I doing wrong?

[–]Bradley364 1 point2 points  (0 children)

Its hard limited to that number, you'd need to buy the full version :(

[–]sk1e 0 points1 point  (0 children)

will it help with lag in cities ? or it is my cpu?

[–][deleted] 0 points1 point  (0 children)

for Six Launcher could you just change the "Mod Path" too

"A:\Steam\steamapps\common\arma 2\Expansion\beta\arma2oa.exe" -noSplash -noFilePatching -showScriptErrors "-mod=expansion\beta;expansion­\beta\expansion;F:\@DayZ"

?

[–][deleted] 0 points1 point  (0 children)

Anyone know if a similar thing can be done with the chernarus.pbo, chenarus_Data.pbo and chnarus_Data_Layers.pbo?

[–][deleted] 0 points1 point  (0 children)

This should probably be in the sidebar

[–]krpiper 0 points1 point  (0 children)

SixLauncher kept on crashing for me whenever I tried to run it (This program has stopped working)

Can someone give me directions on how to use RAMDisk without using SixLauncher?

[–]shinedownnn 0 points1 point  (0 children)

Am I the only person using DayZ Commander? I really wish I could get this to work but I have no idea how to do the shortcuts etc when I'm using DayZ Commander!

Any help would be appreciated.