PSA: Formula to Calculate A64 RAM speed and guide to the A64 System Arcitecture

Leper Messiah

Banned
Dec 13, 2004
7,973
8
0
I've posted this a few times in response to various questions, so I thought I should make a dedicated thread about it, including the way I thought it up. As far as I can tell, its correct but post if I'm wrong with this.

To truly understand the formula of RAM speed for a A64, one must first understand how the A64 system arcitechure works. All data travels through the "Hyper Transport Tunnel", which is really fast, 800 or 1000MHz, and can carry 20GB/s data.

There are a lot of "clocks" in the A64 system, most of which operate independent of each other. There is the system clock, which is where the CPU gets its Speed from, where the AGP and PCI get theirpeed from in unlocked systems, and the Hyper Transport Tunnel gets its total speed from This is commonly called the HTT.

In most systems, however, the system clock only controlls the speed of the CPU and the Hyper Transport Tunnel, since the PCI/AGP and PCIe are all locked at their own optimal frequency.
Additional Comments by RichUK:
The PCI, AGP, System(FSB/HTT) BUS run on a 6:3:1 ratio from the system BUS clock crystal when running at 200Mhz which is standard for A64 systems. The system clock runs off of a clock crystal which controls the frequency of the electrical pulses across the system BUS, and every other BUS runs off of this main BUS for communication to the CPU and RAM.

JEDEC (Joint Electron Device Engineering Council) have set into play a nominal FSB/HTT frequency standard of 200Mhz (so the clock crystal for the system bus runs at 200Mhz). The PCI BUS was designed to run at 33Mhz and the AGP frequency was designed to work at 66Mhz.

The ratios (6:3:1) are as follows:

1:1 = System Clock/BUS = 200Mhz

1:3 = AGP Clock/BUS = 200Mhz ÷ 3 = 66.66? - 66Mhz

1:6 = PCI Clock/BUS = 200Mhz ÷ 6 = 33.33? - 33Mhz


System Clock = 200Mhz

AGP = 66Mhz

PCI = 33Mhz


When Overclocking you will find it is very beneficial to have a board with PCI/AGP locks as the only frequency you are really looking to increase is the CPU and Memory frequency. As i have previously stated the AGP/PCI Bus were designed to run at these frequencies, and clocked any higher you will find that you will get data corruption, on the PCI BUS the sound card is usually the first one to go (just doesn?t operate due to driver failure), and then the HDD's end up getting corrupt registries etc, note these run on the PCI bus as well.

You can Overclock a motherboard with unlocked PCI/AGP frequencies but it will not be able to scale as high as a board with locks as there are more variables for Overclock hold backs (Obviously due to the unlocked BUSes).


If you take for example a AMD Athlon 3200+ Winchester:

Multipliers and Dividers

System clock HTT = 200mhz (1:1) - 200Mhz (Ram running at PC3200 DDR400)
Processor = 200mhz x10 - 2000Mhz (or 2Ghz)
L2 Cache = 200mhz x10 - 2000Mhz (of course this is on die so it runs at the same clock as the processor)
AGP bus = 66mhz (1:3) - 66Mhz (always by default, also same clock as PCI-X for 64bit SCSI cards)
PCI Bus = 33Mhz (1:6) - 33Mhz (always by default)

AMD's have a Hyper transport Link or just abbreviated to HT Links, and this has a variable multiplier (LDT) by default of x5 for Socket 939 and x4 for Socket 754, and this is multiplied by the system clock which would be:

200Mhz x 5-LDT 1000Mhz HT 2000Mts (million transfers a second) for Socket 939

200Mhz x 4-LDT 800Mhz HT 1600(million transfers a second) for socket 754

AMD use marketing for the 2000Mts, which they claim because the HT is duplex meaning it can communicant back and forth on the HT Link at the same time thus doubling the data bandwidth (1000Mhz HT x 2), and as stated in the original Post 20GB\s is the theoretical 2000 million transfers a second that AMD claims its Socket 939 chips are capable of, of course none of the bandwidth gets fully used only about 50% at the very most.



The term FSB for A64's is a misnomer. RAM speed is linked to CPU speed. The computer derives CPU speed from the system clock and its internal multiplier, most commonly from 8 to 14x in current systems, though most BIOSes support up to 25x. RAM speed is derived by dividing CPU speed by the dividend of the CPU multiplier and the RAM divider.

