Comments (12)
@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.
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.
@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.
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.
@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.
It's work. part00.gz.raw is matching with part00.
So maybe the problem is on compression of HW.
from vitis_libraries.
@f1593570 great thanks for confirmation. Bug in HW compression might be causing this. Please share part00 for debugging.
from vitis_libraries.
Here is the link of data part00.
Thanks for your help.
from vitis_libraries.
@vt-lib-support , Is there any update ? :)
from vitis_libraries.
@f1593570 we have reproduced the issue at our end. This is a bug we will provide a fix soon.
from vitis_libraries.
@f1593570 This issue is fixed and current master is updated with the fix.
Closing this issue.
from vitis_libraries.
@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)
- OpenSSL calls issue
- II&Timing violations in tests of solver library
- failed to run csim of vision library 2020.2 with vitis_hls2020.2 on windows HOT 2
- bad_alloc HOT 1
- Link to documentation not up to date
- [Vitis Vision] xfcvDataMover Tiler/Stitcher Hangs on Wait HOT 1
- [Vitis Vision] xfcvDataMover Tiler/Stitcher AIE_VECTORIZATION_FACTOR? HOT 2
- [Vitis Vision Library] Kalman Filter Kernel documentation is misleading and incomplete
- Data compression kernel with data width > 8 bits?
- [Vitis Graph] test_cosineSimilaritySSDense Bug: Segmentation fault (core dumped)
- Security lib performance: RSA + HMAC-SHA256
- Co-Simulation error while running after successful synthesis HOT 8
- CFB76::calculatePaddedNumElements HOT 1
- Build errors during C simulation and C synthesis in Vitis unified IDE 2023.2
- Motor control [field weakening]
- NPPC2 (2 pixels per clock) or NPPC4 (4 pixels per clock) support for Sobel Filter
- BLAS multikernel benchmark example doesn't work on U250 platform HOT 1
- [2023.2] CONFIG_FILE and CONFIG_TMPL variables in makefile of examples HOT 1
- [VISION]REQUEST SAMPLE FOR LK_SPARSE_PYR_OP
- [BLAS, L2 GeMM] Throughput decreases for specific matrix sizes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitis_libraries.