On Fri, 18 May 2018 22:46:15 +0200
Stefan Esser <s...@freebsd.org> wrote:

> I'm working on a completely new re-implementation of portmaster and
> the new version will get these points right. Fixing the current port
> version is too hard and wasted effort, since only the features and
> command line options are carried over, but none of the code of the
> current version.

Thanks!
I see code, take parts frome there for my work purposes and old portmaster
have bad design. 


As one more future request.
Current pkg create use only one thread to compress.

I do small set of benchmarks on Ryzen 2700x:
========================================================================
root@rimwks# /usr/bin/time -h pkg create --format tar -o /tmp/ llvm60
        7.01s real              6.11s user              0.72s sys
        796,5 MB

root@rimwks# /usr/bin/time -h pkg create --format tbz -o /tmp/ llvm60
        1m3.56s real            1m1.48s user            0.38s sys
        209,9 MB

root@rimwks# /usr/bin/time -h pkg create --format tgz -o /tmp/ llvm60
        36.54s real             35.10s user             0.48s sys
        244,8 MB

root@rimwks# /usr/bin/time -h pkg create --format txz -o /tmp/ llvm60
        5m42.69s real           5m33.15s user           0.53s sys
        154,7 MB

root@rimwks# /usr/bin/time -h pbzip2 -k -p16 /tmp/llvm60-6.0.0_3.tar
        7.47s real              1m40.36s user           5.34s sys
        210,7 MB

root@rimwks# /usr/bin/time -h tar --use-compress-program=pigz -cf 
/tmp/llvm60-6.0.0_3.tar.gz /tmp/llvm60-6.0.0_3.tar
        2.85s real              40.44s user             0.75s sys
        244,6 MB

root@rimwks# /usr/bin/time -h xz -T 0 --compress /tmp/llvm60-6.0.0_3.tar
        49.96s real             9m30.88s user           33.84s sys
        156,9 MB
========================================================================

5m42.69s - for compress, compile time ~ 15 minutes. Terrable!!!
49.96s - is mutch better.

Can you try to implement option to chose at least tar/txz, and probably
for txz use "xz -T 0 --compress" ?

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to