PF Usage confusion

G

Guest

I'm confused as to what the PF usage box and graph shows. The Microsoft docs
say they show how the pagefile is being used. Well, I have 1gb RAM and with
nothing really running the usage screen shows:

PF Usage shows 192mb

Physical Memory:
Total 1048092
Available 797952
System Cache 131356

There is plenty of physical memory available why is the Pagefile being used?

Shouldn't "PF Usage" show 0mb until I run out of physical memory?

Thanks.
 
G

Guest

Gerry,
Thanks for the reply. The links were helpful. I would still like to know
the answer to my original question, if you might know. I'm not sure why the
pagefile is always used even when I have almost all of my 1gb of physical RAM
unused.

Thanks again.
 
G

Gerry Cornell

Does Page File Monitor show the page file being used? What you are
seeing in Task Manager are allocations of virtual memory to
applications. That does not mean it is being used! It may / may not be!

~~~~~~


Hope this helps.

Gerry
~~~~~~~~~~~~~~~~~~~~~~~~
FCA

Stourport, Worcs, England
Enquire, plan and execute.
~~~~~~~~~~~~~~~~~~~~~~~~
Please tell the newsgroup how any
suggested solution worked for you.

~~~~~~~~~~~~~~~~~~~~~~~~
 
G

Guest

here is what the program I downloaded shows:
Pagefile Physical Location: I:\pagefile.sys
Current Pagefile Usage: 26 MB
Session Peak Usage: 76 MB
Current Pagefile Size: 1500 MB

I'm not sure why it's used at all since I have 641mb Free RAM out of 1gb RAM
available for use.
 
R

Ron Martell

diesel said:
I'm confused as to what the PF usage box and graph shows. The Microsoft docs
say they show how the pagefile is being used. Well, I have 1gb RAM and with
nothing really running the usage screen shows:

PF Usage shows 192mb

Physical Memory:
Total 1048092
Available 797952
System Cache 131356

There is plenty of physical memory available why is the Pagefile being used?

Shouldn't "PF Usage" show 0mb until I run out of physical memory?

Thanks.

There are two kinds of page file usage.

The first is actual usage, which means the actual movement of active
memory content from RAM to the page file so as to allow that RAM to be
used for other, currently more important, tasks. This is what the
utility that Gerry Cornell referred you to reports.

The second kind is, for want of a better term, "virtual" page file
usage. This is what Task Manager reports on the Performance tab. This
virtual usage of the page file includes not just the actual usage (if
any) but also the usage of the page file address space by Windows to
satisfy the unused portion of Memory Allocation Requests.

This is sometimes a bit difficult to grasp. What happens is that
application programs, device drivers, and Windows components typically
request memory allocations that are larger than what they actually
need under normal circumstances. There are sound reasons for doing
this, or so I am assured by experienced programmers. Windows must, by
definition, identify memory locations for all requested memory. So
what happens is that the Windows memory manager allocates addresses in
RAM only to those portions of these requests that are actually used.
The unused portions are allocated memory address space in the page
file. Note that this allocation of page file addresses does not
involve any actual disk activity - just entries in the memory mapping
tables maintained by the CPU.

And if it subsequently happens that a program needs to use a
previously unused portion of the memory it requested then the memory
manager will instantaneously remap that portion to available locations
in RAM.

Here are some current figures from my own computer:
- Actual page usage = 47 mb
- Current page file size = 160 mb
(these two values are from Bill James' utility)
- Page file usage = 333 mb
(from Task Manager)

Note that Task Manager is reporting a figure that exceeds the actual
current size of the page file. This is okay in Windows XP, so long as
the Task Manager value does not exceed the maximum size limit for the
page file because the page file could be increased in size should that
become necessary, again provided that there is enough free space on
the hard drive to do so.

Note also the difference between the Task Manager figure of 333 mb and
the Actual usage figure of 47 mb. That figure, 286 mb at the moment,
represents the sum total of the unused portions of the memory
allocation requests that have been issued by everything that is
currently active on my machine.

Hope this clarifies the situation.

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."
 

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