forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"PS3 Cell Broken?" - Slashdot Article

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Mon Jun 05, 2006 11:55 pm    Post subject: "PS3 Cell Broken?" - Slashdot Article Reply with quote

http://games.slashdot.org/games/06/06/05/0933239.shtml

Breakdown:

Quote:
D-Fly writes
"Charlie Demerijian at the Inquirer got a look at some insider specs on the PS3, and says, Sony screwed up big time with the Cell processor; the memory read speed on the current Devkits is something like 3 orders of magnitude slower than the write speed; and is unlikely to improve much before the ship date. The slide from Sony pictured in the article is priceless: 'Local Memory Read Speed ~16Mbps, No this isn't a Typo.' Demerjian says when the PS3 comes out a full year after the XBox360, it's still going to be inferior: 'Someone screwed up so badly it looks like it will relegate the console to second place behind the 360.'"
This is the Inquirer, so take with a grain of salt. Just the same, doesn't sound too good for Sony or IBM.


and the original article can be found here

http://www.theinquirer.net/?article=32171
Back to top
View user's profile Send private message MSN Messenger
Arjan



Joined: 24 Apr 2005
Posts: 12
Location: Netherlands

PostPosted: Tue Jun 06, 2006 2:10 am    Post subject: Reply with quote

according to my rumour-mill:
"Main memory" refers to the 256MB memory of the CPU. "Local memory" refers to the 256MB memory of the GPU. The CPU can read with ~16MB/s from this local memory, write bandwidth is ~4GB/s. So if you really need to read data from local memory, it'd be better to have the GPU render it to main memory and have the CPU read it from there instead of reading it directly from local memory.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Saotome



Joined: 03 Apr 2004
Posts: 182

PostPosted: Tue Jun 06, 2006 2:19 am    Post subject: Reply with quote

I have to agree with Arjan.
It's the usual inquirer bullshit.
The 16MB/s is the bandwidth for Cell reading directly from RSX local memory (as opposed to something like a DMA transfer from RSX). The article makes it sound as if its the bandwidth to Cells main XDR memory.
_________________
infj
Back to top
View user's profile Send private message
Benny Blanco



Joined: 04 Jul 2005
Posts: 2

PostPosted: Tue Jun 06, 2006 7:58 pm    Post subject: Reply with quote

Yeah The Inquirer article is so wrong it's laughable. I thought it was really odd too and with a little further investigation (something The Inquirer should try sometime) I came across this, which mirrors what Arjan basically said:

"It isn't at all unusual for the video memory to have incredible write speeds and painfully slow read speeds (back to the CPU that is). The reason is that in 3d graphics the video card does the actual rendering. Therefore you simply tell it "I want a blue triangle at the coordinates X,Y,Z (x3) with T texture applied". The card renders it and applies the texture from texture memory and then displays it onto the screen. You never need to read the (texture) memory, because the data contained in it is throw away (why would you need to read the texture in that you sent to the card?)

So it is perfectly normal for texture memory to be nearly write-only. As long as writing to it is extremely fast (which it is in this case according to the PP slide), that isn't a problem."
Back to top
View user's profile Send private message
yostane



Joined: 21 Mar 2006
Posts: 4

PostPosted: Wed Jun 07, 2006 9:32 am    Post subject: Reply with quote

Thanks guys , I was going to believe it, but you saved me.
Back to top
View user's profile Send private message
Viper8896



Joined: 26 Jan 2006
Posts: 110

PostPosted: Sat Jun 10, 2006 3:45 pm    Post subject: Reply with quote

i thought it was local mem is the onboard mem on each spe and main mem is the one the available through the mic.
Back to top
View user's profile Send private message
Son_k



Joined: 28 Jun 2005
Posts: 6

PostPosted: Sun Jun 11, 2006 1:30 am    Post subject: Reply with quote

Saotome wrote:
I have to agree with Arjan.
It's the usual inquirer bullshit.
The 16MB/s is the bandwidth for Cell reading directly from RSX local memory (as opposed to something like a DMA transfer from RSX). The article makes it sound as if its the bandwidth to Cells main XDR memory.


there should be a rule against posting any "articles" by the inquirer. ;)
Back to top
View user's profile Send private message
GregLee



Joined: 24 May 2006
Posts: 1
Location: Waimanalo, HI

PostPosted: Sat Jun 17, 2006 11:55 am    Post subject: Reply with quote

