From: Phillip S. <ps...@ub...> - 2013-02-03 04:42:17
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have been testing using e2image vs tar vs dump | restore to clone an ext{234] partition lately, and found that dump|restore is significantly slower ( 15m vs 4m on my system ). It seems the slowness is on the restore side, rather than the dump side. Looking at the restore code, I think I have found the culprit. It appears that there is a "directory file" that is a temp file created during restoration, that contains fixed 1KiB records for every directory in the dump. It looks like this file mostly duplicates what the symtable does, only it is initialized first, then the symtable is built after, first based on this dirfile, then with the regular files added on top. Am I missing something or could this dirfile not be removed entirely and just use the symtable instead? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRDd9KAAoJEJrBOlT6nu75oJIIAIixG3LYMvA6RJVGboT2RiQd Vyb04Z5tE3/JMi/h8TkKvtZQCmCgXv8hBb3R5VRekaEFf2B6ZTJcQqPIFF2cU3EZ vuCIYVEZ4Ear9y7ayywHYGF2CSrubz/4EXHvFofBIszO3mWKYMHJuCVvRJfDFfiY Y0GvgyyJa6ck9XW5EvyL/ae2OvlnoN09IytwYVmhXxcmJ2twu8NicJe4w4hXxePt 8opZxRaSXU3jLITT/wvsiZrpadhoyASkvffmPRPTsQ5A7rd6rzb69KLWodWU3f9J p/mx8+GSg4ESiKXUEWVqMicUKOh19dIG0G0GFk8AvfmV51Njsv1y+LFfLwRx69Y= =AHgW -----END PGP SIGNATURE----- |