1. caching
Caching is a well known concept in computer science: when programs continually access the same set of instructions, a massive performance benefit can be realized by storing those instructions in RAM. This prevents the program from having to access the disk thousands or even millions of times during execution by quickly retrieving them from RAM. Caching on the web is similar in that it avoids a roundtrip to the origin web server each time a resource is requested and instead retrieves the file from a local computer's browser cache or a proxy cache closer to the user.
2. coherency and consistency-
STORAGE STRUCTURE1. main memory
Refers to physical memory that is internal to the computer. The word main is used to distinguish it from external mass storage devices such as disk drives. Another term for main memory is RAM.
2. magnetic disk
A memory device, such as a floppy disk, a hard disk, or a removable cartridge, that is covered with a magnetic coating on which digital information is stored in the form of microscopically small, magnetized needles
- moving head disk mechanism
3. magnetic tapes
Magnetic tape is a medium for magnetic recording generally consisting of a thin magnetizable coating on a long and narrow strip of plastic. Nearly all recording tape is of this type, whether used for recording audio or video or for computer data storage. It was originally developed in Germany, based on the concept of magnetic wire recording. Devices that record and playback audio and video using magnetic tape are generally called tape recorders and video tape recorders respectively. A device that stores computer data on magnetic tape can be called a tape drive, a tape unit, or a streamer.
HARDWARE PROTECTION
1. Dual-Mode operation
• Sharing system resources requires operating system to ensuthat an incorrect program cannot cause other programs toexecute incorrectly
• Provide hardware support to differentiate between at least twmodes of operations.
a. User mode – execution done on behalf of a user.
b. Monitor mode (also supervisor mode or system mode) –execution done on behalf of operating system.
......Dual-Mode Operation (Cont.)......
- Mode bit added to computer hardware to indicate the currentmode: monitor (0) or user (1)
• When an interrupt or fault occurs hardware switches to monitomode
2. input/output protection
All I/O instructions are privileged instructions.• Must ensure that a user program could never gain control ofthe computer in monitor mode (i.e., a user program that, aspart of its execution, stores a new address in the interruptvector).
3. memory protection
Must provide memory protection at least for the interrupt vectorand the interrupt service routines.• In order to have memory protection, add two registers thatdetermine the range of legal addresses a program may access:– base register – holds the smallest legal physical memoryaddress.– limit register – contains the size of the range.• Memory outside the deļ¬ned range is protected
4. CPU protection-