Solved

Vcache settings: How and why and how much?

Posted on 1999-01-14
3
177 Views
Last Modified: 2013-12-16
Question for BUSH in particular: How to optimize the vcache settings to ensure that Windows 95 (and WinNt if it is different) uses as much installed RAM as possible without resorting to virtual memory?  How do I access settings, how should they be set...
0
Comment
Question by:michaelg
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
bushhead earned 200 total points
ID: 1761311
hmm.. i hope that my answer will live up to your expectations because you put a rating of HARD on this.. i thot it would have been an easy.. or at most a moderate.. so i'm gonna try to put some extra effort into this...

first a description of vcache
The disk cache system in Windows 95. VCACHE replaces the Smartdrive system used in older versions of Windows. Whereas SmartDrive is a 16-bit driver, VCACHE is a 32-bit driver. VCACHE can dynamically change the size of the disk cache depending on available disk space and application requirements.

in your system.ini look for something like [vcache]. it should currently not have anything under there if you have not already fooled with the settings yourself. to configure it.. do something like

[vcache]
MinFileCache=2048
MaxFileCache=2048

of course 2048 is just a random size in KB. for your computer you will have to decide and probably test what is the best settings for yourself. generally the settings are about 1/8 to 1/4 of your total ram. i have 32 mb and i set mine to 4096. i think if you use wintune from www.winmag.com you will also find some tips in there about what to set it to. note that this is the program that i use to benchmark my computer and all the changes that i make to test if i have made anything faster. :)

 
go to http://www.aserve.net/faq/win_95_swap.html and read about the swap file stuff there.. might help in your other question as well actually...

and some other pointers
Since disks are considerably slower than memory, Windows uses some memory as a disk cache to increase performance. For example, Windows may read 16KB of data from disk into memory, even though a program like Word only requested 4KB of data. If Word later requests more data, Windows can deliver it from memory, rather than having to go back to disk. In Windows 3.1x, you have to set up the disk cache manually using either SmartDrive or 32-bit file access, and it's a fixed size that doesn't change in response to how you're using the system.

Windows 95 does a reasonable job of managing cache on its own, but you can tweak it to get a bit more predictable performance. In the Windows 95 SYSTEM.INI file, you can add or change the following entries:

[ vcache]
MinFileCache=min
MaxFileCache=max

Min and max represent the minimum and maximum KB size. Without these entries, Windows 95 uses its own defaults.

note however that win98 has it's own built in memory thingy.. so it's no use setting vcache settings in win98.. and probably would slow the computer down..

bush
0
 
LVL 2

Expert Comment

by:bushhead
ID: 1761312
wasn't sure if i ticked the box for an email notification...

:)

bush
0
 

Author Comment

by:michaelg
ID: 1761313
Thanks Bushhead... good pointer to try out. I got a reply on this as part of Laprhroag's reply dated Jan 14 to my previous question re virtual memory ...he too suggests a setting between 1\8 and 1\4 of installed RAM.  He suggests a setting of 8192 for a system with 32 MB RAM... (q.10116665).  Regards, Michael.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now