z/OS Tools & Language

Expand all | Collapse all

Gzip with -z option not using zedc engine

  • 1.  Gzip with -z option not using zedc engine

    Posted 10-25-2018 08:25

    Hello,
    it seems that the -z option of gzip does not use the zedc engine.
    here is a test gzip and gzip -z
    Our system is z/OS 2.2

    Do you have any idea what I could have done as an error ?

    SI1042H@CNPP:/CNPP/SFTPDIR/stprodp/fichier/nm> uname -a
    OS/390 CNPP 25.00 04 3906

    SI1042H@CNPP:/CNPP/SFTPDIR/stprodp/fichier/nm> gzip -V
    gzip 1.6 (Feb 4 2016)
    Copyright © 2015 Rocketsowtware, Inc.
    Copyright © 2007, 2010, 2011 Free Software Foundation, Inc.
    Copyright © 1993 Jean-loup Gailly.

    Test1 : gzip standard
    SI1042H@CNPP:/CNPP/SFTPDIR/stprodp/fichier/nm> ./testgzip1.sh
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:29 xab
    gzip -cv xab >xab.gz
    Start : Wed Oct 24 15:35:18 DFT 2018
    xab: 95.9%

    real 1m51.01s
    user 1m 9.83s
    sys 0m23.27s
    End : Wed Oct 24 15:37:09 DFT 2018
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:29 xab
    -rw-r–r--+ 1 SI1042H OMVSGRP 164507817 Oct 24 15:37 xab.gz

    Test2 : gzip zedc
    SI1042H@CNPP:/CNPP/SFTPDIR/stprodp/fichier/nm> ./testgzip2.sh
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:30 xac
    gzip -cvz xac >xac.gz
    Start : Wed Oct 24 15:38:01 DFT 2018
    xac: [ zEDC | stream : software | buff : software ] 95.8%

    real 2m25.84s
    user 1m22.60s
    sys 0m27.53s
    End : Wed Oct 24 15:40:27 DFT 2018
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:30 xac
    -rw-r–r--+ 1 SI1042H OMVSGRP 168952791 Oct 24 15:40 xac.gz
    SI1042H@CNPP:/CNPP/SFTPDIR/stprodp/fichier/nm>



  • 2.  RE: Gzip with -z option not using zedc engine

    Posted 10-30-2018 04:39

    Hi,
    Could you try with gzip-1.9-edc_b002.180703.tar, please?



  • 3.  RE: Gzip with -z option not using zedc engine

    Posted 11-01-2018 16:16

    Hello Tatiana,
    Thanks for your feedback.
    The gzip -z option of gzip.1.9 does not seem to use the zedc engine.
    Here is the log dans unix services:

    Test gzip standard
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:29 xab
    gzip 1.9-edc
    build 002, Jul 3 2018
    zlib version: 1.2.7-zEDC, ZLIB_VERSION: 1.2.7
    z/OS libtag version: 0.09
    Copyright © 2015, 2018 Rocket Software
    gzip -cv xab >xab.gz
    Tue Oct 30 15:19:31 NFT 2018
    xab:
    95.9%

    real 2m10.52s
    user 1m 7.15s
    sys 0m22.38s
    Tue Oct 30 15:21:42 NFT 2018
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:29 xab
    -rw-r–r--+ 1 SI1042H OMVSGRP 164507823 Oct 30 15:21 xab.gz

    Test gzip zedc
    export _HZC_COMPRESSION_METHOD=hardware
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:30 xac
    gzip 1.9-edc
    build 002, Jul 3 2018
    zlib version: 1.2.7-zEDC, ZLIB_VERSION: 1.2.7
    z/OS libtag version: 0.09
    Copyright © 2015, 2018 Rocket Software
    gzip -cvz xac >xac.gz
    Tue Oct 30 15:21:42 NFT 2018
    xac: [ zEDC | stream : software | buff : software ] 95.8%

    real 1m55.43s
    user 1m15.95s
    sys 0m25.31s
    Tue Oct 30 15:23:37 NFT 2018
    -rw-r–r--+ 1 SI1042H OMVSGRP 4000000000 Oct 23 16:30 xac
    -rw-r–r--+ 1 SI1042H OMVSGRP 168952791 Oct 30 15:23 xac.gz

    Here is the log z/OS:
    D IQP
    IQP066I 15.21.06 DISPLAY IQP 294
    zEDC Information
    MAXSEGMENTS: 4 (64M)
    Previous MAXSEGMENTS: N/A
    Allocated segments: 1 (16M)
    Used segments: 0 (0M)
    DEFMINREQSIZE: 4K
    INFMINREQSIZE: 16K
    Feature Enablement: Enabled
    D PCIE
    IQP022I 15.21.13 DISPLAY PCIE 296
    PCIE 0012 ACTIVE
    PFID DEVICE TYPE NAME STATUS ASID JOBNAME CHID VFN PN
    00000105 Hardware Accelerator ALLC 0013 FPGHWAM 0208 0005
    00000205 Hardware Accelerator ALLC 0013 FPGHWAM 0138 0005