Swap/PageFile and Ram

T

thomas

How do I get my computer to use more ram and less swap/pagefile?

Right now my pagefile is set at 2048mb, I have 2048gb of system ram and with
rainmeter I am monitoring both along with other sys. variables.

On average my pagefile use is about 250mb and sys. ram use is about 350mb.
 
A

Andrew E.

Thats simple enough.As a rule,these settings can be set only with at least
512mb or more of ram,youre pc has that.Go to run,type:regedit In regedit,
expand:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Open memoryManagement.L.click on DisablePagingExecutive Go to
edit,modify,set to 1 From 0 Close out regedit.
 
G

Gerry

Thomas

I am not familiar with Rainmeter but looking at some screenshots I
suspect you have to be careful to properly understand what is being
measured. Few tools measure pagefile usage and the screenshot I saw
suggests Rainmeter is no different in this respect. What they measure is
allocations of available pagefile to programmes and not how much the
programmes make use of those allocations.

You can get more accurate information on pagefile usage using
pagefilemon, a small freeware utility.

Use page file monitor to observe what is the peak usage. Start it to run
immediately after start-up and look at the log. Pagefilemon takes
snapshots. You need to run it at the beginning of the session at then
run it again at intervals throughout the sessions. The log is Pagefile
log.txt. If you right click on the file in Windows Explorer and select
Send to, Desktop (Create Shortcut). The same applies to
XP_PageFileMon.exe.

A small utility to monitor pagefile usage:
http://www.dougknox.com/xp/utils/xp_pagefilemon.htm

Note that programs using undo features, particularly those associated
with graphics and photo editing, require large amounts of memory so if
you use this type of programme check these first observing how the page
usage increases when they start and whether the usage decreases when you
close the programme.

"How do I get my computer to use more ram and less swap/pagefile?" This
is not something that you can easily do and not the way users tackle
this issue. The normal approach to resolving problem of slow performance
when it is memory related is to reduce memory usage or to add RAM
memory. A computer will generally use RAM memory before making use of
the pagefile. However, there are a limited number of activities that
require the pagefile as you will see if you run pagefilemon.

To reduce pagefile usage you need to look at what programmes load on
booting the computer and whether they can be used on an on demand basis.
Two commonly used programmes are responsible for many poor performance
complaints and these are Norton (Symantec) and McAfee Security software.
Many users have seen performance dramatically improve by substituting
freeware alternatives and saved money as a bonus.

Autoruns (freeware) is a useful tool for looking at what loads on start
up.

A safer way than msconfig to disable / remove unwanted start up items is
to use Autoruns.
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Autoruns.mspx

With Autoruns you can uncheck an item, which disables it from starting,
or you can can right click an item and then delete it. If you uncheck
you can recheck to re-enable the item. It is a much safer approach than
editing the Registry. Another useful feature of the programme is that
you can right click an item and select Search Online to get information
about the item selected.

A final comment. Do not leave your computer on 24/7. If you have
programmes with a memory leak the memory they use is not released when
you close them. It is only released by restarting the computer.

--



Hope this helps.

Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 
T

thomas

After more reading and observing the usage, I now beleive that Rainmeter is
monitoring both pagefile and sys. memory and is giving me a total percent of
both.

My computer is for home use only and I use alot of open-source software,
Gimp, Open Office etc.

The performance of my computer is fine for what it is SEE SIG.
 
L

Leonard Grey

The correct setting for virtual memory is 'system managed size'. Beyond
that you shouldn't try to second guess Windows memory management. If you
want to hack, feel free, however I can only offer help for methods that
are supported. My PC runs swiftly with 1GB of memory and no hacks.
---
Leonard Grey
Errare Humanum Est

Security Tips for Everyone, from PC Magazine
http://www.pcmag.com/article2/0,2817,2334856,00.asp
 
D

Daave

thomas said:
How do I get my computer to use more ram and less swap/pagefile?

My guess is you are *already* maximizing your RAM usage and minimizing
pagefile usage; that is how Windows is designed. Just to make sure, let
Windows manage your virtual memory:

Right-click My Computer | Properites | Advanced | Performance: Settings
| Advanced | Virtual Memory: Change | (make sure your drive letter is
selected) System Managed Size | Set | OK | OK

