[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Another optimisation



Yet another way in which we could make debian-cd faster would be to
cut down on the number of times we MD5 the data we're using.

One of the things that can take a long time is the mirrorcheck step;
it takes long enough that many people disable it. I'm playing a little
more with the JTE patch, and I've added support for checking the MD5
sums of the files we build the image with _as mkisofs runs_. As the
jigdo template creation involves calculating the md5sum of every file
going into the image anyway, the added cost of comparing those to the
sums already in the Packages file is negligible.

I've tested this, and for a typical image (sarge m68k #9, chosen
randomly) my time taken to run mkisofs has gone up from ~47s to
~49s. Anyone interested?

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
  Getting a SCSI chain working is perfectly simple if you remember that there
  must be exactly three terminations: one on one end of the cable, one on the
  far end, and the goat, terminated over the SCSI chain with a silver-handled
  knife whilst burning *black* candles. --- Anthony DeBoer

Attachment: signature.asc
Description: Digital signature


Reply to: