next up previous
Next: About this document

Memory

The memory in a computer is split between RAM and ROM.

Memory capacity (RAM) is the part of computer systems which tend to be outgrown the fastest, because standard memory sizes double every few years, and programs add features to fill the capacity.

Memory Addressing

Every word in the memory is defined by its location. To access a given word in memory, you must specify its address, which describes its location.

The address is given as a binary number. The maximum amount of memory which can possibly be accessed by a given CPU is limited by its word length, meaning the length of each number the computer works with.

Old 16-bit computers could access tex2html_wrap_inline128 kilobytes of memory. Current 32-bit computers can access tex2html_wrap_inline130 gigabytes of memory. This will soon start to be a bottleneck, so 64-bit processors are starting to hit the market.

In random-access memory (RAM) every location can be assessed equally fast. Note that this is different than data stored on a tape.

The Memory Hierarchy

There are several different types of `memory' in modern computer systems, which differ in speed and cost. These define a hierarchy from fastest to slowest:

Moore's law states that computer power doubles every 1.5 to 2 years, and has been amazingly accurate to date.

Buses

Buses are the paths along which data flows in a computer.

These paths consist of wires, but differ according to: (1) the type of connector, (2) the speed with which they move data around, and (3) the internal protocols which they use.

Every processor has an internal bus where data is moved from the memory to the CPU.

Every motherboard has a bus where expansion cards are connected to it.

Different types of buses use different types of connectors, i.e. plugs and sockets. Assembling a computer system from a shipping carton is hopefully just a process of plugging in matching connectors.

Knowing the difference between male and female connectors is important when ordering cables. Think about human anatomy!

Power Supplies

Power surges on electric lines can damage computer equipment.

Line filters are inexpensive devices which supposedly prevent voltage spikes from reaching your computer.

An uninteruptable power supply (UPS) is a line filter with a battery, so even if the power goes off briefly your machine will not crash.

Electronics will not work at high temperatures. Fans are used to keep computers cool. Don't block the fans or you are asking from trouble.




next up previous
Next: About this document

Steve Skiena
Wed Sep 25 13:45:27 EDT 1996