Thread: c++ and read-ahead

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    c++ and read-ahead

    Hello !

    I am looking for a script c++ using the technic "Read-Ahead" :

    http://www.unet.univie.ac.at/aix/aix...gd/seqread.htm

    I thank you very much for your help,

    Luc
    Last edited by truntz; 08-20-2007 at 05:42 AM.

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    Any program accessing a file sequentially will use this method, it is implemented by the memory manager. If you write a program (not script) that loops through a file char by char from start to finish and you'll be using "read-ahead".
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    2
    Thank you for your answer.

Popular pages Recent additions subscribe to a feed