performance gain by "SFC /Cachesize"

B

Brock

Hello, All!
What is the default value of the "sfc /Cachesize" in WindowsXP Pro Sp2? Is
there any performance gain by setting a higher value in Cachesize=x?

With best regards, Brock. E-mail: (e-mail address removed)
 
W

Wesley Vogel

Depending on what you read 50MB, 300MB or 400MB.

If the setting is increased dllcache will fill with added files.

/Cachesize=x: Sets the file cache size to x megabytes (MB). The default size
of the cache is 50 MB. This command requires you to restart the computer,
and then run the /purgecache command to adjust the size of the on-disk
cache. This command sets the SfcQuota DWORD value to x in the following
registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Description of Windows XP and Windows Server 2003 System File Checker
(Sfc.exe)
http://support.microsoft.com/default.aspx?scid=kb;en-us;310747

[[SFCQuota (REG_DWORD)
n = size (in megabytes) of dllcache quota (default is 0xffffffff or
approximately 300 MB)
FFFFFFFF = cache all protected system files on the local hard disk ]]
Registry Settings for Windows File Protection
http://support.microsoft.com/default.aspx?scid=kb;en-us;222473

[[the default size of the cache is 400 MB. Because of disk space
considerations, it may not be desirable to maintain cached versions of all
system files in the cache folder.]]
What's Windows File Protection?
http://www.petri.co.il/what's_windows_file_protection.htm

[[If the quota is greater than 50 MB, Windows File Protection adds other
important Windows files to the cache until the cache size reaches the
quota.]]
SfcQuota
http://www.microsoft.com/resources/...s/2000/server/reskit/en-us/regentry/91625.asp

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
A

Alan

Brock said:
Hello, All!
What is the default value of the "sfc /Cachesize" in WindowsXP Pro Sp2? Is
there any performance gain by setting a higher value in Cachesize=x?

With best regards, Brock. E-mail: (e-mail address removed)

The cache in XP is pretty good, let it do its business automatically. For
Win98 etc there were gains to be made.
 
R

R. McCarty

System File Checker cache size doesn't affect XP's performance. It's
simply a 1st-source for the system to replace files when Windows
File Protection detects a monitored file has been altered. On my own
system I redirect it to a Utility partition, to help keep the XP partition
smaller.
 
R

Ron Martell

Brock said:
Hello, All!
What is the default value of the "sfc /Cachesize" in WindowsXP Pro Sp2? Is
there any performance gain by setting a higher value in Cachesize=x?

With best regards, Brock. E-mail: (e-mail address removed)

The default value is 50 mb.

How large is your actual cache folder at present
(%systemroot%\system32\dllcache)?

On my machine it is only 12 mb so obviously there would be nothing to
be gained if I changed it. On the other hand, if your folder is at or
near the 50 mb default then it might be prudent to increase the size.

See the following article in the Microsoft Knowledge Base for more
information about this parameter and how to implement a change.

Description of Windows XP and Windows Server 2003 System File Checker
(Sfc.exe)
Article ID : 310747
http://support.microsoft.com?kbid=310747


Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP (1997 - 2006)
On-Line Help Computer Service
http://onlinehelp.bc.ca

"Anyone who thinks that they are too small to make a difference
has never been in bed with a mosquito."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top