By using this site, you agree to our Privacy Policy and our Terms of Use. Close
PullusPardus said:

And here is why I Like GG more than the other Sony studios

 

They're not being (like Naughty Dog) "PS4 is PERFECT, I FUCKING LOVE SONY! , TEH POWER OF THE CELL , IT JUST FLIPPIN DEVELOP'S ITSELF!" 

They used "Spinlocks" probably because PS3 had a weird CPU structure (one Big core ,  lots of Small sub cores)  Spinlocking doesn't take much CPU resources , but it bugs out a lot since its well "Small" so if it bugs out there is no failsafe and it just stops, however with "mutexe" they're Fast and big, but are CPU hoggers,

 

However... they are WRONG about "spinlocking is not nice for multicore" actually it is made for that, I am guessing they meant its not nice incase they fail since if one of the threads fail the others kind of fail too, and the bugs are "Where is my head?!" kind of stuff.


Do you know what you're talking about?

1. PS3's SPU/SPE are isolated from each other, the only time threads get blocked is if data streaming to SPE's local memory gets congested. 

2. Spinlock uses lots of cpu because it constantly loops to check when the resource is free. Mutex is just a counter that +1 when a resouce is taken and -1 when the resource is free. Spinlock = fast but cpu intensive. Mutex = slow but less cpu intensive.

3. Spinlock is not nice for multicore systems because congested cores potentially will never get the resouces and when they are racing against more idle cores. Thread scheduler issue of not balancing thread load evenly among the cores. 

:-/