Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: AMD RAMDISK and firefox/IE cache and Environment Variables speed up

30 Sep 2014   #1
PWRwindows

Windows 7 Ultimate x64
 
 
AMD RAMDISK and firefox/IE cache and Environment Variables speed up

I use the AMD RAMDISK. I made it 256Mb in size. I put my firefox cache and IE cache there. I also changed my systems ENVIRONMENT VARIABLES in TEMP and TMP to that drive. I put my windows 7 pagefile to that drive at only 16MB size.

My machine runs so much better now.

8GB RAM and only used 256MB for the ram drive and all firefox cache and IE cache and system temp stuff is used in ram now and it's amazing how nice it is compared to all that R/W to my drives.


EDIT: I forgot to mention ( and assume most of you are windows power users) that if you intend to download a huge installation file then install it. You will want to change the ENVIRONMENT VARIABLES to one of your hard drives first. Then download the huge file and install. Once that is complete change EV back to your ramdrive. Works like a charm.


My System SpecsSystem Spec
.
30 Sep 2014   #2
PWRwindows

Windows 7 Ultimate x64
 
 

I know some will ask why only a 16Mb pagefile. Because with only 8GB ram I have never even got close to using that. I ran my machine with no pagefile for a very long time with no problems then I started converting videos to HD and that program started crashing and after reading through logs I found that it NEEDED a PAGEFILE. It didn't need a large one. So I researched and found that some older programs actually require a pagefile to work properly.

Even if your pagefile is only 16Mb that is usually sufficient for these older programs that require it. All of your other programs will load to RAM fine without it.

Just want to add I am an avid gamer and play Battlefield 2,BC2,3 and Planetside and even with those games running and firefox open and winamp (I know winamp oldschool, lol) I have never got close to 8GB of ram usage.

So it's nice to not have my windows trashing my HD's with that pagefile and now it just does it in ram with the very small ramdrive.
My System SpecsSystem Spec
30 Sep 2014   #3
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Ramdisk question

Well I also use a RAMdisk and moved system temp and environment temp variables onto it and yes everything is much faster to open - especially huge files!

I have a question though. Personally I found that a 16Mb page file is okay for Windows Partition but the page file is swapped to another drive on my machine. That seems to work for me. Like you say RAM usage never gets anywhere near maximum - it's rarely more than 2.2 GB.

My question is this. Did you disable Superfetch?

I'm just asking because the real performance gains only happened after disabling Superfetch on my machine as it would seem that a RAMdisk does essentially the same job only a lot faster.

Note: I'm not suggesting that it's a good idea to disable Superfetch!
My System SpecsSystem Spec
.

08 Oct 2014   #4
PWRwindows

Windows 7 Ultimate x64
 
 

Yes I disabled Superfetch and prefetch. It doesn't bother me having a program or browser open 2 seconds longer. I did this because I am a gamer and don't want those programs writing to the HHD all the time. It is well known to cause lag spikes in online games because superfetch will even write information about the GAME FILES your game client is accessing often so it can open them faster with superfetch (might open a game file half a second faster, lol) but it really degrades online gaming because it does it even when the game is running and accessing one file often.

I usually put my environment paths back to my secondary drive when I'm not browsing the internet also. But put it to the RAMdrive always when browsing, watching videos online or watching live streaming so that firefox is forced to use my ramdrive for cache. Sometimes firefox will ignore the disable offline cache / browser.cache.memory.enable and use your enviroment paths instead.

That's what I do anyway and it really makes my online gaming smoother and my browsing smoother. Hope this answers your question.

You can disable prefetch and superfetch with this simple .reg information. Just save it to notepad .txt file then change .txt to .reg and double click it:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters]
"EnableSuperfetch"=dword:00000000
"EnablePrefetcher"=dword:00000000
To reenable them just use this code. It changes the dword:00000000 back to 00000003.

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters]
"EnableSuperfetch"=dword:00000003
"EnablePrefetcher"=dword:00000003
good luck.
My System SpecsSystem Spec
Reply

 AMD RAMDISK and firefox/IE cache and Environment Variables speed up




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Environment Variables
Hi I set up a User defined Enviro. Var. called GomFolder to be C:\Users|Damo\MyDocuments\NinjaTrader 7 See the attached clip 2015-01-23_1242 - Judge101010's library My understanding is that this should set up a folder called GomFolder in the NinjaTrader 7 folder. Is this correct? If...
General Discussion
Windows 7 Environment Variables List
Environment Variable Path %ALLUSERSPROFILE% C:\ProgramData %APPDATA% C:\Users\{username}\AppData\Roaming %COMMONPROGRAMFILES% C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% C:\Program...
Performance & Maintenance
Windows 7 Environment variables
Is there an Environment variable that can tell me where the Documents folder is located? Typically, the Documents folder is located in C:\Users\username\Documents. I am creating a batch file to copy 1 file from a remote location (another computer in the network) to the Documents folder. Since...
General Discussion
What are Environment Variables in Computer?
Hey, Can anyone explain are environment variables are within the Advanced System Settings of Computer? I've had to create a new environment variable for a Java complier, and I was just wondering what exactly are environment variables are and why are they used? Thanks, Harry P.S I've...
General Discussion
Edit Environment Variables via command line
I know how to udpate my environment variables using the stupidly slow to navigate windows. This is pointlessly slow IMHO. How do i type a command, ONCE, that will update/add an environment variable that does not need to be retyped every time i open a new CLI session. The SET command seems...
Performance & Maintenance
Java, Windows 7 & Environment Variables
I have installed Java in Program Files (x86) > Java > jre > bin In Environment Variables, I accidentally deleted the default PATH variable. This is what I currently have in the PATH variable: Please can someone tell me what the default PATH was? I will add this in front of the Java path. ...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App