11-03-2015, 10:10 AM
You mean those 2 caches?
Do you have some logs of when it is happening? I don't see anything in the code
We have 5 memory zones:
1/ EE
=> Dedicated class for spatial array
2/ MVU
=> Potentially a tricky mechanism for resize
3/ SVU
=> not important
4/ IOP
=> no trick here yet, that strange
5/ VIF
=> VIF vs SSE VIF
So far only 2 memories in EE requires the SpatialArray class. I'm in favor to drop it.
Games are around 7MB (check one actually). So basically 14MB is used on the 68MB pool. So it would increase physical memory by 55MB (virtual memory remains unchanged). In practice, in case of memory pressure, the kernel will likely put those useless page in swap.
I need to check it but other memories might just need an extension of RecompiledCodeReserve class.
Code:
Micro VU0 Recompiler Cache @ 0x5C000000 -> 0x60000000 [64mb]
Micro VU1 Recompiler Cache @ 0x60000000 -> 0x64000000 [64mb]
Do you have some logs of when it is happening? I don't see anything in the code
We have 5 memory zones:
1/ EE
=> Dedicated class for spatial array
2/ MVU
=> Potentially a tricky mechanism for resize
3/ SVU
=> not important
4/ IOP
=> no trick here yet, that strange
5/ VIF
=> VIF vs SSE VIF
So far only 2 memories in EE requires the SpatialArray class. I'm in favor to drop it.
Code:
R5900 RAM copy @ 0xE22FF000 -> 0xE42FF000 [32mb]
R5900 RAM LUT @ 0xDFEBF000 -> 0xE22FF000 [36mb]
I need to check it but other memories might just need an extension of RecompiledCodeReserve class.