Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the encoding speed of nvJPEG2000-Encoder so slow? #205

Open
MakerLiu opened this issue Aug 7, 2024 · 3 comments
Open

Why is the encoding speed of nvJPEG2000-Encoder so slow? #205

MakerLiu opened this issue Aug 7, 2024 · 3 comments
Assignees

Comments

@MakerLiu
Copy link

MakerLiu commented Aug 7, 2024

No description provided.

@MakerLiu MakerLiu closed this as completed Aug 7, 2024
@MakerLiu
Copy link
Author

MakerLiu commented Aug 7, 2024

Screencast.webm
I am using nvJPEG2000 to encode 3040*2160 PGM images on an NVIDIA Jetson AGX Orin (32G) device. On average, encoding a JP2 image takes 0.34 seconds. You can see the video I uploaded. Is this speed reasonable? Where might the performance bottleneck be, and can you provide some suggestions? Thank you!

@MakerLiu
Copy link
Author

MakerLiu commented Aug 7, 2024

Screenshot from 2024-08-07 17-44-38

@MakerLiu MakerLiu reopened this Aug 7, 2024
@zohebk-nv
Copy link
Collaborator

Hi @MakerLiu, from the screen cast that you've shared, the throughput achieved by nvjpeg2k is about 7 images/sec. The lower speed likely due the heavy computation requirements of JPEG2000 encoding process.
What is the bitdepth of the image that you are compressing? If the bitdepth is closer to 16, then the perf that you are seeing seems plausible.

Would it be possible for you to share details of your workflow? I can check to see if there any encode parameters that could be of use

@zohebk-nv zohebk-nv self-assigned this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants