Friday, January 4, 2008

Playstation 3 versus Xbox 360 thoughts...

(from the Endless Arguments department)

Hi everyone,

I sent a friend of mine an e-mail with some thoughts about PS3, Xbox 360 and even PS2 architectures. Just so it doesn't get lost, here it is. Enjoy!

Cheers,
Paul

This might be easier to digest. ^_^

Here's the PS3 final dev kit - the prototype dev kits were much bigger.

http://ps3.ign.com/articles/726/726255p1.html

That's a much more manageable size.

The PS3 has 256 megs RAMBUS XDR main memory and 256 megs GDDR3 VRAM GPU memory. However - the GPU can access main memory - apparently up to 440 Megs max. There's probably a speed penalty in that, I'm guessing.

By contrast, the Xbox 360 has a unified memory architecture - 512 Megs of GDDR3 RAM shared between the CPU and GPU.

PS3 has a hyperthreaded PPU (PowerPC) and 7 SPUs - one of which is reserved. This means 2 PPU threads and 6 SPU threads. This means kind of 2-8 threads, at any given time, depending on what you're doing.

The Xbox 360 has 3 cores, hyperthreaded PowerPC. This means 6 full threads - probably faster clock speed than the PPU too. To my way of thinking, these architectures aren't that radically different in terms of performance. Sure - pure Vector math benchmarks may favor the PS3, but real world?

meh.

I don't really see any advantages one way or the other here. In fact, the Sony architecture might annoy standard PC developers, who haven't worked with the PS2 very much. ^_^

I mean - develop an application for the PC - heck let's make it dual core. Now, port it to Xbox 360. Optimize for 6 threads. Runs well. Now, port to PS3. Initially, you're probably running on the PPU - two threads. Performance sucks. (Some companies release it at this point. ^_^) Smart developers start pawning pure math functions off to individual SPUs. They are incredibly fast, but there's only so much pure math you can do on them. Performance basically equals Xbox 360, if you optimize enough. Hair is pulled out constantly.

Alternatively - do PS3 dev first. Run great. All math functions designed to run independently on SPUs - advanced physics included. Port to XBox 360. Performance sucks. Now start consolidating SPU functions as independent threads and take advantage of the triple core. Performance basically equals PS3, with possibly simplified math approximations - which you don't notice on an HDTV anyway.

This is what I'm seeing in the real world based on the available games.

For example, I've been playing games developed on the PC/Xbox first. Best example of this is The Orange Box. Most of the time, it's fine. Sometimes, though, it slows down terribly. Valve didn't want to do the PS3 port at all - they handed it off to EA UK. Now, patches are on their way.

On the other hand, I have the Burnout Paradise demo. It was originally developed on the PS3 and ported to Xbox 360. It looks stunning on the PS3, but word on the street is that the Xbox 360 version looks great too.

I don't think you're gonna see any big differences between the two until developers abandon DX9/DX10 architecture, and start thinking outside the box. You'll see start to see radical games like this from established PS2 companies like Insomniac and Naughty Dog, since they don't do any DX9/DX10 architecture, and understand the Vector Unit concept.

There are several groovy things that you can do with the PS3 architecture. Remember that, unlike the PS2 which had no GPU, the PS3 has the RSX - which is an nVidia 7800 equivalent - for its GPU. You can feed the pixel and vertex shader pipelines in the RSX from the SPUs directly. Now we're starting to talk - write physics and AI code on the SPUs, and then send it to the RSX's pixel and vertex shaders. No main CPU (PPU) overhead. Or - use full motion HD video on surfaces, courtesy of the SPU. Apparently, one or two SPUs can decode h.264 video streams at HD resolution.

By the way - that's the reason that everyone is having such trouble emulating the PS2. The GS chip in the PS2 is not a GPU - it's a frame buffer manager/compositor. The GS writes to video buffer memory using a 2560 bit wide pipeline - using low latency DRAM!!! This is crazy talk. The GS has 1024 write bits, 1024 read bits and 512 read/write bits, even though it's only 4 megs! No current graphic card uses this kind of craziness. The PS2 doesn't really use pixel or vertex shaders - it uses one of its vector units in a pure "read the frame buffer, do some crazy math on it, and write the frame buffer back" kind of a way, thanks to its huge pipeline. The EE
is pretty straightforward - it's a MIPS core with two vector units. A dual-core Intel can simulate it rather well - or a Cell for that matter.

