Explaining RAM - SDRAM, DDRx and GDDR

Any hardware related topics go here.
Post Reply
GDI_Lord
Forum Administrator
Posts: 2663
Joined: 05 Sep 2005, 02:00

Explaining RAM - SDRAM, DDRx and GDDR

Post by GDI_Lord »

An issue about DDR and GDDR arose in a thread recently ("Samsung announces DDR4 @ >3Gbps".) Here is a brief explanation that I hope will help everybody out.

If I have a 64-bit wide memory bus with 100MHz SDRAM I would get:
64bits x 100 = 6400 bits per second / 8 = 800 bytes/s x 1 million (100 MEGAHERTZ, remember?) = 800MB/s = 0.8GB/s

100MHz DDR:
64bits x 100 x 2 = 12800 bits per second / 8 = 1600 bytes/s x 1 million = 1 600MB/s = 1.6GB/s

100MHz DDR2:
64bits x 100 x 4 = 25600 bits per second / 8 = 3200 bytes/s x 1 million = 3 200MB/s = 3.2GB/s

100MHz DDR3:
64bits x 100 x 8 = 51200 bits per second / 8 = 6400 bytes/s x 1 million = 6 400MB/s = 6.4GB/s

100MHz DDR4:
64bits x 100 x 16 = 102400 bits per second / 8 = 12800 bytes/s x 1 million = 12 800MB/s = 12.8GB/s
Now I can't reconcile 12.8GB/s to the 2.13GT/s and 4.26 GT/s (assuming GT/s is giga transfers per second) so I'm not sure if the trend/tradition of doubling the throughput is going to continue or not.

100MHz *G*DDR5:
Based on Hynix's memory bandwidth of "20 GB/s on a 32-bit bus":
64bits x 625 x 8 = 320000 bits per second / 8 = 40000 bytes/s x 1 million = 40 000MB/s = 40.0GB/s
They're running a clock speed of 625MHz. Normalise that to 100MHz and it brings you back to DDR3 (because GDDR5 is based on DDR3 - I didn't know that!):
64bits x 100 x 8 = 51200 bits per second / 8 = 6400 bytes/s x 1 million = 6 400MB/s = 6.4GB/s
So then what differentiates GDDR from DDR? That fact that it's SGRAM: a specialised form of SDRAM.
Wikipedia wrote:Synchronous graphics RAM (SGRAM)
SGRAM is a specialized form of SDRAM for graphics adaptors. It adds functions such as bit masking (writing to a specified bit plane without affecting the others) and block write (filling a block of memory with a single colour). Unlike VRAM and WRAM, SGRAM is single-ported. However, it can open two memory pages at once, which simulates the dual-port nature of other video RAM technologies.
While checking myself and getting the Wikipedia links I found out that they are using *my* 100MHz example! Maybe I should issue a DCMA takedown notice to them... :-)

Regarding RAM speed vs Size:
Unless you have a very, very specific reason, rather go for more RAM than faster RAM. The same goes for filling up all the available memory slots on your motherboard, e.g. if your motherboard has two slots, buying 2x 4GB sticks of RAM filling up both slots. The difference in performance when running RAM in dual channel isn't that great unless one is using an APU.

My recommendation in the above example of 2x 4GB sticks of RAM in both available slots on the motherboard is to rather buy 1x 8GB stick and leave one slot open to help make upgrading cheaper in future as you will only need to buy 1x 8GB stick as you have one slot open instead of throwing out your 2x 4GB sticks and buying 2x 8GB sticks.

PLEASE NOTE/PET PEEVE:
It is *NOT* "duel" channel or "tripple" channel. It is DUAL channel or TRIPLE channel.

//TODO: Latency, HMB and GDDR5X. Full write-ups on dual channel and triple channel RAM.
Last edited by GDI_Lord on 06 Jan 2011, 08:38, edited 2 times in total.
Important Thread: Yours in Christ's service,
StarBound
Registered Pervert
Posts: 6879
Joined: 30 Jul 2004, 02:00
Processor: Intel i7 4790k
Motherboard: MSI Z97 Gaming 7
Graphics card: MSI GTX780Ti Gaming
Memory: G.Skill Sniper 1866mhz 16GB
Location: The Greater Unknown
Contact:

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by StarBound »

What about duel channel and tripple channel? Don't slack now GDI :P
My Steam Screenshots

I lived the dream ...then my PC died.
Slimshaedy
Registered User
Posts: 673
Joined: 11 Aug 2010, 15:32
Location: Durban, Pinetown
Contact:

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by Slimshaedy »

