SlideShare a Scribd company logo
1 of 39
CS Topic 2 - Computer Structure v2 1
Here is a diagrammatic representation of a computer
system. Note the direction of data flow between the
different parts of the system.
Input Output
Backing
Storage
Main Memory
RAM & ROM
Processor
CS Topic 2 - Computer Structure v2 2
There are three sets of electrical lines which connect all the
parts.
The parts which go together to make up the computer system
need to be able to communicate with one another.
These sets of lines are called buses.
CS Topic 2 - Computer Structure v2 3
The Processor "sees" all the other parts of the computer,
(ROM & RAM, Backing storage, Input and Output devices)
as one continuous block of locations each with its own
unique address.
Addressability
Each location has a different binary number which identifies it.
This is its address.
Giving every part of the computer a unique address allows
the processor to communicate easily with any other part of
the computer system and is known as addressability.
CS Topic 2 - Computer Structure v2 4
The three buses which carry signals around the computer
system each have their own particular function.
1. Address Bus
This is used by the Processor to indicate which location has
to be accessed.
It is a one-way bus from the processor as the processor
dictates all movement of signals.
The number of lines on the address bus determines the
maximum amount of memory locations which can be accessed.
CS Topic 2 - Computer Structure v2 5
A 2 line address bus would allow addresses.
2 lines
00
01
10
11
because 22
= 4.
because 23
= 8.
X lines on the address bus allows addresses.
A 24 line address bus allows
224
= 16Mb of addresses.
A 32 line address bus allows
232
= 4Gb of addresses.
4
A 3 line address bus would allow addresses.8
3 lines
000
001
010
011
100
101
110
111
2x
Address bus width and addressable memory
CS Topic 2 - Computer Structure v2 6
the size of each memory location.
Calculating maximum memory size
To calculate maximum memory size we need to consider two
elements:
the number of memory locations.(addresses)
The following are assumed in the Higher course.
The size of each memory location
= data bus width
= memory word size.
CS Topic 2 - Computer Structure v2 7
Consider the following example:
Calculate the maximum memory size of a computer with a
24 bit address bus and a memory word size of 16 bits.
A 24 bit address bus allows 224
addresses = 16 MB of addresses.
Each address contains 16 bits = 2 bytes
Maximum memory size =16 MB x 2 bytes = 32 MB
CS Topic 2 - Computer Structure v2 8
2. Data bus
This is the bus which is used to transfer the actual
data to and from the locations.
It is a two-way bus as data may be going to the processor
(Read) or coming from the processor(Write).
CS Topic 2 - Computer Structure v2 9
Control bus
With both the data and the address buses, each of the lines
operate together, in parallel, at the same time, as a unit.
e.g. It would not make sense to look at one of the lines on
the address bus.
You have to look at them all to see the full address.
The Control bus is a collective name for a number of discrete
lines each of which has a different function and operates at
different times.
They are best viewed as a number of individual lines.
CS Topic 2 - Computer Structure v2 10
3.Clock line
This line sends a regular series of pulses at a speed
measured in
We’ll start with three of the lines on the control bus:
1. Read line
The processor activates this line to show that it wants to be
sent (read) data from another part of the computer system.
2. Write line
The processor activates this line to show that it wants to
send (write) data to another part of the computer system.
Hertz(Hz).
Every event in the computer is timed to take place at
particular points within the on/off cycle of each pulse.
It controls the speed and timing of all operations in the computer.
CS Topic 2 - Computer Structure v2 11
Other lines on the control bus include:
4. Reset line
This line resets (clears the contents of all) the registers
inside the processor. This prepares it for carrying out a
new task.
5. Interrupt line
Devices send a signal in on this line to interrupt the
processor when they need attention.
e.g. the printer may be out of paper.
CS Topic 2 - Computer Structure v2 12
The two most basic operations which the processor carries
out are and
The processor works on data which is stored in main memory.
It therefore spends a lot of time transferring data to and from
the main memory.
memory read memory write.
The processor uses the three buses to communicate
with the main memory.
CS Topic 2 - Computer Structure v2 13
Memory Read
1. Processor copies the required address onto the address bus.
2. Processor activates the read line on the control bus.
3. Memory controller copies the data from the required address
onto the data bus and the data is transferred from the main
memory to the processor.
Memory Write
1. Processor copies the required address onto the address bus.
3. Processor activates the write line on the control bus.
4. Memory controller copies the data from the data bus and
puts it into the required memory location.
2. Processor copies the data onto the data bus.
CS Topic 2 - Computer Structure v2 14
The following components are generally found inside a
Processor.
Register
Arithmetic &
Logic unit. (ALU)
Control
Unit. (CU)
Register
Register
Register
The three buses(although not shown here) continue inside
the processor to allow the components to communicate.
CS Topic 2 - Computer Structure v2 15
1. Registers
A register is a storage location located inside
the processor. A modern processor has many
registers.
Registers are used to hold :
● data which is being processed
● instructions which are being executed
● addresses which are about to be accessed.
Register
Register
Register
Register
CS Topic 2 - Computer Structure v2 16
2. Control Unit (CU) Control
Unit. (CU)
The Control Unit (CU) is responsible for
● sending out the pulses on the control bus clock line to
synchronise the timing of events and direct the fetching
and executing of instructions.
● decoding the instructions when they arrive from the RAM
and executing them. (i.e. carrying them out)
CS Topic 2 - Computer Structure v2 17
3. Arithmetic & Logic Unit (ALU)
Arithmetic &
Logic unit. (ALU)
The Arithmetic & Logic Unit is responsible for:
● carrying out the calculations on data being processed by
a program.
● carrying out the logical decision making on data being
processed by a program. This uses operators such as
AND, OR, NOT.
CS Topic 2 - Computer Structure v2 18
The sets of instructions are called and the
processor spends its time fetching and executing
instructions one at a time.
Any problem can be solved by defining a sequence of
instructions which are input and stored in
A unit, called the , then fetches each instruction
in turn and executes it.
RAM.
Processor
programs
This is known as the fetch-execute cycle.
CS Topic 2 - Computer Structure v2 19
The steps in the fetch part of the cycle are always the same.
1. The processor sets up the with the
address of the next instruction to be fetched.
2. The processor sends a on the control bus.
3. The instruction is then copied onto the from
the correct memory location to a register in the CPU.
4. The CU(Control unit) the instruction and begins
to it.
address bus
read signal
The steps in the execute part of the cycle depend on the
instruction to be executed.
data bus
decodes
execute
CS Topic 2 - Computer Structure v2 20
A computer has to store data and instructions. It uses
uses various types of memory to do this.
Registers
Cache memory
Main memory
Backing storage
Speed of access
fastest
slowest
CS Topic 2 - Computer Structure v2 21
Registers1.Registers
The registers are storage locations located
inside the processor.
Registers are used to hold :
● data which is being processed
● instructions which are being executed
● addresses which are about to be accessed.
They allow the fastest access times as they
are physically on the same chip as the
processor.
Cache memory
Main memory
Backing storage
CS Topic 2 - Computer Structure v2 22
Registers
Cache memory
Main memory
Backing storage
2.Cache memory
Cache memory is the second fastest type
of memory.
It is small amount of a fast type of Ram called
static RAM(SRAM) which is used to store
frequently accessed data and instructions.
The processor looks here for data before going out to the
main memory. If the data is here then it can be very
quickly accessed.
Modern computers will have around 1 or 2 Mb
of cache memory.
CS Topic 2 - Computer Structure v2 23
Registers
Cache memory
Main memory
Backing storage
3. Main memory
Main memory is the third fastest type of
memory.
It is made of a large amount of a type of Ram
called dynamic RAM(DRAM) which is used to
store programs and data. It also contains a
small of amount of ROM for operating system
use.
If the data or instructions cannot be found in the
cache then the processor will access it from the
main memory.
Modern computers will have between 1 GB
and 4GB of main memory.
CS Topic 2 - Computer Structure v2 24
Registers
Cache memory
Main memory
Backing storage
4. Backing Storage
Backing storage is the slowest type of
memory. It is needed because it keeps its
contents even when the power is switched
off unlike the types of memory listed so far.
There are many types of backing storage including Hard
disk, DVD, CD,Floppy disk, magnetic tape, and solid state
devices such as flash cards/memory sticks.
Backing stores also tend to have a larger capacity than
the faster types of memory. i.e. they can store more.
The speed of access varies according to the backing store
used.
(except for ROM)
CS Topic 2 - Computer Structure v2 25
How can you compare the performance of two computers?
There are many ways to do this and some are better than others.
We will be looking at four methods used for comparison:
1. Clock speed
3. FLOPS
4. Application based tests
2. MIPS
CS Topic 2 - Computer Structure v2 26
1. Clock speed
3. FLOPS
4. Application based
tests
2. MIPS
The clock speed is often given as a
measure of computer performance but it
really only measures processor speed.
It seems reasonable to assume that a Pentium IV 3.6 Ghz
is faster than a Pentium IV 2.8 GHz. These processors
are both made by Intel, have the same instruction set and
basically work in the same way.
When comparing different makes and types of processor,
however, the one with the faster clock speed may not be
“better”. The slower processor may work more efficiently.
Comparing clock speeds alone is a poor measure of performance.
CS Topic 2 - Computer Structure v2 27
1. Clock speed
3. FLOPS
4. Application based
tests
2. MIPS
Why can’t we just keep increasing the
clock speed?
•The processor can overheat and this will cause damage.
• The other components may not be able to keep up with
the processor and so “bottlenecks occur”.
CS Topic 2 - Computer Structure v2 28
1. Clock speed
3. FLOPS
4. Application based
tests
2. MIPS
MIPS measures how many instructions the processor
executes per second.
(millions of instructions per second)
This seems like a good idea but different processors have
different instruction sets and so they are difficult to compare.
A manufacturer may choose a program with simple, fast
instructions in it to make their processor look good.
It doesn’t take into account the size and complexity of
the instructions chosen for the tests.
CS Topic 2 - Computer Structure v2 29
1. Clock speed
3. FLOPS
4. Application based
tests
2. MIPS
(floating point operations per second)
This measure involves getting the processor to carry out
floating point operations.(calculations on real numbers) and
measures how many it can do each second.
Floating point operations are carried out in the same way
by most processors so this is a better method than clock
speed or MIPS.
FLOPS only measures calculating speed and does not
consider the type of applications that a user
may want to run on the computer.
(programs)
CS Topic 2 - Computer Structure v2 30
1. Clock speed
3. FLOPS
4. Application based
tests
2. MIPS
The tasks include loading large files, editing graphics, carrying
out calculations etc. These are called benchmark tests and
they show how well each processor can carry out specific
tasks. (See handout)
The best measure of performance involves running a set of tests
using typical examples of commonly used applications.
Computers are given a score for each test depending on how
well they perform and so overall scores can be compared.
This is a very realistic way of measuring performance.
CS Topic 2 - Computer Structure v2 31
The type of processor used plays a large part in determining
system performance. However, other parts of the computer
also have an effect on how well the computer performs.
We will be looking at three factors which have an effect:
1. Data bus width
3. Data transfer rate to/from
peripherals.
2. Cache memory
CS Topic 2 - Computer Structure v2 32
1. Data bus width
3. Data transfer rate
to/from peripherals
2. Cache memory
Data and instructions are transferred using the data bus.
A 64 bit data bus can carry twice as much data at a
time as a 32 bit data bus.
A wider data bus means that more data can be
transferred at a time and this therefore improves system
performance.
This assumes that the other components e.g. registers
can cope with the larger amounts of data.
Also less fetches from RAM are required which also
improves system performance.
CS Topic 2 - Computer Structure v2 33
1. Data bus width
3. Data transfer rate
to/from peripherals
2. Cache memory
As you have already seen, cache memory is a small fast
type of RAM which sits between the Processor and the
main memory(RAM).
Level 1 Cache is the fastest type of cache as it is
physically on the same chip as the processor.
Level 2 Cache is on a separate chip and so it is slower to
access than Level 1. Both types are much faster than
main memory RAM.
Increasing the amount of cache memory improves the
system performance.
CS Topic 2 - Computer Structure v2 34
1. Data bus width
3. Data transfer rate
to/from peripherals
2. Cache memory
A peripheral is any device that is not part of the essential
computer. (the processor, memory, and bus paths).
Some peripherals are mounted in the same case with the
main part of the computer, e.g.
Other peripherals are outside the computer case, e.g.
the hard disk drive, DVD drive, and network interface card (NIC)
the printer, mouse, keyboard,scanner, attached by a wired or
wireless connection
CS Topic 2 - Computer Structure v2 35
1. Data bus width
3. Data transfer rate
to/from peripherals
2. Cache memory
Peripheral devices transfer at different speeds and so these
can have an effect on system performance too.
The processor communicates with peripheral devices. e.g.
loading a file from a hard disk, scanning an image etc.
Using peripherals with fast data transfer rates will improve
system performance.
A hard disk drive spinning at 10000 rpm
generally performs better than a 7200 rpm drive.
http://www.pcguide.com/ref/hdd/index.htm
(revolutions per minute)
Peripheral
device interfaces also transfer at different speeds.
CS Topic 2 - Computer Structure v2 36
Computer technology is constantly improving with new ideas
and techniques to improve performance.
The following three trends have been seen for many years:
1. Increasing clock speeds
3. Increasing backing storage
capacity.
2. Increasing main memory
CS Topic 2 - Computer Structure v2 37
1. Increasing clock speeds
3. Increasing backing storage
capacity.
2. Increasing main memory
Clock speeds have increased rapidly over the years and are
now measured in .
A new desktop or laptop computer will have a processor with
a clock speed of around
AMD processors tend to have slower clock speeds than
Intel processors but AMD argue that their processors are
more efficient.
Have a look at the websites for current figures and
products. www.intel.co.uk www.amd.com
Over the last year both
and
have announced that they will concentrate on other
ways to improve system performance.
Gigahertz
2.8 to 3.4 GHz.
Intel
AMD
CS Topic 2 - Computer Structure v2 38
1. Increasing clock speeds
3. Increasing backing storage
capacity.
2. Increasing main memory
The technology for making Main memory (RAM) continues
to improve and capacity has increased while costs continue
to fall.
A new desktop or laptop computer will have between
and of RAM fitted as standard.
Increasing the amount of main memory(RAM) is a very
effective way of improving system performance.
If a computer does not have enough RAM then it has to
make use of the Hard disk drive for temporary storage too.
1GB
4GB
This is called and is much slower to access
than RAM.
virtual memory
CS Topic 2 - Computer Structure v2 39
1. Increasing clock speeds
3. Increasing backing storage
capacity.
2. Increasing main memory
The technology for making Backing storage also continues to
improve and capacity has increased while costs continue to fall.
A new desktop computer will have a Hard disk drive of
anywhere between and fitted as standard.250 GB 1 TB
Laptop computers tend to have smaller Hard disk drives with
capacities from to150 GB 500 GB .
DVDs and solid state storage devices such as flash cards,
memory sticks and memory cards also continue to increase
in capacity while decreasing in price.

More Related Content

What's hot

Memory organization
Memory organizationMemory organization
Memory organizationishapadhy
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)Sandesh Jonchhe
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
Memory organization
Memory organizationMemory organization
Memory organizationDhaval Bagal
 
Applications of computer organization
Applications of computer organizationApplications of computer organization
Applications of computer organizationSudha Manjunath
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organizationvishal choudhary
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 
Computer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and OrganizationComputer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and OrganizationSmit Luvani
 
Memory map
Memory mapMemory map
Memory mapaviban
 
02 the cpu
02 the cpu02 the cpu
02 the cpuJim Finn
 

What's hot (19)

Memory organization
Memory organizationMemory organization
Memory organization
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
Memory (Part 3)
Memory (Part 3)Memory (Part 3)
Memory (Part 3)
 
Module4
Module4Module4
Module4
 
Memory Mapping Cache
Memory Mapping CacheMemory Mapping Cache
Memory Mapping Cache
 
Unit 5-lecture-2
Unit 5-lecture-2Unit 5-lecture-2
Unit 5-lecture-2
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Applications of computer organization
Applications of computer organizationApplications of computer organization
Applications of computer organization
 
Computer Evolution
Computer EvolutionComputer Evolution
Computer Evolution
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organization
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Ec305.13 buses mgl
Ec305.13 buses mglEc305.13 buses mgl
Ec305.13 buses mgl
 
Computer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and OrganizationComputer Architecture | Computer Fundamental and Organization
Computer Architecture | Computer Fundamental and Organization
 
Memory map
Memory mapMemory map
Memory map
 
Unit 2
Unit 2Unit 2
Unit 2
 
Computer system bus
Computer system busComputer system bus
Computer system bus
 
02 the cpu
02 the cpu02 the cpu
02 the cpu
 

Viewers also liked

Signal and Systems-Lowpass filter by Jawad Ahmed
Signal and Systems-Lowpass filter by Jawad AhmedSignal and Systems-Lowpass filter by Jawad Ahmed
Signal and Systems-Lowpass filter by Jawad AhmedJawad Ahmed
 
Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesUpendra Pratap Singh
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domainAshish Kumar
 
Blue Eyes Technology
Blue Eyes TechnologyBlue Eyes Technology
Blue Eyes TechnologyColloquium
 
Blue eyes technology
Blue eyes technologyBlue eyes technology
Blue eyes technologyCK Vashisth
 
Blue eyes technology
Blue eyes technologyBlue eyes technology
Blue eyes technologyYusuf Shaik
 
Blue eye technology
Blue eye technologyBlue eye technology
Blue eye technologyDivya Mohan
 
Blue Eyes ppt
Blue Eyes pptBlue Eyes ppt
Blue Eyes pptdeepu427
 
Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics123seminarsonly
 
