Hmm, jeg kan ikke give et entydigt, afgørende svar! Du har fået min vurdering, baseret på hvad jeg har læst;
http://www.ultratech-llc.com/Personal/Files/?File=Paging.TXT ( Check bunden hvis du vil have dokumentering !!! )
http://support.microsoft.com/support/kb/articles/Q99/7/68.ASP<SNIP>
www.lockergnome.com [Reboot Session]
Here is my input on swap files:
If you want to prevent virtual memory from fragmenting your drive you need to set the min and max settings to
the same value. This forces windows to use a fixed sized swap file and does not allow windows to grow the file.
Windows growing and shrinking the swap file is one major source of fragmentation. Also, you need to have a swap
file that is at least equal to the amount of RAM you have in your system. The reason is that windows maps your
real memory to virtual memory one for one. So, for it to map 256MB of RAM, it needs 256MB of swap space.
Guess what? If you only have 128MB of swap space, windows is only using 128MB of RAM -
if it can\'t map it, it won\'t use it.
Additional swap space, beyond your RAM size, is only necessary, if you find that you are running into
\'low virtual memory\' messages - you won\'t get these unless you are a heavy user. If you do get these message,
then increase the swap files size in increments of 10-20%, until the you no longer see these messages. At that
point, your swap file size will be correct for your system and usage. BTW, one additional benefit to doing this
is stability. I have found that systems set up this way, crash significantly less than using default settings.
Give it try, you\'ll like the results.
Lee Herbst
###
While I doubt that this is true for the 9x kernels, I know it is not true
for NT. The memory addresses that programs use do not
(nessesarialy) correspond to physical memory addresses. Because of this,
when data is swapped back into physical memory, there is
no need for it to go to the same physical location in ram. Although the 9x
kernels could do this if they were written well, it has
been too long since I have used them to know for sure that they do not use
this 1:1 mapping. However, I use nt4 and 2k enough to
know this is not true. For if it were true, then having a swap file larger
than your physical memory would be useless, and the most
memory that any process with an intependant memory space could allocate
would be the amount of physical memory in the computer.
This is not ture, as I have single programs on computers with 128mb
physical
memory allocate well over 300mb of memory every day.
Mike
www.lockergnome.com [Reboot Session]
</SNIP>