Which is exactly what the 80 gig PS3s do - emulate the EE with the Cell. But - the 80 gig PS3 still has a GS in silicon. That's what Sony removed from the 40 gig unit, and why it can't run PS2 games. The original 20 and 60 gig PS3s have a PS2 EE+GS in silicon. All PS1 games are done with full software emulation on all PS3 consoles.

I've often wondered if the PS3 was seriously gimped during the design phase. The initial PS3 designed seemed more PS2 like - they were prototyping with a twin Cell system - and each Cell had 8 SPUs, not 7. Add a crazy, hi-def GS-like chip, and now we're talking. Sony designers claimed that the second Cell didn't add anything to the performace, but I wonder. Grafting a stock nVidia GPU into this architecture seems like changing out a sports car's wheels for a Humvee's. They're nice wheels, and have some great features - but they really shouldn't be on there. Sony's teams may have caved to pressure from folks like Epic (unreal engine) who now use a lot of Pixel and Vertex shaders on the GPU. They may have freaked out if they had heard that Sony was about to release another console without a GPU.

Hmm - that's a lot to think about. ^_^

Quick pics of Rose, while I'm home sick

(from the cough, cough department)

Here you go!


Cheers,
Paul

Thursday, December 27, 2007

Hi-Fi Homemade Speaker

(from the Audio on a budget department)

Hi everyone,

This is very clever. The electrical engineer and the audio engineer in me both approve:

http://www.josepino.com/other_projects/index?homemade-hifi-speaker.jpc

Cheers,
Paul

Sunday, December 23, 2007

Standards for all!!!

(from the Acid 2 department)

Hi everyone,

After reading this post about IE8 and the Acid 2 test, I wondered how Firefox was doing. Currently, Firefox 1.5 and 2.0 do not pass the test. But - how about Firefox 3.0?

So - I tried the Acid 2 test with Firefox 3.0 beta 2. And guess what?



Yup - it passes!

So - now - Opera, Safari, IE and Firefox all pass the Acid 2 test. Standards - here we come?

Cheers,
Paul

Friday, December 21, 2007

Merry Christmas from Santa and Rose!!!

(from the Happy Holidays department)

Hi everyone,

Well - our little Rose got to meet Santa for the first time. She was extremely well behaved - perhaps it was her new velvet dress!



Merry Christmas everyone!

Cheers,
Paul

Monday, December 17, 2007

First Led Zeppelin, then My Bloody Valentine, now this?

Hi everyone,

Okay - this may not shiver your timbers like it does mine, but after Wire, my favorite band is Swervedriver.

And....

Swervedriver 2008 Reunion World Tour

The Road Is Long

So it looks like Swervedriver will hit the road once more. It all happened quite quickly and we met up in a pub in London last month and figured out what we'd like to do, which at this point is just heading out and playing some shows again.

As far as new recordings are concerned, I already have two albums to record next year (a new 'solo' and The Setting Suns debut) and they take priority. Maybe the Swervies can rustle up a new tune or two but really, there's more than enough going on with that back catalogue already.

I gotta say that something that really sparked my interest in this was hearing the live version of Sandblasted that has been posted for some time at swervedriver.com and subsequently at the MySpace page. I'd just never heard it played like that before. I mean, I guess I was there and everything, but it's got this great kinda country style to it that sounds like it might have only happened one night, and it's stuff like that that keeps the whole thing alive to me... not only in the music but the fact that other folks cared enough to record and post these recordings.

In the meantime this 'Bolts of Melody' tour has been going really good and finally it's reached the point where nobody bitches after the shows about the lack of Swervedriver songs! I guess because they've been leaving completely satiated by the set that culminates with the twelve minute C chord that is Ramonesland. Things are nicely in place to build on with another album next year and there's already a great album taking shape I think..

So I guess I'd better sleep now.. cheers - A


BTW - The 'A' stands for Adam Franklin, head swervie. I do have Bolts Of Melody - remind me to tell you about it sometime.

Cheers,
Paul

P.S. A slight update - looks like the classic Swervedriver song "Duel" will be in Burnout: Paradise!!! w00t! Hit the accelerator now, baby!

Wednesday, December 12, 2007

Kind of an experiment

(from the Are you kidding me? Kewl! department)

Hi everyone,

I'm trying something out here. It's a clip from YouTube of Robert Plant & Pearl Jam performing Going To California. Enjoy!



Cheers,
Paul

P.S. This is research so I can post some Rose videos to the blog.