ਕੈਸ਼ ਮੈਮੋਰੀ, ਜਿਸ ਨੂੰ ਕੈਸ਼ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਇੱਕ ਪੂਰਕ ਮੈਮੋਰੀ ਸਿਸਟਮ ਹੈ ਜੋ ਕੰਪਿਊਟਰ ਦੀ ਕੇਂਦਰੀ ਪ੍ਰੋਸੈਸਿੰਗ ਯੂਨਿਟ (CPU) ਦੁਆਰਾ ਤੇਜ਼ ਪ੍ਰੀਕਿਰਿਆ ਲਈ ਅਕਸਰ ਵਰਤੀਆਂ ਜਾਂਦੀਆਂ ਹਦਾਇਤਾਂ ਅਤੇ ਡਾਟਾ ਨੂੰ ਅਸਥਾਈ ਤੌਰ ਤੇ ਸਟੋਰ ਕਰਦਾ ਹੈ। ਕੈਸ਼ ਕੰਪਿਊਟਰ ਦੀ ਮੁੱਖ ਮੈਮੋਰੀ ਨੂੰ ਵਧਾਉਂਦਾ ਹੈ ਅਤੇ ਇਸਦਾ ਐਕਸਟੈਸ਼ਨ ਹੈ। ਮੁੱਖ ਮੈਮੋਰੀ ਅਤੇ ਕੈਸ਼ ਦੋਵੇਂ ਅੰਦਰੂਨੀ ਰੈਂਡਮ ਅਕਸੈੱਸ ਮੈਮੋਰੀ (RAMs) ਹਨ ਜੋ ਸੈਮੀਕੰਡਕਟਰ-ਅਧਾਰਿਤ ਟਰਾਂਜਿਸ਼ਟਰ ਸਰਕਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਦੀਆਂ ਹਨ। ਕੈਸ਼ ਵਿੱਚ ਮੁੱਖ ਮੈਮੋਰੀ ਵਿੱਚ ਸਟੋਰ ਕੀਤੀ ਸਿਰਫ ਸਭ ਤੋਂ ਵੱਧ ਵਰਤੀ ਜਾਣ ਵਾਲੀ ਜਾਣਕਾਰੀ ਜਾਂ ਪ੍ਰੋਗਰਾਮ ਕੋਡਾਂ ਦੀ ਇੱਕ ਕਾਪੀ ਹੁੰਦੀ ਹੈ। ਕੈਸ਼ ਦੀ ਛੋਟੀ ਸਮਰੱਥਾ ਇਸਦੇ ਅੰਦਰ ਡਾਟਾ ਲੱਭਣ ਅਤੇ ਇਸਨੂੰ ਪ੍ਰੋਸੈਸਿੰਗ ਲਈ CPU ਨੂੰ ਪ੍ਰਦਾਨ ਕਰਨ ਲਈ ਲੋੜੀਂਦੇ ਸਮੇਂ ਨੂੰ ਘਟਾਉਂਦੀ ਹੈ।
ਜਦੋਂ ਇੱਕ ਕੰਪਿਊਟਰ ਦਾ CPU ਇਸਦੀ ਅੰਦਰੂਨੀ ਮੈਮੋਰੀ ਤੱਕ ਪਹੁੰਚ ਕਰਦਾ ਹੈ, ਤਾਂ ਇਹ ਪਹਿਲਾ ਇਹ ਦੇਖਣ ਲਈ ਜਾਂਚ ਕਰਦਾ ਹੈ ਕਿ ਇਸਦੀ ਲੋੜੀਂਦੀ ਜਾਣਕਾਰੀ ਕੈਸ਼ ਵਿੱਚ ਸਟੋਰ ਕੀਤੀ ਗਈ ਹੈ ਜਾ ਨਹੀਂ। ਜੇਕਰ ਇਹ ਹੈ, ਤਾਂ ਕੈਸ਼ CPU ਨੂੰ ਡਾਟਾ ਵਾਪਸ ਕਰਦਾ ਹੈ। ਜੇਕਰ ਜਾਣਕਾਰੀ ਕੈਸ਼ ਵਿੱਚ ਨਹੀਂ ਹੈ, ਤਾਂ CPU ਇਸਨੂੰ ਮੁੱਖ ਮੈਮੋਰੀ ਤੋਂ ਪ੍ਰਾਪਤ ਕਰਦਾ ਹੈ। ਡਿਸਕ ਕੈਸ਼ ਮੈਮੋਰੀ ਉਸੇ ਤਰ੍ਹਾਂ ਕੰਮ ਕਰਦੀ ਹੈ, ਪਰ ਕੈਸ਼ ਦੀ ਵਰਤੋਂ ਉਸ ਡਾਟਾ ਨੂੰ ਰੱਖਣ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ ਜੋ ਹਾਲ ਹੀ ਵਿੱਚ ਇੱਕ ਚੁੰਬਕੀ ਡਿਸਕ ਜਾਂ ਹੋਰ ਬਾਹਰੀ ਸਟੋਰੇਜ ਡਿਵਾਈਸ ਤੇ ਲਿਖਿਆ ਗਿਆ ਹੈ, ਤਾਂ ਇਸ ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤਾ ਗਿਆ ਹੈ।
ਦਿਲਚਸਪ ਤੱਥ :
ਕੈਸ਼ ਕੰਪਿਊਟਰ ਸਿਸਟਮ ਵਿੱਚ ਮੈਮੋਰੀ ਦਾ ਸਭ ਤੋਂ ਤੇਜ਼ ਅਤੇ ਛੋਟਾ ਹਿੱਸਾ ਹੈ। ਰਜਿਸਟਰ ਕੰਪਿਊਟਰ ਪ੍ਰੋਸੈਸਰ ਵਿੱਚ ਬਹੁਤ ਘੱਟ ਮਾਤਰਾ ਵਿੱਚ ਮੌਜੂਦ ਤੇਜ਼ ਸਟੋਰੇਜ਼ ਤੱਤ ਹਨ।
Cache memory, also called cache, is a supplementary memory system that temporarily stores frequently used instructions and data for quicker processing by the central processing unit (CPU) of a computer. The cache augments, and is an extension of, a computer’s main memory. Both main memory and cache are internal random-access memories (RAMs) that use semiconductor-based transistor circuits. Cache holds a copy of only the most frequently used information or program codes stored in the main memory. The smaller capacity of the cache reduces the time required to locate data within it and provide it to the CPU for processing.
When a computer’s CPU accesses its internal memory, it first checks to see if the information it needs is stored in the cache. If it is, the cache returns the data to the CPU. If the information is not in the cache, the CPU retrieves it from the main memory. Disk cache memory operates similarly, but the cache is used to hold data that have recently been written on, or retrieved from, a magnetic disk or other external storage device.
Interesting Facts:
Cache is the fastest and smallest component of memory in a computer system. The registers are fast storage elements present in a very small amount in the computer processor.
Post a Comment