• Immutable Page
  • Info
  • Attachments

ReadAhead

ReadAhead is a technique which should improve disk performance. When small part of the file is read, Linux reads much more data and stores it in internal cache.

To print readahead for disk /dev/hda, use

blockdev --getra /dev/hda

It is printed in 512-bytes blocks

To modify ReadAhead, use

blockdev --setra 1024 /dev/hda

Tell others about this page:

last edited 2007-05-31 08:31:07 by joilnen