---------------------------------------------------------------------------- Steps to profile and optimize a cloop image: make a miniroot with accelerated knoppix's linuxrc + programs/files in /accel as explained in doc. make sure to copy patched knoppix files from KNOPPIX directory in lcat sources to /accel to speedup boot sequence. make iso, boot with: Knoppix chkblk=10000 nocbr once it's booted, switch to console and get read blocks for boot sequence: # mount /mnt/hda1 # cat /proc/cloop/read_blocks > /mnt/hda1/boot.read_blocks reset read_blocks: # echo 1 > the /proc/cloop/reset_read_blocks run apps that we want optimized get read blocks for app sequence: (will only actually be used on machines that have 160+ Mb RAM) # cat /proc/cloop/read_blocks > /mnt/hda1/apps.read_blocks Note: it may be interesting to have 2 app.read_blocks files: - the one we want to preload on startup (which goes in /master/KNOPPIX/KNOPPIX.appli.lst) - a much bigger one we get after running most apps, just for the sake of optimizing the cloop image (the one we pass to cloopoptimizer) Optimize cloop KNOPPIX image: # cloopoptimizer KNOPPIX.orig boot.read_blocks apps.read_blocks > /master/KNOPPIX/KNOPPIX Compile list of blocks to pre-read during boot: # rblk2bl boot.read_blocks $[256*1024] > /master/KNOPPIX/KNOPPIX.boot.lst Compile list of blocks to pre-read after boot (apps) # appblk2bl boot.read_blocks $[256*1024] apps.read_blocks > /master/KNOPPIX/KNOPPIX.appli.lst rebuild iso in case of : Kernel panic - Not syncing: VFS: Unable to mount root fs ON unknown-block (1,3) boot with knoppix chkblk=10000 ---------------------------------------------------------------------------- To visualize boot sequence: # cloopprofiler load read_blocks load cloop image View -> draw resource -> cloop header Click '>' Reads should all be consecutives and near the end of the image.