Matmatically, this is shown by the function R= C/(M/[D]), where C is CPU speed, D is the RAM divider (normally either 1 or a fraction), M is CPU multiplier, and R is RAM speed.

For .5x multipliers, To get your RAM speed, you must round your CPU multiplier UP. AMD did this for stability reasons, as rounding down would have increased RAM speed, and therefore the chance for system instabilty.

Example: A clawhammer 3200+ runs stock 10x200. You overclock it to 10x240, but your ram can't run 240MHz, so you run it with a 166MHz, or .83 divider. 2400/(10/[.83]) gives you exactly 200MHz.

This formula, combined with the Hyper Transport Tunnel, also explains why A64's exhibit no performance degradtion when running ram dividers. To use my previous example, 240x10 with a 166MHz RAM divider looks exactly the same a 12x200 to the computer.

I hope this little guide helps anwswer some questions people have, because it doesn't explain just what, but why. Explaining why something happens helps people find their own answers, and come up with new ones.
 

Vegitto

Diamond Member
May 3, 2005
5,234
1
0
Hmm, nice. Thanks, might come in handy. Did you write this by yourself, or did you copy it? (No offence, though)
 

Leper Messiah

Banned
Dec 13, 2004
7,973
8
0
I actually wrote it myself. Its basically a culmination of a whole bunch of stuff I thought up replying to threads, so I thought I would put it in one place before I forgot it all.
 

RichUK

Lifer
Feb 14, 2005
10,341
678
126
Originally posted by: L3p3rM355i4h
I've posted this a few times in response to various questions, so I thought I should make a dedicated thread about it, including the way I thought it up. As far as I can tell, its correct but post if I'm wrong with this.

To truly understand the formula of RAM speed for a A64, one must first understand how the A64 system arcitechure works. All data travels through the "Hyper Transport Tunnel", which is really fast, 800 or 1000MHz, and can carry 20GB/s data.

There are a lot of "clocks" in the A64 system, most of which operate independent of each other. There is the system clock, which is where the CPU gets its Speed from, where the AGP and PCI get theirpeed from in unlocked systems, and the Hyper Transport Tunnel gets its total speed from This is commonly called the HTT.

In most systems, however, the system clock only controlls the speed of the CPU and the Hyper Transport Tunnel, since the PCI/AGP and PCIe are all locked at their own optimal frequency.


The term FSB for A64's is a misnomer. RAM speed is linked to CPU speed. The computer derives CPU speed from the system clock and its internal multiplier, most commonly from 8 to 14x in current systems, though most BIOSes support up to 25x. RAM speed is derived by dividing CPU speed by the dividend of the CPU multiplier and the RAM divider.

Matmatically, this is shown by the function R= C/(M/[D]), where C is CPU speed, D is the RAM divider (normally either 1 or a fraction), M is CPU multiplier, and R is RAM speed.

For .5x multipliers, To get your RAM speed, you must round your CPU multiplier UP. AMD did this for stability reasons, as rounding down would have increased RAM speed, and therefore the chance for system instabilty.

Example: A clawhammer 3200+ runs stock 10x200. You overclock it to 10x240, but your ram can't run 240MHz, so you run it with a 166MHz, or .83 divider. 2400/(10/[.83]) gives you exactly 200MHz.

This formula, combined with the Hyper Transport Tunnel, also explains why A64's exhibit no performance degradtion when running ram dividers. To use my previous example, 240x10 with a 166MHz RAM divider looks exactly the same a 12x200 to the computer.

I hope this little guide helps anwswer some questions people have, because it doesn't explain just what, but why. Explaining why something happens helps people find their own answers, and come up with new ones.




Just to elaborate a bit more on that


The PCI, AGP, System(FSB/HTT) BUS run on a 6:3:1 ratio from the system BUS clock crystal when running at 200Mhz which is standard for A64 systems. The system clock runs off of a clock crystal which controls the frequency of the electrical pulses across the system BUS, and every other BUS runs off of this main BUS for communication to the CPU and RAM.

Motherboards use a clock crystal that is made from quartz to generate the frequency, and now motherboards have now been accompanied by a silicon chip called a PLL.

PLL chips are high performance frequency multipliers that integrate Analogue Phase-Locked Loop (PLL) techniques. The devices use a standard fundamental mode, inexpensive crystal to produce output clocks up to 200MHz. Some motherboards have better quality PLL chips used and as such are able to produce higher clocks, for example some boards are able to reach a HTT of 300Mhz for the system bus (100Mhz Overclock), and some DFI boards can reach higher, but the limitation of the HTT is due to the quality of these products.

The PLL chip can be seen here next to the clock generator.


FSB - (Front Side Bus) still used on the Intel platform, and by the old AMD Athlon XP's and Durons etc, this arrangement still needs a South bridge as the memory controllers are on the Northbridge, ALL data communicates down the Front Side Bus, Intel have been able to use their "Quad Pumped" technology to reach 800FSB 200Mhz x 4 = 800FSB, and with their later Extreme Edition it had an FSB of 1066FSB.

HTT - (Hyper Transport Technology) AMD's new style of FSB that directly communicates with the memory controller and Hyper Transport Controller on the CPU die itself, because of this integration of the ?Memory Controller? AMD now have a dedicated BUS for the memory to communicate on, this now means it doesn?t have to fight for bandwidth against the other BUS's (AGP/PCI, SATA etc), and that is why AMD 64's are more hungry for lower latencies rather then more bandwidth. AMD still have an FSB for the communication from the chipset to the CPU but this is the Hyper Transport, and is used for the other BUS's to communicate on (AGP, PCI, PCI-e, SATA, IDE etc). Intel had quad pumped the FSB to eventually reach 800FSB but AMD have used their Hyper Transport and LDT multiplier to reach 800Mhz and 1000Mhz HT, which is the same thing as 800FSB and 1066FSB-(for the P4 Extreme Edition) except it did not have the memory communicating on the same BUS as well.


EDIT: Picture of AMD's HTT from the post by "BitByBit" :thumbsup:


JEDEC (Joint Electron Device Engineering Council) have set into play a nominal FSB/HTT frequency standard of 200Mhz (so the clock crystal for the system bus runs at 200Mhz). The PCI BUS was designed to run at 33Mhz and the AGP BUS was designed to work at 66Mhz.

The ratios (6:3:1) are as follows:

1:1 = System Clock/BUS = 200Mhz

3:1 = AGP Clock/BUS = 200Mhz ÷ 3 = 66.66? - 66Mhz

6:1 = PCI Clock/BUS = 200Mhz ÷ 6 = 33.33? - 33Mhz


System Clock = 200Mhz

AGP = 66Mhz

PCI = 33Mhz


When Overclocking you will find it is very beneficial to have a board with PCI/AGP locks as the only frequency you are really looking to increase is the CPU and Memory frequency. As i have previously stated the AGP/PCI Bus were designed to run only at these frequencies, and if clocked much higher you will find that you will get data corruption. On the PCI BUS the sound card is usually the first one to go (just doesn?t operate due to driver failure), and then the HDD's end up getting corrupt registries etc, note these run on the PCI bus as well.

You can Overclock a motherboard with unlocked PCI/AGP frequencies but it will not be able to scale as high as a board with locks, as there are more variables on stability issues etc (Obviously due to the unlocked AGP/PCI BUS).


If you take for example a AMD Athlon 3200+ Winchester:

Multipliers and Dividers

System clock HTT = 200mhz (1:1) - 200Mhz (Ram running at PC3200 DDR400)
Processor = 200mhz x10 - 2000Mhz (or 2Ghz)
L2 Cache = 200mhz x10 - 2000Mhz (of course this is on die so it runs at the same clock as the processor)
AGP bus = 66mhz (3:1) - 66Mhz (always by default, also same clock as PCI-X for 64bit SCSI cards)
PCI Bus = 33Mhz (6:1) - 33Mhz (always by default)

AMD's have a Hyper transport Link or just abbreviated to HT Links, and this has a variable multiplier (LDT) by default of x5 for Socket 939 and x4 for Socket 754, and this is multiplied by the system clock which would be:

200Mhz x 5-LDT 1000Mhz HT 2000Mts (million transfers a second) for Socket 939

200Mhz x 4-LDT 800Mhz HT 1600Mts (million transfers a second) for socket 754

