(11-15-2015, 05:23 PM)willkuer Wrote: The problem is you need an indicator when to enable it. Since vu is async and works on demand and the demand is highly game dependent i dont know any indocator that would be reasonable.
I just create a random stupid example that might be completely wrong but just consider your cpu can process 10 instructions. The ee takes 8 and the vu takes 2 instructions. You are bottlenecked but still running in full speed. The scene changes and instead of 2 instructions the vu needs 4 instructions. You are now fully bottlenecked and run in slowmo. Easy solution: decrease vu instructions by 50% by adaptive vu cycle stealing if instructions > 2. the problem now if what happens if i switch the game and by default use only 4 ee instructions and 4 vu instructions. According to the considered model adaptive vu cycle stealing would kick in and reduce by 50%. But this will result in unnecessary stuttering.
So requested vu instructions are a bad indicator. What about cpu load? Well you can seperate that into gs load and ee load but if you are bottlenecked by ee or vu in the ee thread is unknown. So vu cycle stealing can help or not. So this is also no good indicator.
What could be a good indicator?
as far as my investigation, the indicator are vu and ee.
1.if ee load > 95% and vu load >95%. vu cycle stealing is on
2.if ee load > 95% and vu load < 95%. vu cycle stealing is off
3. if ee load < 95% and vu load > 95%. vu cycle stealing is off
4. if ee load < 95% and vu load < 95%. vu cycle stealing is off
here are example game, i have tested :
1. God of war ll. it has high ee load and high vu load. vu cycle stealing is the only solution to get good speed .
2. Dynasty warrior 5 empire. it had low ee load but in certain situation, like intensive graphic (if there are a lot troops). vu load suddenly increase. but it's strange, motion become much slower.
3. Street fighter ex 3 . it has high ee load and high vu load. again vu cycle stealing is the only way to get increase it speed.
You could test other games too, wich has same ee load and vu load that described above. thank you