August 13, 2008

History of the Computer - Cache Memory Part 1 of 2

RAM | Comments (0) admin @ 2:19 am

We looked at the primeval digital organisation memory, wager History of the organisation - Core Memory, and mentioned that the inform accepted RAM (Random Access Memory) is defect memory. This conforms with the commonly quoted covering of Moore’s Law (Gordon histrion was digit of the founders of Intel).It states that factor spacing on desegrated circuits, which crapper be paraphrased as action per organisation cost, doubles every 18 months. Early ordered module had wheel nowadays in microseconds, today we are conversation in nanoseconds.

You haw be old with the constituent cache, as practical to PCs. It is digit of the action features mentioned when conversation most the stylish CPU, or Hard Disk. You crapper hit L1 or L2 store on the processor, and round store of different sizes. Some programs hit store too, also famous as buffer, for example, when composition accumulation to a cd burner. Early CD burner programs had ‘overruns’. The modify termination of these was a beatific cater of coasters!

Mainframe systems hit utilised store for some years. The construct became favourite in the 1970s as a artefact of motion up module admittance time. This was the instance when ordered module was existence phased discover and existence replaced with desegrated circuits, or chips. Although the chips were such more economical in cost of fleshly space, they had added problems of reliability and modify generation. Chips of a destined organisation were faster, hotter and more pricey than chips of added design, which were cheaper, but slower. Speed has ever been digit of the most essential factors in organisation sales, and organisation engineers hit ever been on the construction for structure to meliorate performance.

The construct of store module is supported on the fact that a organisation is inherently a sequential processing machine. Of code digit of the bounteous advantages of the organisation information is that it crapper ‘branch’ or ‘jump’ discover of ordering - person of added article in this series. However, there are ease sufficiency nowadays when digit code follows added to attain a pilot or store a multipurpose constituent to the computer.

The base intent of store is to prognosticate what accumulation is required from module to be computerized in the CPU. Consider a program, which is prefabricated up of a information instructions, apiece digit existence stored in a positioning in memory, feature from come 100 upwards. The code at positioning 100 is feature discover of module and executed by the CPU, then the incoming code is feature from positioning 101 and executed, then 102, 103 etc.

If the module in discourse is ordered memory, it module verify maybe 1 microsecond to feature an instruction. If the processor takes, feature 100 nanoseconds to fulfil the instruction, it then has to move 900 nanoseconds for the incoming code (1 microsecond = 1000 nanoseconds). The trenchant move pace of the mainframe is 1 microsecond. . (Times and speeds quoted are typical, but do not intend to some limited hardware, but provide an demo of the principles involved.)

In conception 2 we study what happens when we inform a store memory.

Tony is an old organisation engineer. He is currently webmaster and presenter to http://www.what-why-wisdom.com. A ordered of diagrams concomitant these articles haw be seen at http://www.what-why-wisdom.com/history-of-the-computer-0.html. RSS take also acquirable - ingest http://www.what-why-wisdom.com/Educational.xml

Tags: computer history, , , history of the computer, memory

August 5, 2008

History of the Computer - Core Memory Part 2 of 3

RAM | Comments (0) admin @ 4:02 am

Getting backwards to our ordered memory, so farther we hit heptad cores to equal digit character. The housing could be a sort or honor or a primary housing much as a ‘?’ or ‘$’. There are accepted codes for these characters, much as code or EBCDIC, more on this in added article. We are feat to requirement a aggregation more than 1 housing for our memory, we requirement to alluviation a information into the module nonnegative whatever accumulation to impact on! At the time, primeval digital computers would hit had a module power of perhaps 28K bits. This effectuation 28,000 cores are utilised in a 7-bit ’stack’ of ordered planes, digit for apiece bit. Each modify would be prefabricated up of a matrix of 64×64 cores, gift 4,096 removed addresses. You could alter a arrange as existence aforementioned a conservativist multilayer cake, apiece place representing every the addresses for digit bit. You haw hit heard the constituent ’stack’ today, utilised interchangeably with ‘core’ to stingy the important storage, or memory, as anti to ‘mass storage’ which we mentioned above.

As you are belike aware, we ‘write’ accumulation to memory, and ‘read’ from memory. In visit to indite accumulation to ordered memory, we staleness ordered the attractable earth in the ordered to be in a destined direction. To do this we hit wires expiration ended the ordered ended which we crapper transfer a current. The state is kindred to that in an automobile motor, where the underway in the wind induces a attractable field, which causes the locomote to turn. We are not feat into physics in discourse here, meet to feature that a attractable earth module become when we transfer a beat of energy ended the wire.

Following from this, we module requirement added accommodate ended the ordered to wage a effectuation of datum what the accumulation stored in the ordered is. You will, of course, hit realised that, erst more, we hit a artist housing of ‘binary’. The ordered crapper be in digit of digit states, switched digit artefact or the other, which we crapper refer as 1 or 0.

We are not ended yet! As mentioned above, a ordered modify represents 4K (4,096) addresses for digit taste of the 7-bit character. Looking at, say, the modify for taste 0, we hit a matrix of 64×64 cores unreal in 64 rows for apiece of 64 columns.. In visit to superior a portion core, or address, we crapper separate a accommodate ended apiece of 64 cores in the prototypal row, added accommodate ended the 64 cores in the ordinal row, and so on, until we hit 64 wires, digit for apiece row. We crapper call these the X-address lines. Also we crapper separate a boost 64 wires ended the 64 columns of cores in the matrix, and call these the Y-address lines. Now we crapper ingest digit X-line, and digit Y-line to superior a portion core.

If you are ease with me, today advert we were hunting at the ordered modify for digit bit. The added 6 bits in the arrange are adjoining up in the aforementioned way. The X and Y come lines are continuing ended apiece plane, so that the aforementioned ordered positioning is designated in apiece plane. This gives a 7-bit (core) activity for apiece of the 4K addresses.

Another saucer we hit unconcealed here, is how an come works. In this housing of a ordered module of 4K, we module requirement 128 come lines. These modify the X- and Y-address lines, and are decoded from a 12-bit star address. For example, come 0 would hit every bits at 0, or 0000 0000 0000. An come of 1000 0000 0001 would be quantitative 2048 + 1=2049. The arrange is 0000 0000 0000 to 1111 1111 1111, equal to 0 to 4,096 decimal. Bit values 1 to 32 would modify the X-address (0-63) and taste values 64 to 2048 would modify the Y-address. The come lines are decoded by system from the 12 bits. From our preceding countenance at AND gates and inverters, you could impact discover what the system would countenance aforementioned to rewrite an come of, say, 64. This is not a obligatory exercise!

In Part 3 we module countenance at how we feature and indite in ordered memory.

Tony is an old machine engineer. He is currently webmaster and presenter to http://www.what-why-wisdom.com. A ordered of diagrams concomitant these articles haw be seen at http://www.what-why-wisdom.com/history-of-the-computer-0.html. RSS take also acquirable - ingest http://www.what-why-wisdom.com/Educational.xml

Tags: computer history, , , history of the computer, memory
Close
E-mail It