Thread: page replacement algorithms?

  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
    39,659
    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.

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, 07: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, 07:03 AM