AMD use marketing for the 2000Mts, which they claim because the HT is duplex meaning it can communicant back and forth on the HT Link at the same time thus doubling the data bandwidth (1000Mhz HT x 2), and as stated in the original Post 20GB\s is the theoretical 2000 million transfers a second that AMD claims its Socket 939 chips are capable of, of course none of the bandwidth gets fully used only about 50% at the very most.



Sorry i was bored


EDIT: Bit of info regards to Overclocking on Motherboards without PCI and AGP locks (this is not a guide)


If you look to Overclock a motherboard without PCI/AGP locks it is advisable that you overclock the FSB/HTT in increments of 6Mhz. This is because for every 6Mhz jump in frequency for the FSB/HTT, results in just a 1Mhz Overclock for the PCI BUS frequency and 2Mhz for the AGP BUS Frequency. Keep in mind that the PCI frequency is the most fragile BUS when it comes to Overclocking, this is because the Hard Drives run on the PCI Bus, and a highly Overclocked PCI bus will result in corrupt data over the FSB/HTT, which results in none boot of the OS, and major F-up's in the OS registry.

So if you were to raise the FSB/HTT to 224Mhz from the standard 200Mhz on a motherboard without PCI/AGP locks,

You would have the following BUS clock frequencies

System clock: 224Mhz ? 24Mhz increase

AGP: 74.66 ? 8Mhz increase

PCI: 37.33 ? 4Mhz increase

IIRC, the average stable Overclock for the PCI frequency is 37Mhz, and the average Overclock for the AGP frequency is 75Mhz, you must remember that there a lot of other variables that comes into stability when increasing these frequencies, so YMMV (Your Mileage May Vary).

PCI and AGP are now legacy BUS architectures but are still being used by a large number of people, the AGP slot is being fazed out by PCI-e 16x for the graphics card interface, but PCI still seems to be holding ground on the new motherboards, (this is because the manufacturers are still producing sound cads and network card on this interface). These buses were never designed for an increase in frequency, therefore having PCI, AGP and even PCI-e (which runs at 100Mhz) locks on a motherboard are a must when Overclocking. As having locks on these frequencies will mean that you can raise the system clock (FSB/HTT) in increments of 1Mhz which will allow for more precise Overclocks on the memory and CPU frequency.

Not that this really matters as most boards these days come with these frequencies locked ..

***Moral of the story: buy a board with these frequencies locked if you intend to Overclock ***


LOL .. i know how to talk on a bit dont i


RichUK

 

Unkno

Golden Member
Jun 16, 2005
1,659
0
0
yea....i think this would be perfect to go along with the overclocking guide (sticky this)
 

The Pentium Guy

Diamond Member
Jan 15, 2005
4,327
1
0
I've always wondered what LDT and HTT are though....I don't own an A64, but I've never really found out what those are.
 

Bona Fide

Banned
Jun 21, 2005
1,901
0
0
Originally posted by: The Pentium Guy
I've always wondered what LDT and HTT are though....I don't own an A64, but I've never really found out what those are.

As if your name wasn't enough of a giveaway

STICKY!!
 

The Pentium Guy

Diamond Member
Jan 15, 2005
4,327
1
0
Originally posted by: Bona Fide
Originally posted by: The Pentium Guy
I've always wondered what LDT and HTT are though....I don't own an A64, but I've never really found out what those are.

As if your name wasn't enough of a giveaway

STICKY!!
Haha . My next system's gonna be an M2 anyways .
 

Silversierra

Senior member
Jan 25, 2005
664
0
0
I fifth the sticky.

Good guide. I wondered what the 2000mt/s was, since it's 1000 in the bios. I guess it's kinda like ddr ram?
 

Avalon

Diamond Member
Jul 16, 2001
7,567
156
106
Let's go ahead and stick this, it has some good information in it.
 

BitByBit

Senior member
Jan 2, 2005
474
2
81
Originally posted by: L3p3rM355i4h
To truly understand the formula of RAM speed for a A64, one must first understand how the A64 system arcitechure works. All data travels through the "Hyper Transport Tunnel", which is really fast, 800 or 1000MHz, and can carry 20GB/s data.

Hypertransport connects the processor to system devices, such as the HDD and GPU.
There is no HTT link between the processor and memory, and the Athlon 64 uses a dedicated memory bus for that.
This article demonstrates this, and you can see on the diagram that Hypertransport and the memory interface are indeed separate.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |