what is the difference between cache & register ? Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory.
The register is a small set of data holding places that are part of a computer processor . A register may hold a computer instruction , a storage address, or any kind of data (such as a bit ..."
A register is a memory directly accessible under program control to the CPU for some purpose. Most registers are of small size (e.g. one word, one byte). Some types of registers and what they do are:
The cache memory is a memory between the CPU and main memory used to "cache" commonly used locations of main memory so that the fast CPU does not have to wait for the slower memory access on every memory cycle. The cache memory is organized into "lines" of several adjacent words of memory (e.g. 4 words, 16 words, 64 words) depending on the computer and memory architecture. The CPU has no direct control over what is in cache memory, this is handled by a cache controller. In some computer architectures the CPU can request that the cache controller perform actions like "flush line", "invalidate line", or "preload line" but in general these are treated more like suggestions than required instructions by the cache controller
Even though both memory hold data, the register holds data temporary, i.e. data waiting to be execute by the CPU, while in the case of main memory, it holds information/data permanently. the register is smaller in capacity, while the memory is larger in capacity. the register serves as an assistance to the main memory, i.e. in situation where the data to be handled by the it is much more than what it can hand, so the register comes in handy.
Cache memory is a special high speed memory that acts as a buffer between the processor and slower memory. Nowadays, the cache memory is in the CPU and not a separate bank of memory on the motherboard like there was back in the 386/486 days.
A register is a special area of memory in the processor which is 1-8 bytes long. That is where the operations take place. Now, modern processors have many more registers than the official named ones (like EAX, EBX, ECX, and so on). They need them for hyperthreading, out of order processing, optimization, and more. Modern processors probably use tricks like aliasing and cloning. They may change the names of the registers in the middle of operations. Now, there are times when an extra register to be used as a buffer is needed. One would be if the result will end up in the register of one or more of the operands. Another would be if the memory isn't ready to accept a result and the CPU needs to continue. Memory contention could be another reason for a buffer register. Or, an operand mismatch is another. If you have to access the memory with a certain size, but the CPU needs another size, then it would have to go to the buffer register and the correct size pulled from there. The buffer register also allows the memory and processor to act independently of each other.
yes
yes
Register memory are smaller in size than cache memory and registers are faster than cache..Cache memory store the frequently used data from main memory..
A memory cache is small amount of RAM that is much faster than the rest of RAM?
as the cache memory is mory faster than RAM or hard disk ,but the main reason is that the cache memory has comparator and storage medium at the same time, the comparator checks if the address of the value being accessed is in the associative memory(a part of cache)or not, and the ordinary memory(another part of cache)has the data....
size. cache memory is situated on the CPU, and stores recently used data, in case the CPU needs again soon. cache memory is many, many times faster than RAM, just RAM is much faster than the HD.
memory cache
the memory that directly communicates with the CPU is called Cache Memory this is; When the processor(CPU) needs to read from or write to a location in main memory, it first checks whether a copy of that data is in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory. A CPU cache is a cache used by the central processing unit of a computer to reduce the average time to access memory. The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. As long as most memory accesses are cached memory locations, the average latency of memory accesses will be closer to the cache latency than to the latency of main memory. [by Deogratius Ambrose IAA-Tanzania] the memory that directly communicates with the CPU is called Cache Memorythis is; When the processor(CPU) needs to read from or write to a location in main memory, it first checks whether a copy of that data is in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory. A CPU cache is a cache used by the central processing unit of a computer to reduce the average time to access memory. The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. As long as most memory accesses are cached memory locations, the average latency of memory accesses will be closer to the cache latency than to the latency of main memory. [by Deogratius Ambrose IAA-Tanzania]
Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory. Cache Memory generally comes in smaller size (3MB, 6MB etc) than the RAM (512 MB, 1GB,2GB.....)
memory cache is a small amount of RAM (referred to as static RAM) that is much faster than the rest of the RAM, which is called dynamic RAM (DRAM).
NO...The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. As long as most memory accesses are cached memory locations, the average latency of memory accesses will be closer to the cache latency than to the latency of main memory.Thus Cache memory is not main memory of computer system.--- form Wiki
Answer:- The Cache memory is placed between the CPU and the main memory. It is a fast speed memory and is expensive and faster than the main memory. Cache memory is used to store the frequently accessed data of main memory. The instructions that are frequently used by the CPU are stored in the cache memory. It is used to reduce the average access time for address, instructions or data, which are normally stored in the main memory. Cache memory increases the operating speed of the system. But is much costlier than main memory. From economic considerations, the capacity of the cache memory is much less as compared to main memory..
Cache is faster than RAM...
Many CPUs have what is known as a CPU cache. The function of this CPU cache is to speed up access to data.