Larry(LJL269) said:
Have 2 q's at *'s below:
On my XPhome with 1.8P4 & 1GB RAM, ran WinXP-2K_Pagefile.vbs
@
(
http://billsway.com/notes_public/WinXP_Tweaks/ ) &
got readings for 6 time periods between restarts that are
summarized below (all MB):
MIN MAX
Current Pagefile Usage: 30 139
Session Peak Usage: 41 159*
Current Pagefile Size: 53 690
* So I should set initialVM=~170 & max=2000 since
its alone in its partition of 2GB ?
A sample reading of:
Current Pagefile Usage: 30 vs 311=TM PF Usage**
Session Peak Usage: 41**
Current Pagefile Size: 170**
shows ** inconsistencies because TM shows
allocated PFile vs WinXP-2K_Pagefile.vbs shows actually used
PF?
During most of this time TM shows TotalCommit=319 & Avail
RAM=607
Your help is MUCH appreciated. Thanks- bye- Larry
Hi Larry.
The first thing I would say regarding the results you have reported is
that with 41 mb of actual page file usage you are at or close to the
point where adding additional RAM will result in a noticeable
improvement in overall system performance. I usually consider 50 mb
of actual usage as the "trigger point" for adding more. What your
figure means is that Windows found it necessary to move 41 mb of
active RAM content out to the page file so as to allow that RAM to be
used for other, currently more important tasks. This involves some
disk activity which takes time. And then when the moved-out RAM
content was needed again at some later time it had to first be loaded
back into RAM and before that could be done it was probably necessary
to move something else out from RAM to the page file to make room for
it. Again, disk activity slowing things down. More RAM would
reduce or perhaps even eliminate entirely this actual page file usage
and the associated disk activity thereby speeding things up somewhat.
Now to the more technical item.
Task Mangler////Manager reports a page file usage value that is much
larger than the values reported by Bill James' utility. This is
because of the unused portions of memory allocation requests. By
design Windows must identify memory address space to satisfy all of
the memory allocation requests that are issued. And again by design
most items, including Windows components, device drivers, and
application programs, issue memory allocation requests that are larger
than what they usually need under normal circumstances.
If all of the requested memory was allocated from RAM then there would
be a considerable quantity of RAM tied up doing nothing because of
these unused portions of memory requests. So what Windows does is to
allocate addresses in RAM only to those portions of the requests that
are actually used and to allocate space in the page file for those
portions that are not used. Note that the allocation of page file
space to these unused portions does not involve any actual disk
activity. All that is required is for entries to be made in the
internal memory mapping tables maintained by the CPU. With Windows XP
a further enhancement of this procedure was introduced whereby the
page file space allocated to the unused requests does not even have to
physically exist *provided* there is the potential to do so if needed
without exceeding either the specified maximum size limit for the page
file or the available unused space on the hard drive.
So when I look back at one of your sets of numbers I see that Bill
James' utility showed PF usage of 30 mb and at the same time Task
Manager reported 311 mb. The difference between these two values is
281 mb and that represents the sum total of the unused portions of all
of the memory allocations issued by the active Windows components,
loaded device drivers, and open application programs.
I hope that this explains at least some of your concerns.
PS: If MVP Alex Nichol also replies to your posting (and he probably
will) then you should take his advice rather than mine wherever we
differ. Whatever I know on this topic was mostly learned from Alex.
Good luck
Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca
"The reason computer chips are so small is computers don't eat much."