Tutorial 4 - SEB070017
NG
CHI BENG
The key to using memory efficiently is virtual
memory management. Consider both Windows and a UNIX/Linux operating system.
Compare and contrast how each implements virtual memory. Describe how each one
handles page faults, page sizes and how it reconciles thrashing issues. Cite
your sources.
Windows | UNIX/Linux |
Windows is the most | Linux is the most prominent |
A pagefile is allocated on | Most hard drive |
Windows must boot from a | Linux can boot from either a |
Windows must boot from the | Linux can boot from any hard |
Windows allows programs to | In contrast, Linux stores |
Only those parts of the | Pages from a process are swapped The process becomes runnable and attempts to access a swapped page The page is faulted back into memory (most likely forcing some other A short time later, the page |
Win32-based operating system, such as Windows 9x, NT, ReactOS, use the system function GetSystemInfo() from kernel32.dll. #include <stdio.h>
| UNIX and POSIX-based systems use the system function sysconf(), as illustrated in the following example written in the C programming language.
|
Windows has two main lines. The older flavors are referred to as "Win9x" and consist of Windows 95, 98, 98SE and Me. The newer flavors are referred to as "NT class" and consist of Windows NT3, NT4, 2000, XP and Vista. Going back in time, Windows 3.x preceded Windows 95 by a few years. And before that, there were earlier versons of Windows, but they were not popular. Microsoft no longer supports Windows NT3, NT4, all the 9x versions and of course anything older. Support for Windows 2000 is partial (as of April 2007). | The flavors of Linux are referred to as distributions (often shortened to "distros"). All the Linux distributions released around the same time frame will use the same kernel (the guts of the Operating System). They differ in the add-on software provided, GUI, install process, price, documentation and technical support. Both Linux and Windows come in desktop and server editions. |
The Windows GUI has changed from Windows 3.1 to Windows 95 (drastically) to Windows 2000 (slightly) to Windows XP (fairly large) and is slated to change again with the next version of Windows, the one that will replace XP. Windows XP has a themes feature that offers some customization of the look and feel of the GUI. | Linux typically provides two GUIs, KDE and Gnome. See a screen shot of Lycoris and Lindows in action from the Wal-Mart web site. The lynucs.org web site has examples of many substantially different Linux GUIs. Of the major Linux distributions, Lindows has made their user interface look more like Windows than the others. Here is a screen shot of Linux made to look like Windows XP. Then too, there is XPde for Linux which really makes Linux look like Windows. Quoting their web site "It's a desktop environment (XPde) and a window manager (XPwm) for Linux. It tries to make easier for Windows XP users to use a Linux box." |
References:
1.http://en.wikipedia.org/wiki/Comparison_of_Windows_and_Linux#Installation
2.
http://rangit.com/operating-systems/8-major-differences-between-linux
- and-windows/
3. http://www. aumha.
org/win5/a/ xpvm.php
4.
http://www.michaelhorowitz.com/Linux.vs.Windows.html
5. www. how stuff works. com
No comments:
Post a Comment