(You will need to restart the computer for the change to take place.
Right now my pagefile is set at 2048mb, I have 2048gb of system ram
and with
rainmeter I am monitoring both along with other sys. variables.

On average my pagefile use is about 250mb and sys. ram use is about
350mb.

If that RAM use is peak use, then you have *much more* than enough RAM!
Seriously, I would image that one fourth of that amount (512MB) would
still be more than enough. Gerry told you about a very useful utility to
measure pagefile usage, so you might want to use it per his instructions
to get a better idea on how your PC uses RAM and virtual memory.

Also note what Gerry said about allocation. Windows *allocates* virtual
memory to different applications. So even if you see virtual memory
figures, say in Task Manager, that doesn't mean that at that moment all
those programs are actively *using* all that memory. Bottom line: it's
nothing to worry about. If you'd like to learn more, this page is
excellent:

http://www.aumha.org/win5/a/xpvm.php
Compaq Proliant ML 330 | 733MHz Intel Pentium III w/ 2GB | Seagate 250
gb
SATA IDE HDD | Pioneer SATA IDE DVD\CD R-RW | Windows XP sp3| Nvidia
GeForce
6200 OC | D-Link DWA-552 Wireless Card |

CPU is on the slow side by today's standards. How much longer do you
plan on using this PC, just out of curiosity? I'm sure it still serves
you well, though. But if you were to use a faster processor, you would
notice a *huge* difference!

P.S., take anything Andrew E. says with a grain of salt. Once you've
been in these newsgroups for a while, you'll see he is -- to put it
kindly -- quite clueless. The late Alex Nichol (who is responsible for
the article I cited earlier), had this rebuttal to Andrew four years
ago:

<quote>

Do NOT disable the page file executive except for trouble shooting.

You will simply lose the use of a substantial part of RAM to no purpose
at all.

That setting will only be on 1 if someone has mistakenly set it
deliberately.

</quote>

The above is from:

http://groups.google.com/group/microsoft.public.windowsxp.general/msg/ffcf750591fc3af6?hl=en
 
J

John John (MVP)

Follow Gerry's advice. I'm quite sure that Windows XP is not
unnecessarily paging when it is only using 350MB of RAM out of an
available 2GB, I don't think that your monitoring application is
properly reporting the actual pagefile usage.

John
 
K

Ken Blake, MVP

I have tried all options. I just want xp to use it less aggressively.


Please don't make the mistake of confusing page file use with page
file allocation. They are not the same thing. Far and away the best
piece on the page file written is this article by the late MVP Alex
Nichol: "Virtual Memory in Windows XP" at
http://www.aumha.org/win5/a/xpvm.php I recommend you read this to
better understand how all this works.

To find out how much page you actually use (as opposed to allocate),
go to http://billsway.com/notes_public/winxp_tweaks/ and download
WinXP-2K_Pagefile.zip to monitor your pagefile usage.
 
S

Snidley W.

Leonard Grey said:
The correct setting for virtual memory is 'system managed size'.

No. In your OPINION it is. There are other opinions.

Personally, I've always set my own with the min/max being equal. Works
fine. No fragged page file. I like it.

So MY way is the correct way.
 
G

Gerry

Leonard

Twayne on this occasion was correct. He could have phrased his
observation in a less abrasive language. However, we must expect some
abrasive language from him given that we taunt him over his devotion to
the merits of registry cleaners.

Setting a Minimum and Maximum Pagefile for the same figure, providing it
is set for a generously high amount is better if you can achieve a
single contiguous file. It reduces the speed at which files fragment..
However, most users follow the approach you advocate.
http://www.windowsitlibrary.com/Content/435/07/9.html


--
Regards.

Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 
D

db.·.. >

you cannot control
how windows is to
utilize it's memory.

because many third party
software are engineered to
"use" swap file, whether you
like it or not and regardless
of how much ram you have.

for example you may have 10
gigs of ram installed, but if you
have 10 megs of virtual memory
then software engineered for swapfile
will not function properly.

however, you might then ask
the question as to why some
motherboards can have large
amounts of ram installed, if
windows doesn't use it?

the answer is that there is
software that is also engineered
to use large amounts of ram.

so unless your pc is controlling
the space shuttles trajectory for
landing on earth or you are making
a movie in 3D on your pc,

it might be best for you to simply
let windows do its job the way
it was engineered to.

------------

incidentally, have you checked
out the pae at microsoft.com?
--

db·´¯`·...¸><)))º>
DatabaseBen, Retired Professional
- Systems Analyst
- Database Developer
- Accountancy
- Veteran of the Armed Forces
 
S

Snidley W.

Gerry said:
Leonard

Twayne on this occasion was correct. He could have phrased his
observation in a less abrasive language. However, we must expect some
abrasive language from him given that we taunt him over his devotion to
the merits of registry cleaners.

I'm not "Twayne". I guess I'll have to check him/her out to see what
fun I can have there too. I can't just pick on Leonard the Pompous
and Gerry with the defrag report fettish all the time.

But you are correct: I was right - and registry cleaners are worthless
and dangerous.
 
G

Gerry

Snidley

Yes my mistake you are not Twayne.

However those that set out to annoy others will find themselves
ridiculed by others you annoy. As Leonard said "Live by the sword, die
by the sword."

--



Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 

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