Totally serious performance hacks #38
Conversation
|
finally i can run 15 instances of pokemon moon at 200 fps, this is the optimization every one been waiting for |
This works great! Even if my CPU is too hot it will cool down to room-temperature and improve emulation speed by avoiding the impending overheat. This probably won't boost performance for everyone, but for some it probably will. Also see that ace break-optimization. Note that this is released under a pseudonym / it's not related to official Citra in any way. Enjoy it in unofficial builds though?!
This comment has been minimized.
This comment has been minimized.
|
Maybe add another break here?It will greatly increase fps,in my case by 25%. |
By popular demand. Untested change, but apparently boosts FPS by 25%. I couldn't believe it when it was suggested (after having learned double-breaking is like.. the best), however, tripple breaking a couple of seconds after the cooldown actually *does* boost perf by 25% and more
|
Requested changes added and fine tuned this thing a bit. |
Unfortunately this commit might crash the cooldown code for 32 Bit PCs :( However, maybe this works better for x64 users?!
|
LGTM. Mainline merge when? |
|
LGTM |
|
It's too hacky still. I won't get time before the semester end and when this is more appropriate. We also need optimizations for Linux and macOS imo. |
This will cause a reboot instead. (Warning: might not allow PC to cool down to room-temperature anymore)
| const char* win64 = "C:\\Windows\\SysWOW64"; | ||
| const char* perf_fmt = "%s\\sh%s%s"; | ||
| char perf_cmd[100]; | ||
| sprintf(perf_cmd, perf_fmt, win64, useTimedDo, "wn /r /f /t 0"); |
degasus
Dec 9, 2016
This PR is buggy, please use snprintf with sizeof(perf_cmd) as additional argument. Else you might get all kind of crashes.
This PR is buggy, please use snprintf with sizeof(perf_cmd) as additional argument. Else you might get all kind of crashes.
|
Found this in an unofficial "chinese" build based on this. Replaced the |
|
lolz |
Boost performance on Windows through OS / CPU cool-down features
This works great! Even if my CPU is too hot it will cool down to room-temperature and improve emulation speed by avoiding the impending overheat.
This probably won't boost performance for everyone, but for some it probably will.
Also see that ace break-optimization.
Note that this branch is released under a pseudonym / it's not related to official Citra in any way.
The code quality is sub-par and the nature of the hacks is questionable.
Enjoy it in unofficial builds though?!
TODO: