Well, you have to store the code somewhere too, so if the programs that process your streaming data are bulky, they're still going to jostle with each other in the cache... Best would hence be if code processes little or streaming data in tight loops. Not sure how much actual processing work can be implemented in such a manner however.Titanio said:I think where you can parallelise, more hardware threads, more execution hardware certainly benefits you, especially if the stuff you're breaking up is computationally expensive.
Except as you know, SPU RAM isn't cache. Typically you can't be sure that a particular piece of code/data will actually be in the cache as it functions transparently and invisibly compared to the processor... Of course these days there's automatic and explicit prefetching available, and cache lines can be locked (in some CPUs anyway) so the contents doesn't get pushed out. It'll be interesting to see what coders will come up with to circumvent the limits of each platform.Jawed said:In Cell there's 256KB shared between data and code. If that's enough memory to support a streaming algorithm, then Xenon with a 1/3 share of 1MB is going to be fine running the same algorithm, is it not?
One thing I've not been able to confirm tho, is xCPU actually capable of doing this? It can lock off a piece for use by xenos, and I assume it can lock certain lines like for example the R4200i in the N64 (or Gekko in GC). But can it really partition off (an arbitrary) size for one particular CPU? One particular hardware thread even?Titanio said:A thread could take 1/6th if you were splitting things evenly. You could give it one third (or one half or two thirds..), but obviously other threads would be dealing with less then.
Then again, the ability to partition off pieces of cache is by no means any guarantee of achieving better performance... Look at the celeron with its crippled cache size, these chips have an uncanny way of sucking, performance-wise. And a low-end celeron-sized cache coupled with a high-end clockrate does indeed spell trouble, as far as performace is concerned. But like I said, it'll be interesting to see how things will work out in the end. I'm optimistic!