Page Replacement Policy on windows XP?

device driver

    Sponsored Links


  • 1. "Modify the Kernel-API"...
    Dear all, I've been reading sketchy reports that Microsoft are to release an API that allows security firms access to modifying the kernel on Vista. This is something that is of great interest and concern to me but so far have been unable to find any more information on it. Does anyone know where to get more information on this? How does one get hold of this API? What does it allow you to do? (E.g. Dispatch table mods, direct patching of the kernel etc...) Which versions of the OS does this work on? Many thanks in advance, Carl
  • 2. Vista DTM environment problems
    Hi, We want run DTM over our NICs (one is 10/100M, another is gigabit) 1. If I test 10/100M NDIS5/5.1 miniport driver under windows vista, which DDK I can use to build, 3790 or 5744 , if using 5744 , which platform selected ? 2. There should be 3 NICs on client 2, but DTM document say only 2 ! Can you tell me how these NICs of DTM controller / client connect with each other ? 3. Does NDIStest 6.0 means testing NIDS6 driver ? if yes, NDIStest 6.5 is for NIDS 6.5 ? 4. Which Motherboard you selected ? our Vista crash often, as you know, re-install a vista need long long time. 5. Does protocol driver (TCP/IP) deliver sending packets to miniport driver while the miniport still not linkup? Any suggestion will be greatly appreciated ! Best regards Yee
  • 3. NDIS 6 state machine
    Hi I looked in WDK help and so the state machine of an NDIS 6.0 miniport. When in PAUSED state NDIS calls MiniportRestart and transfer to RESTARTING state. if MiniportRestart failes than the state return to be PAUSED. My questions are: 1. After MiniportRestart failes and the state return to be PAUSED what triggeres the call to MiniportRestart again? 2. Is there a limit to the times MiniportRestart failes or NDIS will keep calling MiniportRestart? 3. As I understood the transition from RESTARTING to PAUSED does not cause a call to MiniportPause. Is that right? Thanks Miki

Page Replacement Policy on windows XP?

Postby Andy » Thu, 06 Oct 2005 11:56:12 GMT

Hi all.

does anyone know what kind of algorithm for page replacement policy the
windows XP do ?
such as LRU(additional reference bits, second chance) or FIFO..
I just know that kind of algoritm for plage replacement policy in OS.
However, I don't know which algorithm the windows XP use.
Please let me know anyone knows

Re: Page Replacement Policy on windows XP?

Postby Eliyas Yakub [MSFT] » Fri, 07 Oct 2005 00:20:09 GMT



Similar Threads:

1.Page Replacement Policy on windows XP? - invalidate TLB on MP

2.NTFS block allocation policy (Windows XP)

I am writing large files onto an empty NTFS partition using Windows XP
SP1 and I see results in the Computer Management/Disk Defragmenter
display that seem a bit strange. The file is written using
CreateFile/WriteFile. The file is 2GB on a 40GB disk with one primary
partition. The file is written using 1000 calls of WriteFile writing
2MB with each call. This is the only activity on this disk, except for
the presence of a contiguous swap file right at the beginning of the

Now what I end up in the graphic display of dfrgntfs most often is a
file with 11 fragments that are scattered literally all over the 40GB
disk, or 4 visually separable chunks followed by a free space then 2
more chunks then a big free space and then one big chunk at about 75%
capacity of the disk. (all chunks red, swap file green, one green line
after the first red chunk, all readings from left to right)

Next I defragmented the disk, leaving me with one big blue chunk at
about 25% capacity of the disk. The green line is gone.

I deleted that file and I wrote the file again using the same method
as above. Result: One file with 9 fragments, four on the left as
before, one big chunk where the blue chunk was, thin red line at 75%
capacity of the disk, green line after the first red chunk as before.

Delete and write again, Result: One file with 4 fragments, two big red
chunks in the middle, thin green line on the left.

Again, Result: One file with 10 fragments, fours small red chunks as
in the beginning, thin green line after the first chunk as before, two
big red chunks at 40% close together, one thin line at 75%.

What is going on?

I know that logical disk blocks do not necessarily have anything to do
with physical location on the disk (what with cylinders and LBA and
all that), but is XP NTFS that smart? And if so, why would it be so
non-reproducible, but semi reproducible to some extent (4 small chunks
on the left)?

Strangely enough, with FILE_FLAG_NO_BUFFERING I get a fairly
consistent write speed even with the arbitrary fragmentation but will
it stay that way once the disk gets full?

Could somebody explain the block allocation policy for writing files
with NTFS on XPSP1/2? How is the free list maintained, i.e. when I
remove a big file and then reallocate a file of the same size, does it
end up in the same space? Do I have to reformat the disk to get
contiguous files?


3.Windows XP & non-paged pool

Dear All,

At my driver I need a really huge memory buffer. I am trying to
allocate it from non-paged memory pool, since I need to perform a
series of DMA transfers from lots of PCI devices installed in the
system. Actually, every instance of my driver requires about 24 Megs
of memory and we are planning to have about 16 such devices installed.
What a disaster, I can load drivers only for 6 my devices, all other
fail on allocating memory from non-paged pool. I decided to allocate
memory from paged pool and lock it down in physical memory, using
MmProbeAndLockPages(), but was able to load only 4 instances of my
driver. What I am doing wrong?

With best regards,
Vladimir S. Mirgorodsky

4.Window XP printer driver limits page sizes available

The Windows XP printer driver for my printer doesn't offer as many page sizes 
or as narrow  margins as the printer driver did under Windows 98 for my 
printer. How can I work around this. My printer is a dot matrix, Epson 

Just went from running Office 2000 on a Windows 98 computer to running 
Office 2003 on a Windows XP computer.

5.Driver Signing Policy in Windows 2003 not working for Silently succeed

6. Can I use windows xp binaries on windows xp

7. User mode APCs, paged or non-paged heap?

8. lock paged memory pages

Return to device driver


Who is online

Users browsing this forum: No registered users and 16 guest