page replacement algorithms?

This is a discussion on page replacement algorithms? within the C++ Programming forums, part of the General Programming Boards category; I have a text file that has about a thousand pages # and I need a pseduo-code to test these ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    16

    page replacement algorithms?

    I have a text file that has about a thousand pages # and I need a pseduo-code to test these page replacement algorithms for number of page faults they have.

    Does anyone know where I can find the page replacement algorithms in C or C++?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,848
    Mostly they are known as MRU and LRU
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. why page based I/O can improve performance?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 06-12-2006, 08:42 AM
  2. virtual memory
    By sweets in forum C Programming
    Replies: 6
    Last Post: 11-06-2004, 06:55 AM
  3. page replacement algoithm
    By chizzy in forum Tech Board
    Replies: 2
    Last Post: 01-22-2004, 11:37 PM
  4. C Graphics - Page Flipping
    By z0diac in forum C Programming
    Replies: 1
    Last Post: 10-29-2002, 01:21 AM
  5. page replacement
    By Unregistered in forum C Programming
    Replies: 0
    Last Post: 04-16-2002, 08:03 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21