Lecture 7 Memory and File Management by FQ
Lecture 7 Memory and File Management by FQ
Platform Technology
Lecture # 7
Memory and File Management
8 Operating
5 Operating 6 Process 7 Memory and File System
System Management Management Design
• MEMORY MANAGEMENT
• MEMORY ADDRESSES
• MEMORY MANAGEMENT UNIT
• SWAPPING
• PAGING
• VIRTUAL MEMORY
MEMORY MANAGEMENT
• The user can use the logical address to access the physical address. The
user can always access the physical address indirectly but can never
access it directly.
MEMORY MANAGEMENT UNIT (MMU)
• The runtime mapping from virtual to physical address is done by the memory
management unit (MMU) which is a hardware device.
The procedure by which any process gets removed from the hard
disk and placed in the main memory or RAM commonly known
as Swap In.
On the other hand, Swap Out is the method of removing a process
from the main memory or RAM and then adding it to the Hard Disk.
BENEFIT OF SWAPPING
DISADVANTAGE:
Longer memory access times (page table lookup)
Larger page table lookup cause limit virtual memory size
DIFFERENCE BETWEEN PAGING AND
SWAPPING
Swapping Paging
It is a technique of memory
It is procedure of copying out
allocation (from the secondary
the entire process.
storage into the main memory).
• FILE SYSTEM
• FILE MANAGEMENT
• FUCTION OF FILE MANAGEMENT
• FILE ARTRIBUTES
• FILE TYPE
• FILE DIRECTORIES
• TERMINOLOGIES
FILE SYSTEM
1. File Attributes
It specifies the characteristics of the files such as type, date of last modification,
size, location on disk etc. file attributes help the user to understand the value and
location of files.
2. File Operations
It specifies the task that can be performed on a file such as opening and closing
of file.
4. File Systems
It specifies the logical method of file storage in a computer system. Some of the
commonly used files systems include FAT and NTFS. FAT stands for File Allocation
Table and NTFS stands for New Technology File System.
FILE ATTRIBUTES
A file has a name and data. Moreover, it also stores meta information like file
creation date and time, current size, last modified date, etc. All this information
is called the attributes of a file system.