Compare Windows and Linux memory systems used by the OSes.
Hello, the answer of the question is written below into tabular form.
We will compare Windows and Linux memory systems with varieties of features mentioned in below table:
Features | Windows | Linux |
---|---|---|
Data Structures | It uses tree data structure. Each node of the tree is called Virtual Address Descriptors (VAD). VAD marks each node as free, committed or reserved. Committed nodes are those nodes that are currently being used. Free nodes are unused nodes. |
It uses linked list data
structure. It maintains a list of vm_area_structs. This list is searched whenever a page is to be found. It also records the range of address, protection mode and the direction in which it grows (up or down). If number of entries becomes more than 32, Linux converts linked list into a tree. |
Distribution of Process Address Space | Windows on 32 bit x86 systems can
access up to 4GB of physical memory. Windows allows each process to have its own 4GB logical address space by using paging. The upper 2GB is kept for windows kernel mode. The lower 2GB of the address space is reserved for user mode. |
3GB of memory space is reserved for
user mode 1GB is kept for Kernel mode. |
Paging |
Windows uses cluster demand paging |
Linux uses demand paging with no pre paging Linux do not swap the entire process instead uses a lazy swapper. It never swaps a page into the memory unless that page is needed. Instead of swapping in a whole process, the pager swaps only necessary pages into memory. It thus avoids reading pages that will not be used, this decreases swap time and amount of physical memory required.Linux uses three level paging |
Address structure | Address is divided into two
parts: Page number Page offset |
Linear address is broken into four parts: Global Directory. Middle Directory. Page Table Offset. |
Page replacement | Windows uses FIFO First in First
out Page Replacement Algorithm. The oldest page is chosen for replacement. It suffers from be lady’s anomaly. Page fault rate may increase when we increase number of frame. It has low performance. It has maximum number of page faults. |
Linux uses LRU Least Recently Used
Page Replacement Algorithm. The page that is not used for a long period of time is selected as victim page and is replaced. Implemented in two ways- Counters and stack. In counters, each page table entry is associated with a time-of-use field. The page with smallest time value is replaced. In stack, the page at the bottom is removed and put on the top of the stack. Least recently used is always at the bottom of the stack. |
For any doubt and query please comment.
Thank You !
Where is application and service configuration information stored on Unix and Linux systems? In Windows? Compare and contrast the two in terms of security, accessibility, and automation.
Scenario: Security and Memory Management Some have argued that Unix/Linux systems reuse a small number of security features in many contexts across the system, while windows systems provide a much larger number of more specifically targeted security features used in the appropriate contexts. This may be seen as a trade-off between simplicity verses lack of flexibility in the Unix/Linux approach against a better targeted but more complex and harder to correctly configure approach in Windows. question: Discuss the highlighted trade-off...
Compare how Windows and Linux resources are managed.
Explain how Unix and Windows manage memory and processors. Compare between the approaches of the two operating systems .
1. the commands you used to create the directories and files in Linux and Windows; 2. the commands you used to determine default permissions in Linux and Windows; 3. the commands you used to change permissions on your files in Linux and Windows; 4. a paragraph about how directories and file permissions work and what was the same or different between Windows and Linux.
I need help answering this from a developer point of view Linux Windows Mobile Devices Development Mac Requirements Server Side <Evaluate Mac for its characteristics, advantages, and weaknesses for hosting a web- based software application> Client side Determine the software development considerations (cost, time, expertise) that are necessary for supporting multiple types of clients as they pertain to Mac. <Evaluate Linux <Evaluate <Evaluate Mobile for its Windows for its Devices for their characteristics, characteristics, characteristics, advantages, and advantages, and advantages,...
Using the task management tools in Microsoft Windows and Linux, you can explore the factors that affect your personal computer’s (PC’s) performance and troubleshoot problems, such as stopping a hung application. In the Windows operating system, you use Windows Task Manager to obtain information about the programs and processes running on your PC and common performance measurements, such as central processing unit (CPU) and memory usage, for these processes. Similarly, in Linux, you use the pscommand to display a variety...
How to build a professional software for Linux and mostly windows ?
which location windows and linux install device drivers
Discuss the essentials of file recovery in the three major operating systems i.e. Windows, Macintosh, and Linux. Discuss how to recover information from damaged media.