The Sony PS3 thread (apparently *still* obnoxious!)

Inane baanter or words of wisdom - you decide...
Locked
User avatar
Ely
Baaaaaaa!
Baaaaaaa!
Posts: 7404
Joined: Tue May 28, 2002 6:32 pm 0
Yahoo Messenger: ely_uw2000
Location: The other place....
Contact:

Post by Ely »

What, you mean there's no monkeys involved?
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Kemper_Boyd wrote:I'm sure IBM can give you a power virus if you want to see Cell running
at 100%.
There was an academic paper posted on here a while ago that managed to get Cell running near its peak theoretical limit.
User avatar
Kemper_Boyd
Sheepie Whore
Sheepie Whore
Posts: 11967
Joined: Wed Jul 31, 2002 9:15 pm 0

Post by Kemper_Boyd »

teamonkey wrote:
Kemper_Boyd wrote:I'm sure IBM can give you a power virus if you want to see Cell running
at 100%.
There was an academic paper posted on here a while ago that managed to get Cell running near its peak theoretical limit.
Sure I've read that, did you notice all my comments? ;)

Utilisation isn't a good measure of performance.

A power virus is an interesting example, they really work the chip but in
many cases that work is utterly pointless. I'm sure I've read that
IBM have code for some POWER chips that leads to greater heating
(a good proxy for activity in the frontend, ALUs, register file and caches)
than any code found in shipping operating systems or applications.

Measure performance doing useful work, utilisation is about as helpful
a comparison as MHz or MIPS. i.e. It's not. :)
User avatar
Kemper_Boyd
Sheepie Whore
Sheepie Whore
Posts: 11967
Joined: Wed Jul 31, 2002 9:15 pm 0

Post by Kemper_Boyd »

I may be misremembering a bit, but I dug this up. It was from an article
about IBM's POWER5, but the figures were from Intel and presented at
IDF in 2004.
If an activity factor of 1.0 represents the maximum device power that can be
extracted for any arbitrary code sequence (i.e. a power virus) then the maximum power of
any real application (typically Linpack) is around 0.8, SPECfp2k is about 0.7, SPECint2k
about 0.65, and TpmC about 0.6
http://h21007.www2.hp.com/dspp/files/un ... heavys.pdf

So teamonkey even that paper you mention may not be an example of
Cell running close to "100%" i.e. Peak FLOPS isn't necessarily the greatest
workload.

Still I'm sure I've had a conversation about this, about 3-4 years
back arguing the toss about future CPUs for the Mac, and was told
that the worst load on some of the POWER chips was more or less
nonsense code, designed only to thrash everything in sight. :)

Unless your job is testing CPU power management I wouldn't sweat
it trying to hit "100%".
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Post by teamonkey »

Kemper_Boyd wrote:Sure I've read that, did you notice all my comments? ;)
Oh yeah, it was just an aside. The interesting thing about that particular experiment being that the proportion of calcualtions spent doing useful calculations in that paractical example were very close to the theoretical peak. It's almost as if Cell was designed with that sort of thing in mind. ;)
User avatar
Kemper_Boyd
Sheepie Whore
Sheepie Whore
Posts: 11967
Joined: Wed Jul 31, 2002 9:15 pm 0

Post by Kemper_Boyd »

teamonkey wrote:
Kemper_Boyd wrote:Sure I've read that, did you notice all my comments? ;)
Oh yeah, it was just an aside. The interesting thing about that particular experiment being that the proportion of calcualtions spent doing useful calculations in that paractical example were very close to the theoretical peak. It's almost as if Cell was designed with that sort of thing in mind. ;)
I was very sceptical about Cell in HPC, the programming, but I think it will
come to dominate the TOP500, the eDP Cell is going to be nerd catnip. :)
Kronos

Post by Kronos »

Snakey wrote:
Old_but_still_a_kid wrote:Oh well, then the 360s peaked and M$ is stuffed in a couple of years time ;)
:lol:

So given that Motorstorm is throwing about 300% more at the PS3s GPU than it can physically render at 60fps, and it doesn't matter what they do with the rest of the system, it's still not going to be able to render that any quicker - I guess the PS3 peaked before it was released ;)
Nah, I'm talking about utilisation of multi-processor multi-core type systems cpu's 100% in technical terms (ie all of the circuits on the silicon). Not what the PS3 or 360 are capable of as designed, but as 100&% utilisation of all areas of the chip at all times to do something more productive than running a 10 instruction independant loop on each for example. Moore's (I think) law or something about parallelism in processing.

As KB says you can overload any system, that doesn't mean it is being 100% utilised though in it's utopian maximum of 100% physical use, would need the perfect balance of independant processes and perfect fetch/execute timing of code to I guess. So to reply to Fdave's comment, you can certainly create code that max's out any cpu or gpu and leaves it wanting (look at all the shit games launched with 360 and compare them to what Gears of War is doing ;) ) , doesn't mean you have utilised 100% of theoretical power. Fuck me if you have worked out how to get 100% REAL use of 7 core'd system why aren't you a scientist in IBM's research labs? :lol: Anyone can write bullshit/bad code to kill a cpu, whether you can write a game that uses ALL parts of the system AND does it with 100% EFFICIENCY then and only then do you have 100% utilisation. That's the key.
User avatar
Snakey
Baaaaaaa!
Baaaaaaa!
Posts: 8938
Joined: Thu May 09, 2002 4:17 pm 0
Location: Hell on Earth

Post by Snakey »

Old_but_still_a_kid wrote:Nah, I'm talking about utilisation of multi-processor multi-core type systems cpu's 100% in technical terms (ie all of the circuits on the silicon). Not what the PS3 or 360 are capable of as designed, but as 100&% utilisation of all areas of the chip at all times to do something more productive than running a 10 instruction independant loop on each for example.
Load of crap. Doesn't matter if you can process 500 billion polygons a second if you can't render the fucking things.
Old_but_still_a_kid wrote:Anyone can write bullshit/bad code to kill a cpu, whether you can write a game that uses ALL parts of the system AND does it with 100% EFFICIENCY then and only then do you have 100% utilisation. That's the key.
Yeah, because everybody wastes their time writing "bad/bullshit code" just for a laugh, don't they? ;)

It's really quite simple.

1. Write some code that does a hideous amount of very real and very useful processing.

2. Optimise the crap out of it.

3. Run the same code on multiple cores.

4. Watch as the performance goes up in exactly the way you expected it to.

5. Done.

The same thing is much more difficult on PS3. "Dr. Phil" seems to be saying nobody can do it. He's probably right.
teamonkey wrote:The interesting thing about that particular experiment being that the proportion of calcualtions spent doing useful calculations in that paractical example were very close to the theoretical peak. It's almost as if Cell was designed with that sort of thing in mind.
Exactly. Cell is bloody good at this sort of thing, because that's what it was designed to do. But how much time is going to be spent doing this sort of thing in a game? Is a game ever going to get anywhere near peak performance out of it?

We need to forget what Cell is and remember what PS3 is.
Nothing is worth the effort you put into it.
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

Old_but_still_a_kid wrote:whether you can write a game that uses ALL parts of the system AND does it with 100% EFFICIENCY then and only then do you have 100% utilisation. That's the key.
Simple fact is you can't. GPU's in particular; there are certain places on the chip where you have to overengineer if you want to work well on a wide range of loads. So you might be able to triangle setup 500M primitives a second - because if you have a batch of 10-pixel triangles come through you need to do that or the pipeline bubbles to hell. But the majority of the time you're rendering 1000 pixel triangles and the faster setup rate matters nary a jot.

Bottleneck analysis is more useful, but even then - well, performance analysis is bloody hard.
Kronos

Post by Kronos »

