Code Monkey home page Code Monkey logo

Comments (12)

vt-lib-support avatar vt-lib-support commented on June 26, 2024

@f1593570 Input size of 512MB must work, which flow is failing ? Xilinx compress & decompress or Xilinx Compress vs Std decompress ? Also what is the compression ratio ?

from vitis_libraries.

f1593570 avatar f1593570 commented on June 26, 2024

The flow is Xilinx compress & decompress, here is my executed command

./build_dir.hw.xilinx_u200_xdma_201830_2/xil_gzip -sx build_dir.hw.xilinx_u200_xdma_201830_2/compress_decompress.xclbin -v part00

Test result shows below :

Found Platform
Platform Name: Xilinx
Using Device: xilinx_u200_xdma_201830_2
INFO: Reading build_dir.hw.xilinx_u200_xdma_201830_2/compress_decompress.xclbin
Loading: 'build_dir.hw.xilinx_u200_xdma_201830_2/compress_decompress.xclbin'
--------------------------------------------------------------
                     Xilinx GZip Compress
--------------------------------------------------------------

KT(MBps)                :608.04
CR                      :1.01
File Size(MB)           :536.871
File Name               :part00

--------------------------------------------------------------
                     Xilinx GZip DeCompress
--------------------------------------------------------------

KT(MBps)                :16.77
File Size(MB)           :536.871
File Name               :part00.gz

part00 part00.gz.orig differ: byte 18874369, line 67009
Validation Failedpart00.gz.orig
XRT build version: 2.7.0
Build hash: 1697a17d5621ee4bf208142fd30a1224866137a9
Build date: 2020-06-02 15:23:47
Git branch: master
PID: 3577
UID: 0
[Tue Jun  9 10:41:05 2020 GMT]
HOST: Chromium
EXE: /STORAGE_4TB/ssc_workspace/Vitis_Libraries06/Vitis_Libraries/data_compression/L2/demos/gzip/build_dir.hw.xilinx_u200_xdma_201830_2/xil_gzip
[XRT] WARNING: Incomplete CU profile trace detected. Timeline trace will have approximate CU End
[XRT] WARNING: Trace FIFO is full because of too many events. Timeline trace could be incomplete. Please use 'coarse' option for data transfer trace or turn off Stall profiling

And detail of file size :

-rw-r--r--. 1 root root 536870912 Jun  9 18:40 part00
-rw-r--r--. 1 root root 531007413 Jun  9 18:40 part00.gz
-rw-r--r--. 1 root root  18877387 Jun  9 18:41 part00.gz.orig

from vitis_libraries.

vt-lib-support avatar vt-lib-support commented on June 26, 2024

@f1593570 Thanks for sharing more details, can you please try to decompress using standard GZip ,
Command to use: "gzip -dc part00.gz > out ", check if out and part00 are matching or not.

from vitis_libraries.

f1593570 avatar f1593570 commented on June 26, 2024

out and part00 are not matching neither.

-rw-r--r--. 1 root root  18874368 Jun  9 18:54 out
-rw-r--r--. 1 root root 536870912 Jun  9 18:40 part00
-rw-r--r--. 1 root root 531007413 Jun  9 18:40 part00.gz
-rw-r--r--. 1 root root  18877387 Jun  9 18:41 part00.gz.orig

There is a message after executing gzip -dc part00.gz > out
gzip: part00.gz: invalid compressed data--format violated

from vitis_libraries.

vt-lib-support avatar vt-lib-support commented on June 26, 2024

@f1593570 thanks for providing update, similarly can u also try "gzip part00" and try to decompress using xilinx decompress "xil_gzip -sx xclbin -d part00.gz" and check if it works ?

from vitis_libraries.

f1593570 avatar f1593570 commented on June 26, 2024

It's work. part00.gz.raw is matching with part00.
So maybe the problem is on compression of HW.

from vitis_libraries.

vt-lib-support avatar vt-lib-support commented on June 26, 2024

@f1593570 great thanks for confirmation. Bug in HW compression might be causing this. Please share part00 for debugging.

from vitis_libraries.

f1593570 avatar f1593570 commented on June 26, 2024

Here is the link of data part00.
Thanks for your help.

from vitis_libraries.

f1593570 avatar f1593570 commented on June 26, 2024

@vt-lib-support , Is there any update ? :)

from vitis_libraries.

vt-lib-support avatar vt-lib-support commented on June 26, 2024

@f1593570 we have reproduced the issue at our end. This is a bug we will provide a fix soon.

from vitis_libraries.

vt-lib-support avatar vt-lib-support commented on June 26, 2024

@f1593570 This issue is fixed and current master is updated with the fix.
Closing this issue.

from vitis_libraries.

f1593570 avatar f1593570 commented on June 26, 2024

@vt-lib-support I try the code with the fix but it still has problem. I can't decompress 1gb file compressed by fpga-gzip correctly. Could it be that I upgraded Vitis to 2020.1 causing this problem?

from vitis_libraries.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.