Wednesday, April 10, 2019

Memory Management Essay Example for Free

Memory Management testThe difference between Windows and Linux depot counselling starts with understanding the requirements of memory management in todays multiprogramming arrangings. Memory management requirements are relocation, protection, sharing, local organization, and physical organization. These requirements play a vital subroutine in the processing speed response when using the computer. Windows and Linux have several similarities in regards to memory management further also differ especially with Windows being a sophisticate system and Linux being give sourced. Linux shares UNIX characteristics but has its own features and is very complex (Stallings, 2012, p. 384). Linux realistic memory uses a ternion- level rogueboy structure. The stolon part is the page structure which is an active process having the size of one 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 whic h fag span multiple pages. Each entry will point to one page of the table. Last is the page table and refers to one virtual page of the process. A virtual address is used consisting of four palm which are the index 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 nurture in and writing out pages to and from memory. The buddy system splits and merges pages which are allocated and deallocated in the main memory. The page shift algorithm in Linux deals with a simple clock which gives each page an age variable. The more than measure the page is accessed, the age variable is increased. A page that is old would be replaced since it has not been accessed in sooner a long time. Linux kernel memory allocation manages the main memory page frames which allocates and deallocates frames 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 sack 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 broad(a) 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 with the virtual memory manager, and committed address for processes to access virtual memory page.When virtual memory is high, the processes increase, and when they are low, fourth-year pages are swapped out. In conclusion, Windows and Linux have a few similarities. Both swaps out older pages that are no longer needed to improve the processes Window memory management is more secure and performance orientated, but is more complex. Linux is simpler and easier to maintain 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 favored 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). Operating Systems Internals and Design Principles (7th ed.). Retrieved from The University of Phoenix eBook Collection database.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.