[Linux] Save/load state takes a long time
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Description
When on any core (I experienced it on M64 Plus, Snes9x and bsnes), saving and loading state often takes 15+ seconds
Expected behavior
Saving and loading state happens within less than 1 second
Actual behavior
Saving and loading state (particularly saving) usually takes at least 15 seconds
Steps to reproduce the bug
- load a core
- load a game
- save state
- load state
Bisect Results
After 1.8.5 update
Version/Commit
- RetroArch: Frontend for libretro -- v1.8.5 -- b01aabf7d1 --
Environment information
- OS: Arch Linux, kernel 5.6.3-arch1-1
- Compiler: gcc 9.3.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the save and load state steps on Arch Linux with the M64 Plus, Snes9x, and bsnes cores, comparing behavior before and after the 1.8.5 update. Trace the state-saving path to identify why saving and loading take 15 or more seconds; done means both operations complete in under one second.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- operating-systems, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100