System Bus Functions and Features
System Bus Functions and Features
Bus Hierarchy
The Processor Bus: This is the highest-level bus that the chipset uses to send information to and from the processor. The Cache Bus: Higher-level architectures, such as those used by the Pentium Pro and Pentium II, employ a dedicated bus for accessing the system cache The Memory Bus: This is a second-level system bus that connects the memory subsystem to the chipset and the processor The Local I/O Bus: This is a high-speed input/output bus used for connecting performance-critical peripherals to the memory, chipset, and processor. For example, video cards, disk storage devices, high-speed networks interfaces generally use a bus of this sort. The two most common local I/O buses are the VESA Local Bus (VLB) and the Peripheral Component Interconnect Bus (PCI). The Standard I/O Bus: Connecting to the above three buses is the "good old" standard I/O bus, used for slower peripherals (mice, modems, regular sound cards, low-speed networking) and also for compatibility with older devices. On almost all modern PCs this is the Industry Standard Architecture (ISA) bus.
System Chipset
The system chipset is the conductor that controls this orchestra of communication, and makes sure that every device in the system is talking properly to every other one.
Intermission
Whats the difference between port and bus?
address bus
is the set of lines that carry information about where in memory the data is to be transferred to or from
Control Bus
there are a number of control lines that control how the bus functions, and allow users of the bus to signal when data is available
Bus Width
We know that bus is a channel over which information flows The wider the bus, the more information can flow over the channel The address bus width can be specified independently of the data bus width. The width of the address bus dictates how many different memory locations that bus can transfer information to or from.
Bus Speed
The speed of the bus reflects how many bits of information can be sent across each wire each second. Going back to highway analogy: This could be likened to how fast a car runs
Bus Bandwidth
Bandwidth/throughput, refers to the total amount of data that can theoretically be transferred on the bus in a given unit of time.
Bus Interfacing
On a system that has multiple buses, circuitry must be provided by the chipset to connect the buses and allow devices on one to talk to devices on the other This device/circuitry is called a "bridge
Bus Mastering
On the higher-bandwidth buses, a great deal of information is flowing through the channel every second Processor is required to control the transfer of this information
Processor can be thought of as a "middleman", it is far more efficient to "cut out" the middleman and perform the transfer directly. This is done by having capable devices take control of the bus and do the work themselves; devices that can do this are called bus masters
System Cache
System Cache
The cache is a buffer between the very fast processor and the relatively slow memory that serves it.
The memory is not really slow, only that the processor is faster The presence of the cache allows the processor to do its work while waiting for memory far less often than it otherwise would.
There are several different "layers" of cache in a modern PC, each acting as a buffer for recentlyused information to improve performance.
Layers of Cache
Each layer is closer to the processor and faster than the layer below it. Each layer also caches the layers below it, due to its increased speed relative to the lower levels:
Level Level 1 Cache Level 2 Cache System RAM Hard Disk / CD-ROM Devices Cached Level 2 Cache, System RAM, Hard Disk / CD-ROM System RAM, Hard Disk / CD-ROM Hard Disk / CD-ROM --
What happens:
1. The processor requests a piece of information 2. The first place it looks is in the level 1 cache 3. If it finds it there (called a hit on the cache) it uses it with no performance delay. 4. If not, (called a miss on the cache) and the level 2 cache is searched 5. If it finds it there (level 2 "hit"), it is able to carry on with relatively little delay. 6. Otherwise, it must issue a request to read it from the system RAM. The system RAM may in turn either have the information available or have to get it from the still slower hard disk or CD-ROM.
Disk Cache
A disk cache is a portion of system memory used to cache reads and writes to the hard disk.
Peripheral Cache
Other devices can be cached using the system RAM as well. CD-ROMs are the most common device cached other than hard disks