Viper8896 wrote:
i thought it was local mem is the onboard mem on each spe and main mem is the one the available through the mic.

Yes, that's the way "local memory" is used at http://www.bsc.es/projects/deepcomputing/linuxoncell/overview.html, which says:
Quote:
Each SPE contains a 256 KB instruction and data local memory area (called local store) which is visible to the PPE and can be addressed directly by software.

_________________
Greg
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Tue Jun 27, 2006 10:04 pm    Post subject: Reply with quote

I'm no expert on ps3(or anything else for that matter) but from what I gather, the bandwidth between cell and gpu read wise is painfully slow, BUT the bandwidth between gpu and system ram is very high.
So couldn't you simply dma from the gpu memory to cpu memory, THEN let the cell just read the memory copy.
it's been a while but if I'm right you'd be able to read at over 8gb a sec.

Just an idea, no idea if it's practical/workable. But I'd say there must be a way, cos too many ps3 games supposedly do post fx on the cell and the only way to do post fx on rsx rendered graphics would be some way of dma'ing rsx mem to cell mem. (I think.)
Back to top
View user's profile Send private message
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Wed Jun 28, 2006 1:29 am    Post subject: Reply with quote

Kojima wrote:
I'm no expert on ps3(or anything else for that matter) but from what I gather, the bandwidth between cell and gpu read wise is painfully slow, BUT the bandwidth between gpu and system ram is very high.


You are correct that the RSX has a 256bit bus split into two 128bit busses, one going to GDDR3 and the other to XDR.

Quote:
So couldn't you simply dma from the gpu memory to cpu memory, THEN let the cell just read the memory copy.
it's been a while but if I'm right you'd be able to read at over 8gb a sec.


I've no idea if it is possible and/or feasible to do this, but it should be very fast. The idea is that you can store your textures in the XDR, for instance. I've seen a few devs confirm this is possible at beyond3d.com.

Quote:
Just an idea, no idea if it's practical/workable. But I'd say there must be a way, cos too many ps3 games supposedly do post fx on the cell and the only way to do post fx on rsx rendered graphics would be some way of dma'ing rsx mem to cell mem. (I think.)


It's hard for me to tell if they are actually post-fx. They could be pre-fx, as you can copy from XDR to GDDR3 memory, so you just need to have the GDDR3 merge the data into the graphics scene in a clever way. That shouldn't be too hard.
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Wed Jun 28, 2006 2:21 am    Post subject: Reply with quote

Quote:

It's hard for me to tell if they are actually post-fx. They could be pre-fx, as you can copy from XDR to GDDR3 memory, so you just need to have the GDDR3 merge the data into the graphics scene in a clever way. That shouldn't be too hard.


Well some of it could be pre-fx, but one example would be warhawk. The clouds are generated entirely on the cpu, so I gather the zbuffer has to be copied to the cpu some way. (Or some simple z-based shader that generates a low-res map that is sent back to main memory, sorta like you would for depth of field)
Then again they could just create a zbuffer for the clouds on the cpu and upload it as a texture.

So I'm pretty convinced it's possible. Also take fx like bloom, that would need rsx rendered framebuffer access to work and I'm pretty sure The GetAway uses that.

So hard to say either way really, but on paper at least it looks possible.
Back to top
View user's profile Send private message
cheriff
Regular


Joined: 23 Jun 2004
Posts: 262
Location: Sydney.au

PostPosted: Wed Jun 28, 2006 10:41 am    Post subject: Reply with quote

Doesn't the RSX support pixel shaders? I thought on modern pc cards post fx were done by loading up certain pixel shaders and 'rendering' with that. It already has full access to the framebuffer (since runs ON the gfx chip - no need to transfer back to cpu) and various parameters can be passed via textures on which the shader can do lookups.
_________________
Damn, I need a decent signature!
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Wed Jun 28, 2006 2:37 pm    Post subject: Reply with quote

Yes, standard practice on pcs is to do multi-pass postfx usually involving some shader language or other(I.e cg/glsl/hlsl) entirely on the gpu. (Some involve cpu assistece like creating and uploading a wave map texture for say a vertex shader) but there has been quite a bit of talk about post fx done on the Cell on ps3.
And if that is true, it invalidates the slashdot article completely. (Not that it has a slow read rate directly, that appears to be true, but that the ps3 is broken. My bet is the slashdot writer was just a bit too dense to understand you could circumvent the slow read speed by taking an alternate route from the rsx ram to cell ram)

My guess anyway.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group