Le 27/07/05, paul (aka: azmodai)<[EMAIL PROTECTED]> a écrit :
> Merci Vincent de nous avoir fait profiter des résultats de tes testes ;-)
> ils sont trés interessants.
> Personnellement je serais d'accord d'utiliser le systéme de compression
> 7Zip pour nos pkgs
Et content qu'une de nos idées puisse être partagée avec un autre
projet, cela prouve qu'on ne fait pas n'importe quoi :-)
>
> Le 27/07/05, Vincent Fretin<[EMAIL PROTECTED]> a écrit :
> > Bonjour,
> > Je vous fais part de mes tests avec p7zip.
> >
> > Le README dit :
> > DO NOT USE the 7-zip format for backup purpose on Linux/Unix because :
> > - 7-zip does not store the owner/group of the file
> > donc obligé de faire un tar.7z !
> >
> > Tests compression :
> > % time tar cf - . | 7za a -si ../linux.tar.7z
> > real 0m43.587s
> >
> > % time tar cf ../linux.tar .
> > real 0m0.225s
> >
> > % time tar jcf ../linux.tar.bz2 .
> > real 0m13.167s
> >
> > % time tar zcf ../linux.tar.gz .
> > real 0m4.379s
> >
> > Compression 3 à 4 fois plus lente qu'en bzip2.
> >
> > Tailles :
> > -rw-r--r-- 1 root root 41M 2005-07-27 11:38 linux.tar
> > -rw-r--r-- 1 root root 12M 2005-07-27 11:29 linux.tar.7z
> > -rw-r--r-- 1 root root 14M 2005-07-27 11:30 linux.tar.bz2
> > -rw-r--r-- 1 root root 15M 2005-07-27 11:31 linux.tar.gz
> >
> > Tests extraction :
> > % time 7za x -so ../linux.tar.7z | tar xf -
> > real 0m2.860s
> >
> > % time tar zxvf ../linux.tar.gz
> > real 0m0.775s
> >
> > % time tar jxf ../linux.tar.bz2
> > real 0m5.875s
> >
> > Extraction plus rapide qu'en bzip2
> >
> > 77 paquets en .tgz
> > % du -hs current/
> > 212M current/
> >
> > Convertion des paquets tgz en tar.7z
> >
> > for file in `ls main/*.tgz` `ls extra/*.tgz`; do
> > file7z=${file%.tgz}
> > gunzip -q < $file | 7za a -si -bd $file7z.7z
> > rm -f $file
> > done
> >
> > real 11m14.697s
> >
> >
> > 77 paquets en .tar.7z
> > % du -hs current.7z/
> > 149M current.7z/
> >
> > Gagné 63Mo !
> >
> > Je vais donc implémenter la compression et l'extraction en 7zip dans
> > opkg pour Octoz :)
> >
> > --
> > --------------------------------
> > Mokoshi (Vincent Fretin)
> > Webmaster du site octoz.org
> > --------------------------------
> >
> >
> > _______________________________________________
> > Nasgaia-dev mailing list
> > [email protected]
> > https://mail.gna.org/listinfo/nasgaia-dev
> >
>
> _______________________________________________
> Nasgaia-dev mailing list
> [email protected]
> https://mail.gna.org/listinfo/nasgaia-dev
>
--
Richard 'riri' GILL
jabber: [EMAIL PROTECTED]
-- L'important dans vi, c'est maîtriser Echap et i --