RubyGems.org

readorder

2.0.0

Readorder orders a list of files into a more effective read order. You would possibly want to use readorder in a case where you know ahead of time that you have a large quantity of files on disc to process. You can give that list off those files and it will report back to you the order in which you should process them to make most effective use of your disc I/O. Given a list of filenames, either on the command line or via stdin, readorder will output the filenames in an order that should increase the I/O throughput when the files corresponding to the filenames are read off of disc. The output order of the filenames can either be in inode order or physical disc block order. This is dependent upon operating system support and permission level of the user running readorder.

installgem install readorder
Authors

Jeremy Hinegardner

2,770 total downloads 1,438 for this version
Owners

Cff2d90ae70bbbb5d4865d8412159f85

Gemfile
gem 'readorder', '~> 2.0.0'
Versions
  1. 2.0.0 August 24, 2009 (23 KB)
  2. 1.0.0 June 27, 2009 (21 KB)
Development Dependencies
  1. rake ~> 0.8.3