Q.1 what are interrupts in operating system.
Q.2 Describe the performance of cache memory with its three types .
Answers
Answered by
1
Answer:
1.
- Interrupts are signals sent to the CPU by external devices, normally I/O devices.
- They tell the CPU to stop its current activities and execute the appropriate part of the operating system.
- Hardware Interupts are generated by hardware devices to signal that they need some attention from the OS.
2.
- CACHE is a reserved access area of the main memory or of a storage device.
- As mentioned, cache is a high-speed reserved area of the main memory that can be used to access information.
- There are basically two types of cache: memory cache and disk cache.
- Memory cache is a part of the high speed SRAM(Static Random Access Memory). In the memory cache, the computer keeps the frequently accessed information so that information retrieval may be faster and more efficient.
- Disc cache memory also relates to frequently accessed information but instead of the SRAM, this cache reserves a part of the conventional main memory.
- So, more frequently used data from the disc is stored in a memory buffer. Any information retrieved from the disc is first checked in the memory buffer and if found there, the retrieval is considerably faster.
Please thank my answer if it helped :]
Similar questions