Archived from groups: comp.sys.ibm.pc.hardware.storage,microsoft.public.windowsxp.general,microsoft.public.windowsxp.customize,microsoft.public.windowsxp.perform_maintain (
More info?)
Andy Lee <andy.lee@siemens.com> wrote:
> On Thu, 19 Aug 2004 09:27:44 +0100, Klanky <kl@nk.com> wrote:
>
>>Would I get better performance if I cleared my pagefile
>>whenever my XP Pro system exited?
>>
>>I understand this registry key can do it:
>>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
>>Manager\Memory Management] "ClearPageFileAtShutdown"
>>
>>Would it be better to start with a new page file because it
>>would be smaller file and the pages of a required set of pages
>>might be more close together if the file was recently created?
>>
>>On the other hand, would it be better if some pages were
>>already created so that the initial launch time of
>>applications (etc) is not slowed down by having to create new
>>pages in the page file?
>>
>>Please advise.
>>
>>I am a home use with one standalone PC connected to the Net
>>via cable.
>
>
>
> Page file clearing can be both a good and bad thing.
> Performance good it means the pagefile created on bootup is
> not fragmented. Performance Bad Shutdown and startup can be a
> lot longer especially if the pagefile is large i.e. >1Gb.
> Security good as less temporary information is left on the PC
> to be retrieved by somebody else who gains unauthorised access
> to the PC.
>
> Ref your mention of application launch. The initial pagefile
> is created on bootup and variations in size caused by the
> launch of application will happen anyway even if the pagefile
> is not deleted on shutdown. caveat to this being if you set a
> fixed pagefile size. But data will still be written to the
> pagefile even if you fix the size if an application requires
> it.
>
> Personally I think the clearing of a page file at shutdown is
> a waste of time unless you need to worry about the security
> aspects which is why it was implemented in the first place.
>
> My option with plenty of RAM is just turn off the pagefile
> alltogether although I understand this does not actually stop
> the creation of and use of a pagefile completely.
But what about this info.
"If you do put the file elsewhere, you should leave a small amount
on C: — an initial size of 2MB with a Maximum of 50 is suitable —
so it can be used in emergency. Without this, the system is
inclined to ignore the settings and either have no page file at all
(and complain) or make a very large one indeed on C:"
See
http://aumha.org/win5/a/xpvm.php for further discussion.