Speed up boot through disk sorting Workout Report
From WorkOutWiki2008
Total Number of Participants: ~14
Number of Active Participants:
- Explained the problem statement
- Explaining about blktrace, blkparse tools
- Git repo for existing code : git://gitorious.org/disk-sort/mainline.git
- Balbir Singh suggesting looking at the algos used by Btrfs
Instructions to build+try the current code:
http://gitorious.org/projects/disk-sort/repos/mainline/blobs/master/README
For testing, a separate disk partition could be used, if nothing then use swap!
$ swapoff /dev/<swap-device> format it with a non-journaling filesystem, (else journal would have to taken special care of)
Balbir suggested that we can look at "who" is raising the event and if its kjournald then we can skip/handle those accordingly.
Suggestion from Balbir singh: Either use sqlite3 in-memory database (Use filename as ":memory:") or use tmpfs for creating the db. For testing even a simple loop back device could be used (create with dd?)
Drop caches:
echo 3 > /proc/sys/vm/drop_caches
Summary:
- Participants tried out the existing parts of the solution.
- Performance improvements were made by making sqlite to work on memory rather than disk.
- 32-bit bugs were analyzed.
- Various differences between blkparse output were fixed.
- Directions for packaging were discussed.