Yes you can run the same code on 3 cores and it will run faster than 1 core, but will all three streams run independantly and never have any dependancy of the results of the other two streams/processes at any time. If you can do that then yes they will happily F/E independantly ad-infinitum. But doing this for the entire code all the time for a game has been done?
User avatar
Dio
Sheepie Whore
Sheepie Whore
Posts: 18887
Joined: Mon May 31, 2004 1:08 pm 0
Location: Newcastle UK

Post by Dio »

Of course it has.

Multiprocessing is far from a solved problem generally, but assuming you have enough memory a double buffered gamestate technique makes sense (and potentially solves some physics issues, such as the results changing depending on the order of evaluating objects). That would scale pretty much linearly with cores when well implemented.

That only leaves building and kicking off the actual command buffer(s) in serial code, and that could be a very simple operation, and from then on Amdahl's law gives the rough performance number.

So overall the basic principles aren't extraordinarily difficult. Implementation is far from trivial, mind - there's a lot of details about working sets, data arrangement and cache policies that needs to be got right even on a shared memory architecture, and I would be much more nervous about managing memory traffic on a Cell-type architecture where the gamestate object working set needs to be kept inside the size of the SPE buffer, and has to be pulled into there by scatter DMA.

Of course, this is a simple pipeline. One that uses the GPU for non-rendering tasks as well will be a lot more complicated.
User avatar
Snakey
Baaaaaaa!
Baaaaaaa!
Posts: 8938
Joined: Thu May 09, 2002 4:17 pm 0
Location: Hell on Earth

Post by Snakey »

Old_but_still_a_kid wrote:Yes you can run the same code on 3 cores and it will run faster than 1 core, but will all three streams run independantly and never have any dependancy of the results of the other two streams/processes at any time.
Absolutely. No point doing it otherwise. Just get them all working on an equal but different part of the same data, so they all finish at the same time with the final product. Then you can put them to work on the next bit.

Incidentally, there are 6 hardware threads. Not 3.
Nothing is worth the effort you put into it.
User avatar
Rod_S
Sheepie Whore
Sheepie Whore
Posts: 13474
Joined: Thu Jan 23, 2003 10:18 pm 0
Location: Badsville
Contact:

Post by Rod_S »

This is quite significant - Virtua Fighter V coming to the 360:

http://www.computerandvideogames.com/ar ... ?id=152824

So the 360 gets a decent, the very best, fighting game, and Sony lose another shit hot exclusive. Interesting times.
User avatar
grue
Baaaaaaa!
Baaaaaaa!
Posts: 9178
Joined: Sun Jan 18, 2004 1:33 pm 0
Location: Greece
Contact:

Post by grue »

Rod_S wrote:This is quite significant - Virtua Fighter V coming to the 360:

http://www.computerandvideogames.com/ar ... ?id=152824

So the 360 gets a decent, the very best, fighting game, and Sony lose another shit hot exclusive. Interesting times.
I've seen people play VF4 and I was imressed. When I tried to play though all I managed to do was small punches. :lol:
Armed with a Cintiq+4+bless I'm off to fight bad taste!
Take a look at my art and t-shirts
User avatar
Rod_S
Sheepie Whore
Sheepie Whore
Posts: 13474
Joined: Thu Jan 23, 2003 10:18 pm 0
Location: Badsville
Contact:

Post by Rod_S »

grue wrote:
I've seen people play VF4 and I was imressed. When I tried to play though all I managed to do was small punches. :lol:
Yeah it's not exactly accessible and pick up and play in the way Tekken and DOA are. The fighting system is deep, demanding, and requires a significant time investment if you want to get past the button mashing, flailing around stage of your first hour with it. If you can click with it though you'll see why it kicks the shit clean out of every other beat 'em up around, it's just so much more sophisticated, focussed and satisfying. I like Tekken and don't mind the occasional blast on DOA, but VF truly slaughters them in every regard.
Locked