Friday, May 17, 2019
Memory Management Essay
The difference surrounded by Windows and Linux retentiveness man come a pertinaciousment starts with understanding the requirements of memory management in todays multiprogramming systems. remembering management requirements are relocation, protection, sharing, local organization, and physical organization. These requirements play a vital role in the touch speed response when using the computer. Windows and Linux have several similarities in regards to memory management but withal differ especially with Windows being a sophisticate system and Linux being open sourced. Linux shares UNIX characteristics but has its possess features and is very complex (Stallings, 2012, p. 384). Linux virtual memory uses a three- level paginate structure. The first part is the page structure which is an active process having the size of genius page. The entry goes to the page directory and the page directory must be in the main memory to be active.Next is the page middle directory which stern s pan ternary pages. Each entry will point to one page of the dishearten. Last is the page table and refers to one virtual page of the process. A virtual process is used consisting of four fields which are the major power into the page directory, index into the page middle directory, index into the page table, and the offset in the selected page of memory. The table structure was designed for 64-bit Alpha processor and is independent. Linux uses the buddy system for efficiency of reading in and pen out pages to and from memory. The buddy system splits and merges pages which are allocated and deallocated in the main memory. The page replacement algorithm in Linux deals with a simple clock which gives each page an age variable. The more times the page is accessed, the age variable is increased. A page that is old would be replaced since it has not been accessed in quite a long time. Linux kernel memory allocation manages the main memory page frames which allocates and deallocates f rames for the virtual memory management.When the minimum amount of allocation is less than a page, Linux uses a slab allocation for these smaller chunks making the system more efficient. Windows memory manager is designed to use 4 to 64 Kbytes page sizes and controls how memory is allocated. On 32-bit systems, the Windows processshows a 32-bit address which allows 4 Gbytes of virtual memory for each process which half is for the operating system and half is for the virtual address space when running in kernel-mode. With the introduction of 64-bit, systems can run more efficiently with larger memory intensive programs. Windows paging can make use of the entire space which can then be brought into the main memory. The operating system manages the address in three regions available references the address not currently used, reserved for setting aside the process through the virtual memory manager, and affiliated address for processes to access virtual memory page.When virtual memor y is high, the processes increase, and when they are low, older pages are swapped out. In conclusion, Windows and Linux have a few similarities. Both swaps out older pages that are no longer essential to improve the processes Window memory management is more secure and performance orientated, but is more complex. Linux is simpler and easier to assign but is not secured due to being open sourced and need improvement. Linux was originated in a hackers environment while Windows is in a commercial environment. Windows has more effort through design and Linus was upgrade for simplicity. Each one has their own positives and negatives and the final decision is what system is he and she more comfortable with.ReferencesStallings, W. (2012). direct Systems Internals and Design Principles (7th ed.). Retrieved from The University of Phoenix eBook Collection database.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.