Professional Documents
Culture Documents
Introduction
A common technique for improving performance in computer
systems (both hardware and software) is to utilize caching for frequently accessed information. This lowers the average cost of accessing the information, providing greater performance for the overall system. In the Intel Pentium 4 Processor
Level 1 Cache
The level 1 cache is a split cache. 8KB in size.
Level 1 Cache
The level 1 cache is small to reduce latency, taking 2
floating point.
Instead of a classic level 1 instruction cache, the Pentium 4
Trace Cache
After the instructions have been decoded into micro-ops,
hardware knows about any branches and fetches instructions that follow the branch.
Trace Cache
Problems might occur in the case of conditional branches if
the wrong one is predicted and a lot of additional instructions that are not needed have been pre-fetched and
scheduler.
This also means that since the trace cache is only
storing instructions that will actually get executed, it is making more efficient use of the limited space.
Level 2 Cache
The level 2 cache is a unified cache.
256KB in size. eight-way set associative. This means that each
Level 2 Cache
The increase in size and set size means that it will reduce
Pentium 4 employs a 400MHz system bus using a 100MHz clock that delivers a data rate of 3.2GB/s to make up for the latency.
Level 3 Cache
eight-way set associative .
line size of 128 bytes. make use of a least recently used replacement
algorithm.
This provides a large on-processor tertiary memory storage area that the processor uses for keeping information nearby. Thus, the contents of the Level 3 cache are faster to access than main memory, but slower than other types of cached
information.
Thank You