Microprocessor Performance Factors 





Мы поможем в написании ваших работ!



ЗНАЕТЕ ЛИ ВЫ?

Microprocessor Performance Factors



 

A microprocessor’s performance is affected by several factors, including clock speed, word size, cache size, instruction set, and processing techniques.

The microprocessor clock is a timing device that sets the pace for executing instructions. The speed of a microprocessor is usually specified in megahertz (MHz) gigahertz. A cycle is the smallest unit of time in a microprocessor’s universe. Every action a processor performsis measured by these cycles. The clock speed is not equal to the number of instructions a processor can execute in one second. In many computers, some instructions occur within one cycle, but other instructions might requiremultiple cycles. Some processors can execute several instructions in a single clock cycle.

Word size refers to the number of bits that a microprocessor can manipulate at one time. Word size is based on the size of registers in the ALU and the capacity of circuits that lead to those registers. A processor with a 32-bit word size, for example, has 32-bit registers, processes 32 bits at a time, and is referred to as a “32-bit processor”. Processors with a larger word size can process more data during each processor cycle that leads to increased computer performance.

Cache or “RAM cache” or “cache memory” is special high-speed memory that allows a microprocessor to access data more rapidly than from memory located elsewhere on the system board. Cache capacity is usually measured in kilobytes.

As chip designers developed various instruction sets for microprocessors, they tendedto add increasingly complex instructions, each requiring several clock cycles for execution. A microprocessor with such an instruction set uses CISC (complex instruction set computer) technology. A microprocessor with a limited set of simple instructions uses RISC (reduced instruction set computer) technology. A RISC processor performs most instructions faster than a CISC processor.  It might, however, require more of these simple instructions to complete a task than a CISC processor requires for the same task. Most processors in today’s personal computer use CISC technology.

Some processors execute instruction “serially” – that is, one instruction at a time. With serial processing, the processor must complete all steps in the instruction cycle before it begins to execute the next instruction. However, using a technology called pipelining, a processor can begin executing an instruction before it completes the previous instruction. Many of today’s microprocessors also perform parallel processing, in which multiple instructions are executed at the same time. Pipelining and parallel processing enhance processorperformance.

Some computers have a single chip containingthe circuitry for two microprocessors. A dual core processor is faster than one with a single core.

Various testing laboratories run a series of tests to gauge the overall speed of a microprocessor. The results of these tests – called benchmarks – can then be comparedto the results for other microprocessors.

Random Access Memory

RAM (random access memory) is a temporary holding area for data, application program instructions, and the operating system. RAM is usually several chips or small circuit boards that plug into the system board within the computer’s system unit. RAM is the “waiting room” for the computer’s processor. It holds raw data waiting to be processed as well as the program instructions for processing that data.

RAM also holds the results of processing until they can be stored more permanently on disk or tape, it also holds data and application software instructions, operating system instructions that control the basic functions of a computer system. These instructions are loaded into RAM every time you start your computer, and they remain there until you turn off your computer.

People sometimes tend to confuse RAM and hard-disk storage, maybe because both components hold data, because they typically are “hidden” inside the system unit, or because they can both be measured in gigabytes. To differentiate between RAM and hard-disk storage, remember that RAM holdsdata in circuitry that’s directly connected to the system board, whereas hard-disk storage places data on magnetic media. RAM is temporary storage; hard-disk storage is more permanent. Besides, RAM usually has less storage capacity than hard-disk storage.

In RAM, microscopic electronic parts, called capacitors hold the bits that represent data. You can visualize the capacitors as microscopic lights that can be turned on and off. A charged capacitor is “turned on” and represents a”1” bit. A discharged capacitor is “turned off” and represents a “0” bit. Each bank of capacitors holds eight bits – one byte of data. A RAM address on each bank helps the computer locate data as needed, for processing.

Each RAM location has an address and uses eight capacitors to hold the eight bits that represent a byte. See Figure 1:

 

 

1 1

The two charged capacitors at the RAM address represent the letter “A”
1 1 A different sequence of charged capacitors represents the letter “B”
1 1 1 Another sequence of charged capacitors represents the letter “C”

 

Fig. 1: The way RAM represents different characters

 