Best topics for seminar
Best topics for seminarBest topics for seminar
Best topics for seminarshilpi nagpal
 
1on1 HRC Company Profile 3
1on1 HRC Company Profile 31on1 HRC Company Profile 3
1on1 HRC Company Profile 3Asha Anderson
 
F block Utopia (002)
F block Utopia (002)F block Utopia (002)
F block Utopia (002)donamore1
 
Науково практична конференція
Науково практична конференціяНауково практична конференція
Науково практична конференціяВалерій Метенчук
 

Viewers also liked (20)

Signal and Systems-Lowpass filter by Jawad Ahmed
Signal and Systems-Lowpass filter by Jawad AhmedSignal and Systems-Lowpass filter by Jawad Ahmed
Signal and Systems-Lowpass filter by Jawad Ahmed
 
Green computing
Green computingGreen computing
Green computing
 
GOOGLE GLASS
GOOGLE GLASSGOOGLE GLASS
GOOGLE GLASS
 
Seminar on MATLAB
Seminar on MATLABSeminar on MATLAB
Seminar on MATLAB
 
Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital Images
 
Enhancement in frequency domain
Enhancement in frequency domainEnhancement in frequency domain
Enhancement in frequency domain
 
Blue Eyes Technology
Blue Eyes TechnologyBlue Eyes Technology
Blue Eyes Technology
 
Blue eye technology
Blue eye technologyBlue eye technology
Blue eye technology
 
Blue eyes technology
Blue eyes technologyBlue eyes technology
Blue eyes technology
 
Blue eyes technology
Blue eyes technologyBlue eyes technology
Blue eyes technology
 
Blue eye technology
Blue eye technologyBlue eye technology
Blue eye technology
 
Blue Eyes ppt
Blue Eyes pptBlue Eyes ppt
Blue Eyes ppt
 
Computer science seminar topics
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics
 
Paper battery
Paper batteryPaper battery
Paper battery
 
Best topics for seminar
Best topics for seminarBest topics for seminar
Best topics for seminar
 
Matchday Hospitality
Matchday HospitalityMatchday Hospitality
Matchday Hospitality
 
1on1 HRC Company Profile 3
1on1 HRC Company Profile 31on1 HRC Company Profile 3
1on1 HRC Company Profile 3
 
F block Utopia (002)
F block Utopia (002)F block Utopia (002)
F block Utopia (002)
 
Sistema de información (si)
Sistema de información (si)Sistema de información (si)
Sistema de información (si)
 
Науково практична конференція
Науково практична конференціяНауково практична конференція
Науково практична конференція
 

Similar to Computer structurepowerpoint

Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2Kyle
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science educationInnocent Tauzeni
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesGauravDaware2
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdfODINARARCH
 
Data Manipulation
Data ManipulationData Manipulation
Data ManipulationAsfi Bhai
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxPannaBushratul
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slidesiarthur
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1abinrj123
 
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdfPlease send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdfebrahimbadushata00
 

Similar to Computer structurepowerpoint (20)

Hcs Topic 2 Computer Structure V2
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Computer architecture
Computer architecture Computer architecture
Computer architecture
 
Bc0040
Bc0040Bc0040
Bc0040
 
memeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memoriesmemeoryorganization PPT for organization of memories
memeoryorganization PPT for organization of memories
 
Components of the System Unit.pdf
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdf
 
Data Manipulation
Data ManipulationData Manipulation
Data Manipulation
 
Unit I.pptx
Unit I.pptxUnit I.pptx
Unit I.pptx
 
Processing Data
Processing DataProcessing Data
Processing Data
 
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptxCOMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
COMPUTER BASIC AND FUNDAMENTAL AND ITS ORGANISATION.pptx
 
Processing Devices
Processing DevicesProcessing Devices
Processing Devices
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slides
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Register & Memory
Register & MemoryRegister & Memory
Register & Memory
 
Computer.pptx
Computer.pptxComputer.pptx
Computer.pptx
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1
 
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdfPlease send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
Please send the answers to my email. Mirre06@hotmail.comSomeone se.pdf
 
Control unit
Control  unitControl  unit
Control unit
 
System Unit
System UnitSystem Unit
System Unit
 
Chapter 1.pdf
Chapter 1.pdfChapter 1.pdf
Chapter 1.pdf
 

Recently uploaded

定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一ss ss
 
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degreeyuu sss
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程1k98h0e1
 
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best ServicesVip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Servicesnajka9823
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)861c7ca49a02
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一ga6c6bdl
 
Gaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service GayaGaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service Gayasrsj9000
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...srsj9000
 
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一ss ss
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一C SSS
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...nagunakhan
 
vip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Book
vip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Bookvip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Book
vip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Bookmanojkuma9823
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberMs Riya
 
如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一
如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一
如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一ga6c6bdl
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...ur8mqw8e
 
Vip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts ServiceVip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts Serviceankitnayak356677
 
(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一
(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一
(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一Fi sss
 
定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一
定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一
定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一ss ss
 

Recently uploaded (20)

定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
定制(Salford学位证)索尔福德大学毕业证成绩单原版一比一
 
young call girls in Gtb Nagar,🔝 9953056974 🔝 escort Service
young call girls in Gtb Nagar,🔝 9953056974 🔝 escort Serviceyoung call girls in Gtb Nagar,🔝 9953056974 🔝 escort Service
young call girls in Gtb Nagar,🔝 9953056974 🔝 escort Service
 
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程
 
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best ServicesVip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单留信学历认证原版一比一
 
Gaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service GayaGaya Call Girls #9907093804 Contact Number Escorts Service Gaya
Gaya Call Girls #9907093804 Contact Number Escorts Service Gaya
 
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
Hifi Defence Colony Call Girls Service WhatsApp -> 9999965857 Available 24x7 ...
 
young call girls in Khanpur,🔝 9953056974 🔝 escort Service
young call girls in  Khanpur,🔝 9953056974 🔝 escort Serviceyoung call girls in  Khanpur,🔝 9953056974 🔝 escort Service
young call girls in Khanpur,🔝 9953056974 🔝 escort Service
 
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
定制(UI学位证)爱达荷大学毕业证成绩单原版一比一
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一
 
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
Slim Call Girls Service Badshah Nagar * 9548273370 Naughty Call Girls Service...
 
vip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Book
vip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Bookvip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Book
vip Krishna Nagar Call Girls 9999965857 Call or WhatsApp Now Book
 
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up NumberCall Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
Call Girls Delhi {Rs-10000 Laxmi Nagar] 9711199012 Whats Up Number
 
如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一
如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一
如何办理伦敦大学伯贝克学院毕业证(BBK毕业证) 成绩单留信学历认证原版一比一
 
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
《伯明翰城市大学毕业证成绩单购买》学历证书学位证书区别《复刻原版1:1伯明翰城市大学毕业证书|修改BCU成绩单PDF版》Q微信741003700《BCU学...
 
Vip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts ServiceVip Noida Escorts 9873940964 Greater Noida Escorts Service
Vip Noida Escorts 9873940964 Greater Noida Escorts Service
 
(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一
(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一
(办理学位证)加州州立大学北岭分校毕业证成绩单原版一比一
 
定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一
定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一
定制(RHUL学位证)伦敦大学皇家霍洛威学院毕业证成绩单原版一比一
 

Computer structurepowerpoint

  • 1. CS Topic 2 - Computer Structure v2 1 Here is a diagrammatic representation of a computer system. Note the direction of data flow between the different parts of the system. Input Output Backing Storage Main Memory RAM & ROM Processor
  • 2. CS Topic 2 - Computer Structure v2 2 There are three sets of electrical lines which connect all the parts. The parts which go together to make up the computer system need to be able to communicate with one another. These sets of lines are called buses.
  • 3. CS Topic 2 - Computer Structure v2 3 The Processor "sees" all the other parts of the computer, (ROM & RAM, Backing storage, Input and Output devices) as one continuous block of locations each with its own unique address. Addressability Each location has a different binary number which identifies it. This is its address. Giving every part of the computer a unique address allows the processor to communicate easily with any other part of the computer system and is known as addressability.
  • 4. CS Topic 2 - Computer Structure v2 4 The three buses which carry signals around the computer system each have their own particular function. 1. Address Bus This is used by the Processor to indicate which location has to be accessed. It is a one-way bus from the processor as the processor dictates all movement of signals. The number of lines on the address bus determines the maximum amount of memory locations which can be accessed.
  • 5. CS Topic 2 - Computer Structure v2 5 A 2 line address bus would allow addresses. 2 lines 00 01 10 11 because 22 = 4. because 23 = 8. X lines on the address bus allows addresses. A 24 line address bus allows 224 = 16Mb of addresses. A 32 line address bus allows 232 = 4Gb of addresses. 4 A 3 line address bus would allow addresses.8 3 lines 000 001 010 011 100 101 110 111 2x Address bus width and addressable memory
  • 6. CS Topic 2 - Computer Structure v2 6 the size of each memory location. Calculating maximum memory size To calculate maximum memory size we need to consider two elements: the number of memory locations.(addresses) The following are assumed in the Higher course. The size of each memory location = data bus width = memory word size.
  • 7. CS Topic 2 - Computer Structure v2 7 Consider the following example: Calculate the maximum memory size of a computer with a 24 bit address bus and a memory word size of 16 bits. A 24 bit address bus allows 224 addresses = 16 MB of addresses. Each address contains 16 bits = 2 bytes Maximum memory size =16 MB x 2 bytes = 32 MB
  • 8. CS Topic 2 - Computer Structure v2 8 2. Data bus This is the bus which is used to transfer the actual data to and from the locations. It is a two-way bus as data may be going to the processor (Read) or coming from the processor(Write).
  • 9. CS Topic 2 - Computer Structure v2 9 Control bus With both the data and the address buses, each of the lines operate together, in parallel, at the same time, as a unit. e.g. It would not make sense to look at one of the lines on the address bus. You have to look at them all to see the full address. The Control bus is a collective name for a number of discrete lines each of which has a different function and operates at different times. They are best viewed as a number of individual lines.
  • 10. CS Topic 2 - Computer Structure v2 10 3.Clock line This line sends a regular series of pulses at a speed measured in We’ll start with three of the lines on the control bus: 1. Read line The processor activates this line to show that it wants to be sent (read) data from another part of the computer system. 2. Write line The processor activates this line to show that it wants to send (write) data to another part of the computer system. Hertz(Hz). Every event in the computer is timed to take place at particular points within the on/off cycle of each pulse. It controls the speed and timing of all operations in the computer.
  • 11. CS Topic 2 - Computer Structure v2 11 Other lines on the control bus include: 4. Reset line This line resets (clears the contents of all) the registers inside the processor. This prepares it for carrying out a new task. 5. Interrupt line Devices send a signal in on this line to interrupt the processor when they need attention. e.g. the printer may be out of paper.
  • 12. CS Topic 2 - Computer Structure v2 12 The two most basic operations which the processor carries out are and The processor works on data which is stored in main memory. It therefore spends a lot of time transferring data to and from the main memory. memory read memory write. The processor uses the three buses to communicate with the main memory.
  • 13. CS Topic 2 - Computer Structure v2 13 Memory Read 1. Processor copies the required address onto the address bus. 2. Processor activates the read line on the control bus. 3. Memory controller copies the data from the required address onto the data bus and the data is transferred from the main memory to the processor. Memory Write 1. Processor copies the required address onto the address bus. 3. Processor activates the write line on the control bus. 4. Memory controller copies the data from the data bus and puts it into the required memory location. 2. Processor copies the data onto the data bus.
  • 14. CS Topic 2 - Computer Structure v2 14 The following components are generally found inside a Processor. Register Arithmetic & Logic unit. (ALU) Control Unit. (CU) Register Register Register The three buses(although not shown here) continue inside the processor to allow the components to communicate.
  • 15. CS Topic 2 - Computer Structure v2 15 1. Registers A register is a storage location located inside the processor. A modern processor has many registers. Registers are used to hold : ● data which is being processed ● instructions which are being executed ● addresses which are about to be accessed. Register Register Register Register
  • 16. CS Topic 2 - Computer Structure v2 16 2. Control Unit (CU) Control Unit. (CU) The Control Unit (CU) is responsible for ● sending out the pulses on the control bus clock line to synchronise the timing of events and direct the fetching and executing of instructions. ● decoding the instructions when they arrive from the RAM and executing them. (i.e. carrying them out)
  • 17. CS Topic 2 - Computer Structure v2 17 3. Arithmetic & Logic Unit (ALU) Arithmetic & Logic unit. (ALU) The Arithmetic & Logic Unit is responsible for: ● carrying out the calculations on data being processed by a program. ● carrying out the logical decision making on data being processed by a program. This uses operators such as AND, OR, NOT.
  • 18. CS Topic 2 - Computer Structure v2 18 The sets of instructions are called and the processor spends its time fetching and executing instructions one at a time. Any problem can be solved by defining a sequence of instructions which are input and stored in A unit, called the , then fetches each instruction in turn and executes it. RAM. Processor programs This is known as the fetch-execute cycle.
  • 19. CS Topic 2 - Computer Structure v2 19 The steps in the fetch part of the cycle are always the same. 1. The processor sets up the with the address of the next instruction to be fetched. 2. The processor sends a on the control bus. 3. The instruction is then copied onto the from the correct memory location to a register in the CPU. 4. The CU(Control unit) the instruction and begins to it. address bus read signal The steps in the execute part of the cycle depend on the instruction to be executed. data bus decodes execute
  • 20. CS Topic 2 - Computer Structure v2 20 A computer has to store data and instructions. It uses uses various types of memory to do this. Registers Cache memory Main memory Backing storage Speed of access fastest slowest
  • 21. CS Topic 2 - Computer Structure v2 21 Registers1.Registers The registers are storage locations located inside the processor. Registers are used to hold : ● data which is being processed ● instructions which are being executed ● addresses which are about to be accessed. They allow the fastest access times as they are physically on the same chip as the processor. Cache memory Main memory Backing storage
  • 22. CS Topic 2 - Computer Structure v2 22 Registers Cache memory Main memory Backing storage 2.Cache memory Cache memory is the second fastest type of memory. It is small amount of a fast type of Ram called static RAM(SRAM) which is used to store frequently accessed data and instructions. The processor looks here for data before going out to the main memory. If the data is here then it can be very quickly accessed. Modern computers will have around 1 or 2 Mb of cache memory.
  • 23. CS Topic 2 - Computer Structure v2 23 Registers Cache memory Main memory Backing storage 3. Main memory Main memory is the third fastest type of memory. It is made of a large amount of a type of Ram called dynamic RAM(DRAM) which is used to store programs and data. It also contains a small of amount of ROM for operating system use. If the data or instructions cannot be found in the cache then the processor will access it from the main memory. Modern computers will have between 1 GB and 4GB of main memory.
  • 24. CS Topic 2 - Computer Structure v2 24 Registers Cache memory Main memory Backing storage 4. Backing Storage Backing storage is the slowest type of memory. It is needed because it keeps its contents even when the power is switched off unlike the types of memory listed so far. There are many types of backing storage including Hard disk, DVD, CD,Floppy disk, magnetic tape, and solid state devices such as flash cards/memory sticks. Backing stores also tend to have a larger capacity than the faster types of memory. i.e. they can store more. The speed of access varies according to the backing store used. (except for ROM)
  • 25. CS Topic 2 - Computer Structure v2 25 How can you compare the performance of two computers? There are many ways to do this and some are better than others. We will be looking at four methods used for comparison: 1. Clock speed 3. FLOPS 4. Application based tests 2. MIPS
  • 26. CS Topic 2 - Computer Structure v2 26 1. Clock speed 3. FLOPS 4. Application based tests 2. MIPS The clock speed is often given as a measure of computer performance but it really only measures processor speed. It seems reasonable to assume that a Pentium IV 3.6 Ghz is faster than a Pentium IV 2.8 GHz. These processors are both made by Intel, have the same instruction set and basically work in the same way. When comparing different makes and types of processor, however, the one with the faster clock speed may not be “better”. The slower processor may work more efficiently. Comparing clock speeds alone is a poor measure of performance.
  • 27. CS Topic 2 - Computer Structure v2 27 1. Clock speed 3. FLOPS 4. Application based tests 2. MIPS Why can’t we just keep increasing the clock speed? •The processor can overheat and this will cause damage. • The other components may not be able to keep up with the processor and so “bottlenecks occur”.
  • 28. CS Topic 2 - Computer Structure v2 28 1. Clock speed 3. FLOPS 4. Application based tests 2. MIPS MIPS measures how many instructions the processor executes per second. (millions of instructions per second) This seems like a good idea but different processors have different instruction sets and so they are difficult to compare. A manufacturer may choose a program with simple, fast instructions in it to make their processor look good. It doesn’t take into account the size and complexity of the instructions chosen for the tests.
  • 29. CS Topic 2 - Computer Structure v2 29 1. Clock speed 3. FLOPS 4. Application based tests 2. MIPS (floating point operations per second) This measure involves getting the processor to carry out floating point operations.(calculations on real numbers) and measures how many it can do each second. Floating point operations are carried out in the same way by most processors so this is a better method than clock speed or MIPS. FLOPS only measures calculating speed and does not consider the type of applications that a user may want to run on the computer. (programs)
  • 30. CS Topic 2 - Computer Structure v2 30 1. Clock speed 3. FLOPS 4. Application based tests 2. MIPS The tasks include loading large files, editing graphics, carrying out calculations etc. These are called benchmark tests and they show how well each processor can carry out specific tasks. (See handout) The best measure of performance involves running a set of tests using typical examples of commonly used applications. Computers are given a score for each test depending on how well they perform and so overall scores can be compared. This is a very realistic way of measuring performance.
  • 31. CS Topic 2 - Computer Structure v2 31 The type of processor used plays a large part in determining system performance. However, other parts of the computer also have an effect on how well the computer performs. We will be looking at three factors which have an effect: 1. Data bus width 3. Data transfer rate to/from peripherals. 2. Cache memory
  • 32. CS Topic 2 - Computer Structure v2 32 1. Data bus width 3. Data transfer rate to/from peripherals 2. Cache memory Data and instructions are transferred using the data bus. A 64 bit data bus can carry twice as much data at a time as a 32 bit data bus. A wider data bus means that more data can be transferred at a time and this therefore improves system performance. This assumes that the other components e.g. registers can cope with the larger amounts of data. Also less fetches from RAM are required which also improves system performance.
  • 33. CS Topic 2 - Computer Structure v2 33 1. Data bus width 3. Data transfer rate to/from peripherals 2. Cache memory As you have already seen, cache memory is a small fast type of RAM which sits between the Processor and the main memory(RAM). Level 1 Cache is the fastest type of cache as it is physically on the same chip as the processor. Level 2 Cache is on a separate chip and so it is slower to access than Level 1. Both types are much faster than main memory RAM. Increasing the amount of cache memory improves the system performance.
  • 34. CS Topic 2 - Computer Structure v2 34 1. Data bus width 3. Data transfer rate to/from peripherals 2. Cache memory A peripheral is any device that is not part of the essential computer. (the processor, memory, and bus paths). Some peripherals are mounted in the same case with the main part of the computer, e.g. Other peripherals are outside the computer case, e.g. the hard disk drive, DVD drive, and network interface card (NIC) the printer, mouse, keyboard,scanner, attached by a wired or wireless connection
  • 35. CS Topic 2 - Computer Structure v2 35 1. Data bus width 3. Data transfer rate to/from peripherals 2. Cache memory Peripheral devices transfer at different speeds and so these can have an effect on system performance too. The processor communicates with peripheral devices. e.g. loading a file from a hard disk, scanning an image etc. Using peripherals with fast data transfer rates will improve system performance. A hard disk drive spinning at 10000 rpm generally performs better than a 7200 rpm drive. http://www.pcguide.com/ref/hdd/index.htm (revolutions per minute) Peripheral device interfaces also transfer at different speeds.
  • 36. CS Topic 2 - Computer Structure v2 36 Computer technology is constantly improving with new ideas and techniques to improve performance. The following three trends have been seen for many years: 1. Increasing clock speeds 3. Increasing backing storage capacity. 2. Increasing main memory
  • 37. CS Topic 2 - Computer Structure v2 37 1. Increasing clock speeds 3. Increasing backing storage capacity. 2. Increasing main memory Clock speeds have increased rapidly over the years and are now measured in . A new desktop or laptop computer will have a processor with a clock speed of around AMD processors tend to have slower clock speeds than Intel processors but AMD argue that their processors are more efficient. Have a look at the websites for current figures and products. www.intel.co.uk www.amd.com Over the last year both and have announced that they will concentrate on other ways to improve system performance. Gigahertz 2.8 to 3.4 GHz. Intel AMD
  • 38. CS Topic 2 - Computer Structure v2 38 1. Increasing clock speeds 3. Increasing backing storage capacity. 2. Increasing main memory The technology for making Main memory (RAM) continues to improve and capacity has increased while costs continue to fall. A new desktop or laptop computer will have between and of RAM fitted as standard. Increasing the amount of main memory(RAM) is a very effective way of improving system performance. If a computer does not have enough RAM then it has to make use of the Hard disk drive for temporary storage too. 1GB 4GB This is called and is much slower to access than RAM. virtual memory
  • 39. CS Topic 2 - Computer Structure v2 39 1. Increasing clock speeds 3. Increasing backing storage capacity. 2. Increasing main memory The technology for making Backing storage also continues to improve and capacity has increased while costs continue to fall. A new desktop computer will have a Hard disk drive of anywhere between and fitted as standard.250 GB 1 TB Laptop computers tend to have smaller Hard disk drives with capacities from to150 GB 500 GB . DVDs and solid state storage devices such as flash cards, memory sticks and memory cards also continue to increase in capacity while decreasing in price.