Hahaha there's so much you could go into regarding RAM. Like what I learnt I doubt I'll ever use in the real world so I concentrate on staying up to date rather than learning about sdram etc. But ddr4 sounds good! Technology is bursting out this year!
[i7 2600K @ 4.6 ghz 1.35V] [Asus P8P67 Deluxe] [G-Skill RipjawsX 2x2GB DDR3 1600 CL6 (6-8-6-24) 1.5V]
[Sapphire Radeon 6870 @ 975/1200 1.2V] [Coolermaster V6 GT] [WD Caviar Black 640GB SATA3 6Gbps]
[Samsung SA350 23" LED] [NZXT Phantom White] [Corsair TX750W V2] [Zalman RS6F-USB 5.1 Surround Sound Headphones] My rig and benchmarks
lancelot
Registered User
Posts: 7162
Joined: 13 May 2003, 02:00
Location: Cape Town

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by lancelot »

GDI, it is good to see you back and posting, I will sticky this thread. Are all your explanations for 64 bit, what about 32?
GDI_Lord
Forum Administrator
Posts: 2663
Joined: 05 Sep 2005, 02:00

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by GDI_Lord »

lancelot wrote:GDI, it is good to see you back and posting, I will sticky this thread. Are all your explanations for 64 bit, what about 32?
Hi Lance. Good to see you too, it's been a while :-) I've been around here...

Thanks for making the thread sticky. Right now the explanations are OS independent.
Important Thread: Yours in Christ's service,
Puento
Registered User
Posts: 430
Joined: 17 Jul 2009, 20:14

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by Puento »

my IT teacher will find this very interesting! Thanks a lot !
CPU: Intel Core i5 @ 2.66Ghz
MOBO: MSI P55-GD56
GPU: ATI Club3D HD5770 1G
SCREEN: Samsung SA350 24"
A_BULLET
Registered User
Posts: 64
Joined: 23 Sep 2010, 14:45

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by A_BULLET »

do you get that bandwidth with 1GB of RAM or for what amount are these numbers ?
Core i5 760
Palit NVIDIA GTX 470
Gigabyte GA-P55A-UD4
G.Skill 1600mHz DDR3 Ripjaws
Samsung 1TB
Coolermaster Elite 430
Coolermaster Hyper 212 Plus
Coolermaster Silent Pro 700w
Buffalo 3 TB USB 3.0 External
SykomantiS
Registered User
Posts: 14085
Joined: 06 Oct 2004, 02:00
Location: Location, Location...
Contact:

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by SykomantiS »

The amount of RAM is irrelevant, it comes down to the width of the memory bus, the speed and the data rate (double, quad, etc.)
Using GDI's example above of 100MHz DDR giving 1.6GB/s. Your throughput will be 1.6GB/s, irrelevant of how much ram you have, be it 128MB or 4GB.
StarBound
Registered Pervert
Posts: 6879
Joined: 30 Jul 2004, 02:00
Processor: Intel i7 4790k
Motherboard: MSI Z97 Gaming 7
Graphics card: MSI GTX780Ti Gaming
Memory: G.Skill Sniper 1866mhz 16GB
Location: The Greater Unknown
Contact:

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by StarBound »

Can someone link/explain the CAS latency multiplier in this thread? I've read it multiple times but keep forgetting the formula.
My Steam Screenshots

I lived the dream ...then my PC died.
StarBound
Registered Pervert
Posts: 6879
Joined: 30 Jul 2004, 02:00
Processor: Intel i7 4790k
Motherboard: MSI Z97 Gaming 7
Graphics card: MSI GTX780Ti Gaming
Memory: G.Skill Sniper 1866mhz 16GB
Location: The Greater Unknown
Contact:

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by StarBound »

So I found these:
http://www.hardwaresecrets.com/article/ ... mings/26/2

And then a forum which says this:
http://www.overclockers.com/forums/show ... p?t=718036

Time to do some calculations.
My Steam Screenshots

I lived the dream ...then my PC died.
GDI_Lord
Forum Administrator
Posts: 2663
Joined: 05 Sep 2005, 02:00

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by GDI_Lord »

Almost five years, wow. : -D I guess I had better update it with sections on latency and also HBM at some point.
Important Thread: Yours in Christ's service,
GDI_Lord
Forum Administrator
Posts: 2663
Joined: 05 Sep 2005, 02:00

Re: Explaining RAM - SDRAM, DDRx and GDDR

Post by GDI_Lord »

GDI_Lord wrote:Almost five years, wow. : -D I guess I had better update it with sections on latency and also HBM at some point.
And GDDR5X... : -)
Important Thread: Yours in Christ's service,
Post Reply