[arch-general] Script for finding and "moving" older duplicate packages from /var/cache/pacman/pkg

Frédéric Perrin frederic.perrin at resel.fr
Tue Aug 25 22:02:03 UTC 2009


Le mardi 25 à 17:03, Patrick Brisbin a écrit :
> tar -xf on a 3 GB cache -> 1m 42s
>
> bsdtar -qxf on the same cache -> 0m 9s

If you ran both of them on the same set of files, BSD tar was certainly
quicker because it took advantage of the files being cached thanks to
the first run of GNU tar. Now, it may also be that BSD tar /is/ faster
--we all know that GNU programs are crippled with too much features for
their own good ;-).

Do you get the same results if you run the same commands a couple of
times in succession, discarding the first run ?

-- 
Fred


More information about the arch-general mailing list