notaz
Certified Guru
How do you profile recompilation itself? Oprofile gives the following:Ari64 said:The dynarec was designed to handle this. If the old code module is still in the cache, it will recognize this and not recompile it. Can you profile this and see where the time is being spent?notaz said:This is caused by Ari64's dynarec recompiling stuff (there is lots of invalidation going on), game is reloading some code modules between fights, I'm not sure if I can fix that. The problem should be less apparent after first few fights though.
Code:
Counted CPU_CYCLES events (Number of CPU cycles) with a unit mask of 0x00 (No unit mask) count 100000
samples cum. samples % cum. % app name symbol name
11964 11964 31.3769 31.3769 libc-2.9.so memset
4450 16414 11.6706 43.0475 pcsx new_recompile_block
3296 19710 8.6441 51.6916 pcsx GetTextureTransColG32
2702 22412 7.0863 58.7779 pcsx anon (tgid:2622 range:0x1000000-0x2000000)
For me it looks like normal operation, it happens only first time battle is loaded, but the whole thing goes for 5-10sec and causes varying slowdowns and sound tempo changes which people notice and keep complaining about. Maybe something like liveness analysis depth could be reduced just for that game, I don't know.
This is the same situation that caused slowness because of __clear_cache() calls, it would get stuck for several seconds, now it's a lot better but people still complain.
The kernel is at http://openpandora.org/firmware/uImage , can be copied to /boot/ but it will likely break things like sgx and wifi and needs installing corresponding module .ipks to fix.OilySalmon said:You have the latest kernel? From a git repository or something? I'd like to replicate your software setup to confirm if this is the problem or not.
There is some cheat support in the emu already, I just haven't made it accessible in the GUI yet. And I think I fixed the bug so that trainer should work in the next version.Lobo said:OK, yes it's the hooligans one I'm using(couldn't find any others at the time but it was handy that it had trainers included). Bit of a bummer because now I can't cheat
...any chance of action replay support?
Last edited by a moderator: