Gengkor Den said:
When running game which required a powerful graphic card,
(Let's focus only on games, not any other program)
Will XP improve performance if we turn off VM ?
since accessing RAM is far more faster compare to VM..
Let's get the terminology straight before we begin.
Virtual Memory (VM) in Windows XP refers to the total available memory
address space on the computer. This consists of two components -
physical RAM and the paging file, and the Virtual Memory total is the
sum of these two.
The full name for the paging file is the virtual memory paging file,
which sometimes gets shortened to just virtual memory, giving the
incorrect impression that the paging file is the virtual memory rather
than just one component of it.
Disabling the paging file is a bad idea, for a variety of reason.
One major reason is that it will hurt rather than help the overall
performance of the computer.
This is because Windows is required, by design, to identify memory
address space for all of the memory allocation requests that are
issued by application programs, device drivers, and windows
components; and also because these items typically ask for memory
allocations that are quite a bit larger than what they actually need
under normal circumstances. Windows handles this situation by
allocating RAM only to that part of the request that is actually used
and by mapping the unused portions to locations in the paging file.
Note that mapping the unused portions to the paging file does not
involve any actual hard drive activity - all that is required is
entries in the memory mapping tables maintained by the CPU.
If the paging file is disabled then all of the requested memory must
be allocated address space in RAM, increasing the RAM usage by a
significant amount (it can easily reach several hundred megabytes on a
moderately busy computer). And to provide this RAM it is likely,
unless there is a vastly excessive amount of RAM installed, that
Windows will have to reduce the size of the disk cache and/or forego
the practice of retaining code from recently closed applications in
RAM, just in case these applications are launched again. Both of these
items (reduced disk cache size and not retaining code from closed
applications) can have a negative impact on the performance of the
computer.
Hope this explains the situation.
Good luck
Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca
In memory of a dear friend Alex Nichol MVP
http://aumha.org/alex.htm