In some respects, RAM is similar to a chalkboard. You can use a chalkboard to write mathematical formulas, erase them, and then write an outline for a report. RAM contents can be changed just by changing the charge of the capacitors.Unlike disk storage, most RAM is volatile, which means it requires electrical power to hold data. If the computer is turned off or the power goes out, all data stored in RAM instantly and permanently disappears.

Today’s personal computer operating systems are quite adept at allocation RAM space to multiple programs. If a program exceeds its allocated space, the operating system uses an area of the hard disk, called virtual memory, to store parts of programs or data files until they are needed. By selectively exchanging the data in RAM with the data in virtual memory, your computer effectively gains almost unlimited memory capacity.

RAM components vary in speed, technology, and configuration. RAM speed is often expressed in nanoseconds or megahertz. One nanosecond (ns) is 1 billionth of a second. RAM speed can also be expressed in MHz (millions of cycles per second). Most of today’s personal computers use SDRAM (synchronous dynamic RAM), fast and relatively inexpensive, it is typically available on a small circuit board called a DIMM (dual inline memory module) or RDRAM (Rambus dynamic RAM), first developed for a game system and then adapted for use in personal computers.

Read-Only Memory

ROM (read-only memory) is a type of memory circuitry that holds the computer’s startup routine. Whereas RAM is temporary and volatile, ROM is permanent and non-volatile. ROM circuitryholds “hard-wired” instructions that are a permanent part of the circuitry and remain in place even when the computer power is turned off.

When you turn on your computer, the microprocessor receives electrical power and is ready to begin executing instructions. As a result of the power being off, however, RAM is empty and doesn’t containany instructions for the microprocessor to execute. Now ROM plays its part. ROM containsa small set of instruction called the ROM BIOS (basic input/output system).These instructions tell the computer how to access the hard disk, find the operating system, and load it into RAM. After the operating system is loaded, the computer can understand your input, display output, run software, and access your data.

CMOS Memory

 

To operate correctly, a computer must have some basic information about storage, memory, and display configurations. The information is held in CMOS (pronounced “SEE moss”), a type of chip that requires very little power to holddata. It can be powered by a small battery that is integrated into the system board and automatically recharges while your computer power is on. The battery trickles power to the CMOS chip so that it can retain vital data about your computer system configuration even when your computer is turned off. When you change the configuration of your computer system, the data in CMOS must be updated.

The more data and programs that can fit into RAM, the less time your computer will spend moving data to and from virtual memory.

5.2 Выберите правильный вариант ответа

 

1. CMOS memory is a type of chip that requires very little power to … data.

a) affect     b) compare               c) hold            d) execute

2. As a result of the power being off RAM does not … any instructions for the microprocessor to execute.

a) contain     b) allocate               c) develop     d) provide

3. The ALU uses registers to hold data as the microprocessor …arithmetic and logical operations.

a) gains      b) compares                  c) performs     d) exchanges

4. When the microprocessor receives electrical power, it is ready to begin … instructions.

a) executing        b) exchanging     c) allocating        d) holding

5. Microprocessor instruction sets can be classified as … or … .

a) RAM or ROM b) CISC or RISC c) ROM BIOS d) CMOS memory

6. The instructions for loading the operating system into RAM when a computer is first turned on are stored in … memory.

a) RAM     b) CMOS            c) RISC d) ROM

7. A microprocessor (sometimes simplyreferred to as a “processor”) is an integrated circuit … to process instructions.

a) affected     b) performed       c) held       d) designed

5.3 Ответьте на вопросы

 

1. What exactly is a microprocessor? How does it work?

2. Where does the microprocessor get its instructions?

3. What impact does word size have on performance?

4. How does the cache size affect performance?

5. How does the instruction set affect performance?

6. What is the difference between serial processing and parallel processing?

7. How is it possible to compare microprocessor performance?

8. How does RAM differ from hard-disk storage?

9. If a computer has RAM, why does it need ROM?

10. Where does a computer store its basic hardware settings?

 





Последнее изменение этой страницы: 2019-11-02; просмотров: 59; Нарушение авторского права страницы; Мы поможем в написании вашей работы!

infopedia.su Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. Обратная связь - 23.20.20.52 (0.011 с.)