Re: Performance benefits of rep/loop?

From: Matt Taylor (para_at_tampabay.rr.com)
Date: 05/31/04


Date: Mon, 31 May 2004 01:51:24 +0000 (UTC)


"Ivan Korotkov" <koroNOSPAMtkov2@ztelDOT.ru> wrote in message
news:c98dk1$2j3i$1@news1.macomnet.ru...
> > Page stealing or whatever you'd like to call it is a good idea. Evicting
> > files from the cache to keep more than 1 GB of ram free is utterly
stupid.
> > They don't even try to predict the paging demand. I turn off the swap
file
> > as well to avoid this undesirable behavior.
>
> But Windows still is able to remove image pages from RAM and page-in them
> again, isn't it? And furthermore, doesn't it's behaviour mainly end up
with
> just moving pages between stand-by and ready lists without actually
> "page-inning" and "page-outting" to/from HDD?

Yes, or at least I presume so; otherwise I would expect that page faults did
not ever occur, but Windows Explorer continues to fault about once per
second. However, modified pages are now forced into memory since the OS has
nowhere to put them. That seems to dramatically improve performance of most
apps. The delay when switching between applications used to be quite
noticible.

The main problem is that Windows is too aggressive when trying to trim
working set sizes. It will look for victim pages even when there is no
logical need for it (e.g. 200-300 MB commit charge on a machine with 2+ GB
of ram). It won't use that memory for the file cache necessarily, either; it
keeps a number of pages ready to be allocated, and I suspect this number is
proportional to the amount of system memory.

-Matt



Relevant Pages

  • Re: Windows uses 4 GB? Really?
    ... I bought 4 GB of RAM because I thought it would speed up my system a bit. ... Some info that is posted here as reference seems to suggest that it is a Windows issue, but others seem to suggest that it is also a hardware issue. ... "I have install total 4GB memory on my motherboard. ... On a SLI system, since PCI-Ex graphic cards will occupy around 256MB, another 256MB will be occupied after you install a 2nd PCI-Ex graphic card. ...
    (microsoft.public.windowsxp.general)
  • Re: how do you use pfmon.exe
    ... Pfmon displays a list of hard page faults in the command window while the ... might want to rerun Pfmon while limiting the amount of memory to see how your ... LeakyApp is a GUI tool included on the Windows 2000 Resource Kit CD. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Problem with M2N32 and 4x1GB RAM modules
    ... I put 2x1GB corsair DDR2 800 modules into it. ... The IDENTICAL RAM modules that I bought when i built it ... Every time i sped through the windows boot process and got to the ... Since the same 2 GB memory was really ...
    (alt.comp.periphs.mainboard.asus)
  • Re: if i have many windows or programs running, I cannot open anym
    ... Ken Blake - Microsoft MVP Windows: ... much memory. ... If you don't have enough RAM, ...
    (microsoft.public.windowsxp.general)
  • Re: Kernel_data_inpage-error
    ... It is a Windows system file. ... sticks of Ram and not tested the ram yet. ... You can check RAM memory. ... the System and Application logs in Event Viewer for the last boot. ...
    (microsoft.public.windowsxp.general)