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

[linux+?] gzip streaming of .zip files tanks performance #853

Open
rofl0r opened this issue Oct 27, 2024 · 1 comment
Open

[linux+?] gzip streaming of .zip files tanks performance #853

rofl0r opened this issue Oct 27, 2024 · 1 comment

Comments

@rofl0r
Copy link
Collaborator

rofl0r commented Oct 27, 2024

State your operating system:

Linux gtk2 / cli

DesMuME version

git master

Issue

at least in the game "captain america (u)", using above frontends, the gzip streaming of a .zip archive, which appears to be on-the-fly, heavily affects performance between level section switches, resulting in high cpu load, low fps, and stuttering sound on a mid-level x86 device. using the extracted .nds file instead results in perfect performance. since most NDS games are < 100 mb, it may be better to extract the entire file to ram once on startup instead.
i'm posting this both as a reminder and to hear @zeromus' thoughts, since his absence on IRC makes chatting difficult ;)

@zeromus
Copy link
Contributor

zeromus commented Oct 28, 2024

zeromus has nothing useful to add for the linux frontend. I'm skeptical that the gzip is done on the fly, otherwise it would be absurdly slow. gzip is not "seekable".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants