Processor
The main brain of a computer is the processor. The processor can carry out many thousands of calculations per second, whether it be what to calculate what colour a tree is going to be within a game from second to second, or what is required from various different user inputs etc..Intel and AMD are the largest processor manufacturers. In general if spped is what you are looking for in your PC, Intel is the best option. If graphics are your main priority, go for AMD. Although there are so many models of each out there it is hard to say which is a 'better' option.
In computing, FLOPS (Floating point Operations Per second) is a measure of your pc's speed.
Most microprocessors today can do 4 FLOPs per clock cycle. Therefore, a single-core 2.5 GHz processor has a performance of roughly10 billion FLOPS, 10 billion operations per second(floating point). A floating point refers to an integer that programmers will use when compiling various applications.
The processor communicates with the memory through a set of wires called the bus. A 32 bit processor will have a 32 bit wide bus.
Two main manufacturers for processors are Intell and AMD
Bus
The address bus controls the address on memory of all information.
The control bus controls the information synchronising operation.
The data bus controls the data and instructions moving between.
Boot
The term boot refers to the computer pulling itself up from its boot straps. It is the start to finsh loading process of a computer.
A typical boot sequence:
Location of CPU and memory:
A computer will run several tests as it is 'booting'. If any errors are detected with the cpu, timer or memory then an error will be reported to the user via varying beeps, and the boot process may be aborted to prevent further damage to the system, depending on the severity of the error. This is known as the 'Power on self test' (POST).
The basic input output system (BIOS) holds basic system configurations which include boot sequence details. The bios loads the bootstrap loader from master boot record on the disk.
The master boot record shows where the operating system is in memory. If it can not be found then the boot process will fail.
Interrupt handlers
When a processor is working to nearly capacity, say if it is calculating the next screen of an online multiplayer game, how do we get its attention when we want to alter tasks? This is where interrupt handlers come in handy. An interrupt is something like pressing the escape key to pause. An interrupt overpowers all processes and sends a request to the processor. The processor in turn listens for instructions. These come in the form of an interrupt handler, which is a piece of code which directs the processor to the correct destination - was it the keyboard, mouse, hard-drive creating the interupt? Then based on the destination it will run the routine process for the particular action.Direct memory access
DMA allows for more efficient system operation by allowing data transfer to bypass the processor. The processor will initially set up the direct memory access, and then it is free to carry out other duties.Typical PC architecture:
No comments:
Post a Comment