<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5192592410169799258</id><updated>2011-07-08T02:34:51.719-07:00</updated><category term='OPERATING SYSTEM'/><category term='0S-4'/><category term='OS-5'/><category term='OS-3'/><category term='0S-8'/><category term='OS-9'/><category term='OS-2'/><category term='OS-6'/><category term='OS-4'/><title type='text'>OPERATING SYSTEM</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-2775440685528570986</id><published>2009-09-21T02:30:00.000-07:00</published><updated>2009-09-21T02:39:40.524-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-9'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;color:#33cc00;"&gt;&lt;strong&gt;Solaris installation&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Step by step guide to Solaris installation:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Solaris installation poses a challenges to the new Solaris sysadmins who have never done the installation of Solaris before . Though the installation itself is simple and straight forward but doing it the first time comes with its own anxiety associated with  unexplored and unknown things .&lt;br /&gt;The idea of this article is to introduce you with the procedure and sequence of event  Solaris installation to build enough confidence to finish the installation on your own.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name="1.0 Before you begin"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;1. Before you begin&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;For Solaris installation on standalone Sun machine you need the following besides sun cpu : &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;A) Sun Monitor and Sun Keyboard&lt;br /&gt;OR&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;For carrying the installation through the serial port A of Sun (ttya)&lt;br /&gt;Dumb Terminal or PC with serial port communication software like HyperTerminal&lt;/span&gt;&lt;br /&gt; &lt;span style="color:#33cc00;"&gt; AND&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;A null modem cable ( Pin 2 &amp;amp; 3 crossed 5 common ground in 9 Pin to 9 pin ; Pin 7 is common ground in 25 Pin connector ) connecting sun's serial port A with PC serial port.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;B) You will also require a IP address, netmask and a host name for your system.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;a name="2.0 Getting Started"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;2. Getting Started&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;Installation starts at OK&gt; prompt &amp;amp; you can get to ok&gt; using any of the following method :&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;1. by pressing Stop A key sequence on a Sun Keyboard.&lt;br /&gt;2. typing #init 0 if your system boots up directly .&lt;br /&gt;3. Pressing ctrl-break or shift-break on a pc keyboard if using pc as&lt;br /&gt;   console through serial port.&lt;br /&gt;4. If auto-boot feature is enabled system directly boots up&lt;br /&gt;   and gives you a # prompt .You can disable auto-boot so next time it &lt;br /&gt;   stays at ok prompt for starting installation.&lt;br /&gt;   #/usr/platform/sun4u/bin/eeprom auto-boot?=false&lt;br /&gt;   reboot the system.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name="3.0 Starting the installation"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;3. Starting the installation&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;Insert the installation media - OS CD in CD drive and type boot cdrom at ok&gt; prompt .&lt;/span&gt; &lt;span style="color:#33cc00;"&gt;&lt;strong&gt;Ok&gt;boot cdrom&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;The first phase begins with system identification   and gathers information about the system from the the user .System starts booting up and after initialization it asks for language and locale also terminal type in case of PC/terminal&lt;br /&gt;&lt;/span&gt;   &lt;span style="color:#cc33cc;"&gt;Select your locale and DEC VT100 terminal type for terminal selection&lt;br /&gt;   Further installation through the terminal require response to the&lt;br /&gt;   selections through ESC and function keys and space bar which are&lt;br /&gt;   mentioned on the installation screen.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;On the next screens, you are to identify the system as networked or    non-networked, and set the default time zone and date/time. After this following host information is required :&lt;br /&gt;&lt;/span&gt;        &lt;span style="color:#cc33cc;"&gt;A) A host name for the system&lt;br /&gt;        B) Whether the system is networked if yes you will have to &lt;br /&gt;           provide the IP address &amp;amp; netmask of this machine.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Next you will be asked to select the name services&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;Name services&lt;br /&gt;[    ]                      NIS+&lt;br /&gt;[    ]                      NIS&lt;br /&gt;[    ]                      DNS&lt;br /&gt;[X ]                        None&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Select the service if you have complete details like domain names etc or select none to configure after installation.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;You have to select a distribution type from among the choices choices &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;4. &lt;/span&gt;&lt;/span&gt;&lt;a name="OS distribution &amp;amp; Disk configuration"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;OS distribution &amp;amp; Disk configuration&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;After identification is complete the installation process proceeds on to the OS and disk configuration and need your input for these settings. Selection depends on role of your machine&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;Typical space requirement for Solaris 7 is given here.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;[   ] Entire Distribution plus OEM support 64-bit 1242.00 MB (F4 to Customize&lt;br /&gt;[X] Entire Distribution 64-bit .....…...….1215.00 MB&lt;br /&gt;[   ] Developer System Support 64-bit.... 1154.00 MB&lt;br /&gt;[   ] End User System Support 64-bit .….. 765.00 MB&lt;br /&gt;[   ] Core System Support .............. .334.00 MB&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;Entire distribution with OEM has all software with some third party software&lt;br /&gt;Entire distribution  has all software without   third party software .&lt;br /&gt;Developer system has run time libraries for C software etc.&lt;br /&gt;End user has  X windows and CDE environment .&lt;br /&gt;Core system is without X windows softwares etc.&lt;br /&gt;If you are not sure select entire distribution.&lt;br /&gt;You will be presented with choice to select the boot disk among the disks present in the system ,unless you have reasons  select the c0t0d0 at boot disk.&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;[ X ] c0t0d0 (17269 MB) boot disk 17269 MB&lt;br /&gt;[   ] c0t1d0 (17269 MB) 17269 MB&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;overlap partition represents entire disk and is slice s2 of the disk.&lt;br /&gt;If any of the disk contain a preexisting partition you will be given a choice to  preserve the partition .&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;Next the current layout is given ( if existing ) and you are asked to select between Automatic and Custom layout of disk partitions.&lt;br /&gt;Automatic layout make a single partition of entire boot disk .&lt;br /&gt;Customize option gives and option to create the partitions and select the sizes .  Things to keep in mind while doing interactive or custom installation&lt;br /&gt;Additional space is required in /var &amp;amp; /home  if server is to handle  mail and printing as mail and print files are formed in /var &amp;amp; if the user home directories are to be located on /home partition&lt;br /&gt;A sample partition table may look like following .&lt;/span&gt; &lt;br /&gt;&lt;span style="color:#33cc00;"&gt;File system/Mount point Disk/Slice Size&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;---------------------------------------&lt;br /&gt;/           c0t0d0s0       300 MB&lt;br /&gt;swap        c0t0d0s1       2000 MB&lt;br /&gt;overlap     c0t0d0s2       17269 MB&lt;br /&gt;/usr        c0t0d0s3       2000 MB&lt;br /&gt;/opt        c0t0d0s4       1000 MB&lt;br /&gt;/var        c0t0d0s5       1000 MB&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;&gt; The swap partition size depends on the size of RAM in the system if you are not sure of its size keep it double the RAM or more than RAM in the system.&lt;br /&gt;&gt; If you are not sure of individual partition sizes of   /    , /usr   /opt &amp;amp; /var make one partition as / and keep its size sufficiently higher than the distribution size you have selected in earlier steps . Always keep in mind the future software that you might have to install like compilers applications etc and log files that will be generated and accumulate in /var directory or partition.&lt;br /&gt;After you have specified the partition sizes it gives summary and error if any&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;Installation Option: Initial&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;Boot Device:            c0t0d0s0&lt;br /&gt;Client Services:        None  &lt;br /&gt;Software: Solaris 2.7, Entire Distribution&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt; &lt;br /&gt;File System and Disk Layout:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;/          c0t0d0s0     300 MB&lt;br /&gt;swap       c0t0d0s1     2000 MB&lt;br /&gt;/usr       c0t0d0s3     2000 MB&lt;br /&gt;/opt       c0t0d0s4     1000 MB&lt;br /&gt;/var       c0t0d0s5     1000 MB&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;one more question is asked about rebooting &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;[X] Auto Reboot&lt;br /&gt;[  ] Manual Reboot&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;Afterwards it starts configuring disk making partitions and installing software indicating the progress in a table .&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;MBytes Installed: 700.66&lt;br /&gt;MBytes Remaining: 0.00&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Installing:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;                         &lt;br /&gt;0   20    40    60    80    100&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;After the installation is complete it customizes system files , devices ,logs , installs patches which are there in OS CD for that release. You can install recommended  latest patches later&lt;br /&gt;System then  reboots or ask you to reboot depending upon the choice selected earlier .&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a name="4. After Installation"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;5. After Installation&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;After rebooting it asks for new root passed and  comes to console prompt where you can login as root install patches ,additional softwares , make user etc. etc.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-2775440685528570986?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/2775440685528570986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=2775440685528570986' title='40 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/2775440685528570986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/2775440685528570986'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/09/solaris-installation-step-by-step-guide.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>40</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7887840902329446070</id><published>2009-09-21T02:03:00.001-07:00</published><updated>2009-09-21T03:23:40.814-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-9'/><title type='text'></title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;color:#33cc00;"&gt;&lt;strong&gt;How to install Ubuntu : The Ubuntu Installation Guide&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;When it comes to installing &lt;a href="http://www.ubuntu.com/getubuntu"&gt;Ubuntu&lt;/a&gt;, there are so many useful snippets of information on blogs and guides all over the internet. If you Google “How to install Ubuntu”, you’ll see what I mean.&lt;br /&gt;For an Ubuntu beginner or curious Windows intermediate user however, there’s no single, simple source of information when it comes to trying out your first Ubuntu installation. One thing I have noticed is that there’s a lot of technical jargon and sometimes unnecessary terminal commands in lengthy forum posts, but no simple “how to” guides, which I think might put some people off! A shame, when you think about how easy Ubuntu is to install, use and &lt;a href="http://seogadget.co.uk/ubuntu-intrepid-ibex-installation/"&gt;tweak to look really cool&lt;/a&gt;!&lt;br /&gt;This post will talk you through your first Ubuntu installation, hopefully teaching you everything you need to know to give Ubuntu a try without breaking or removing your existing Windows installation. The end result will be a “vanilla” Ubuntu Installation running simultaneously with your Windows installation using either the &lt;a href="http://www.gnu.org/software/grub/"&gt;GRUB bootloader&lt;/a&gt;, or WUBI, depending on how far you’d like to go on your first Ubuntu experience.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5383856010800134770" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdMhFWX-nI/AAAAAAAAATA/EIl85e5N0r8/s320/2.jpg" border="0" /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;I hope my guide makes installing Ubuntu an enjoyable, simple experience. By the end of the guide you should have a dual boot Windows / Ubuntu machine that happily plays music, video, and acts as a perfectly usable home office computer with &lt;/span&gt;&lt;a href="http://www.openoffice.org/"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Openoffice 3.0&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;. For the really adventurous you could even run Windows XP inside Virtualbox, which is linked to later on in the guide. The Ubuntu OS is unique and seriously cool, so, enjoy the trip. &lt;img id="BLOGGER_PHOTO_ID_5383857091353735234" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 204px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdNf-ubcEI/AAAAAAAAATI/a41XFfmSOPs/s320/3.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;How to install Ubuntu from a CD:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;1) Download the Ubuntu ISO from &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.ubuntu.com/getubuntu/download"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;http://www.ubuntu.com/getubuntu/download&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt; and save to your desktop&lt;br /&gt;2) Burn the ISO image to a blank CD using Roxio CD creator or similar:&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383857466566454482" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdN10gHLNI/AAAAAAAAATQ/z5wbJfC1AjA/s320/4.gif" border="0" /&gt;&lt;br /&gt;3) Run the CD from “My Computer” – the CD should ask permission to run at which point you’ll see this option screen: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383857821008045026" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdOKc5ko-I/AAAAAAAAATY/YqDBCo1czXc/s320/5.gif" border="0" /&gt;&lt;br /&gt;4) If you’d like to &lt;/span&gt;&lt;a href="http://seogadget.co.uk/how-to-install-ubuntu-using-wubi-from-windows-vista/"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;install Ubuntu using Wubi&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;, select “install inside Windows” and follow the instructions. Installing with WUBI is ideal for a first taste of Ubuntu as you can remove from add/remove programs in Windows later on. This install process is really easy but you don’t get the same performance as if Ubuntu had a separate partition running on its EXT3 file system. The following screens are all based on the Wubi installer process, so you can follow the rest of the instructions below.&lt;br /&gt;&lt;strong&gt;If you’d like to install Ubuntu separately to Windows, then skip to point 7) below.&lt;br /&gt;Here’s what you see next: &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;img id="BLOGGER_PHOTO_ID_5383858213304025522" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 248px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdOhSUOQbI/AAAAAAAAATg/jK8X7g2xIHc/s320/6.png" border="0" /&gt;&lt;br /&gt;&lt;div&gt;&lt;/strong&gt;If you’ve got the space on your hard drive, go for 30gb or more for the installation size.&lt;br /&gt;5) Now configure your installation using the simple settings options. You can specify the location of the Ubuntu installation on your Windows partition, the size of the Ubuntu installation, the Ubuntu flavour (Ubuntu, Kubuntu, Xubuntu, etc), your preferred language, and a username and password for the Ubuntu system.&lt;br /&gt;When you click install, you’ll see this screen:&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5383858476041361282" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 248px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdOwlFr14I/AAAAAAAAATo/c-B5ZgZ6RpU/s320/7.gif" border="0" /&gt;&lt;br /&gt;As soon as the files have finished downloading, you’ll see this: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5383859085517658994" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 248px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdPUDkKG3I/AAAAAAAAATw/ZUTkJThGSxI/s320/8.png" border="0" /&gt;&lt;br /&gt;6) That’s it! Click reboot now, and select “Ubuntu” on the startup screen. You now have a fully functional dual boot Windows / Ubuntu machine.&lt;br /&gt;7) Click “Demo and full installation” and your computer will restart and boot into Ubuntu.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;Here’s a guide on how to &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://seogadget.co.uk/how-to-resize-a-windows-vista-partition/"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;resize or shrink your Windows Vista partition&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;. Follow those instructions before you reboot into the live version of Ubuntu and you’ll have a really easy time during the following steps. Maybe you’d like to install from a USB? Let’s have a quick look at the process of installing from a USB before we continue:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;br /&gt;&lt;span style="color:#333333;"&gt;&lt;strong&gt;&lt;span style="font-size:100%;color:#33cc00;"&gt;Here’s how to install Ubuntu on a USB drive from Windows Vista:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;span style="color:#333333;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;Format your USB stick with a FAT32 partition from Windows. You can get to the format dialogue by opening My Computer and right mouse clicking the removable drive icon. Click “Format” and follow the settings in the image below. You need a minimum 2gb USB stick. &lt;/span&gt;&lt;br /&gt;&lt;a href="http://seogadget.co.uk/wp-content/uploads/2009/01/format-usb-drive-for-startup.gif"&gt;&lt;/a&gt;&lt;img id="BLOGGER_PHOTO_ID_5383859723460657490" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 185px; CURSOR: hand; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdP5MFnwVI/AAAAAAAAAT4/SArZQ7iiGqM/s320/10.gif" border="0" /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;9) Download &lt;/span&gt;&lt;a href="http://lubi.sourceforge.net/unetbootin.html"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;UnetBootin&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;. UNetbootin allows for the installation of various Linux/Ubuntu distributions to a partition or USB drive, so it’s no different from a standard install, only it doesn’t need a CD. The coolest thing about the application is that it’s a “portable” app. You don’t need to install it into Windows meaning UNetbootin will run on your Windows PC without “admin” privileges. &lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;/span&gt;&lt;a href="http://seogadget.co.uk/wp-content/uploads/2009/01/unetbootin.gif"&gt;&lt;/a&gt;&lt;img id="BLOGGER_PHOTO_ID_5383860186418594786" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 234px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdQUIvZQ-I/AAAAAAAAAUA/eTw54lHiUaw/s320/11.gif" border="0" /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;The new version of Ubuntu isn’t in the Distribution list supplied with UNetbootin yet, so use the downloaded Ubuntu ISO from earlier on. Add the ISO using the “Diskimage”, make sure your USB drive is selected below and click OK.&lt;br /&gt;The ISO transfers to the USB pretty quickly, so soon after you click OK you’ll see this screen: &lt;img id="BLOGGER_PHOTO_ID_5383860411618777426" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 234px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdQhPrTWVI/AAAAAAAAAUI/ANVn-1FzQIc/s320/12.gif" border="0" /&gt;&lt;br /&gt;10) That’s it – when the installation process is complete, restart your computer and make sure it’s set up to boot from USB. On my HP Laptop, pressing F9 on the boot screen shows a boot order menu. Selecting “USB Hard Drive” follows a black screen, an Ubuntu logo, and finally, your new Ubuntu desktop appears. &lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;div&gt;&lt;span style="font-family:Georgia;font-size:100%;color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Completing your Ubuntu installation, step by step&lt;/strong&gt;&lt;br /&gt;Installing Ubuntu is so easy that it requires very little effort past this point. If you’ve managed to repartition your hard drive and restart your computer you’ll sail through the next few steps:&lt;br /&gt;11) Click “install” on the live desktop (top left) &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5383860887660443778" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 200px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdQ89EeuII/AAAAAAAAAUY/SpDLqC0zLG4/s320/14.gif" border="0" /&gt;&lt;br /&gt;12) Choose your language in the welcome screen&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383861242770312610" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdRRn9RTaI/AAAAAAAAAUg/IaLG0cwSKj8/s320/15.gif" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://seogadget.co.uk/wp-content/uploads/2008/06/welcome1.gif"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;13) Choose your location &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383861589658768674" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdRl0N7FSI/AAAAAAAAAUo/RzgXLNSR7Yo/s320/16.gif" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://seogadget.co.uk/wp-content/uploads/2008/06/welcome2.gif"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;14) Choose your keyboard layout&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383862177601726466" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrdSICecqAI/AAAAAAAAAUw/TpbHvFfIHPg/s320/17.gif" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://seogadget.co.uk/wp-content/uploads/2008/06/welcome31.gif"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;15) Set up your disk partition. This is probably the most “technical” part of the installation. When I &lt;/span&gt;&lt;a href="http://seogadget.co.uk/how-to-resize-a-windows-vista-partition/"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;shrunk my Windows Vista drive volume&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;, I never formatted the new partition, which means the “use the largest continuous free space” option works nicely:&lt;br /&gt;&lt;/span&gt;&lt;a href="http://seogadget.co.uk/wp-content/uploads/2008/06/diskpartition4.gif"&gt;&lt;/a&gt;&lt;img id="BLOGGER_PHOTO_ID_5383862765582012434" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrdSqQ330BI/AAAAAAAAAVA/3dhAQs4MEH0/s320/18.gif" border="0" /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;16) Choose your username and password: &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383863093987288898" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdS9YRyp0I/AAAAAAAAAVI/J4squ925iC0/s320/19.gif" border="0" /&gt;&lt;br /&gt;17) Migrate your Windows documents and settings&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383863407796802354" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdTPpTz0zI/AAAAAAAAAVQ/NBDTBhrjNNI/s320/20.gif" border="0" /&gt;&lt;br /&gt;18) You’re now ready to install your new Ubuntu installation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc33cc;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383863727554665234" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 237px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdTiQgBmxI/AAAAAAAAAVY/OJ5n-mD9Ig4/s320/21.gif" border="0" /&gt;&lt;br /&gt;19) When the installation has finished, restart your computer (you’ll be instructed to remove your cd rom or USB drive). You’re now ready to begin using Ubuntu!&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7887840902329446070?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7887840902329446070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7887840902329446070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7887840902329446070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7887840902329446070'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/09/how-to-install-ubuntu-ubuntu.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdMhFWX-nI/AAAAAAAAATA/EIl85e5N0r8/s72-c/2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-9172435169319783071</id><published>2009-09-18T01:17:00.000-07:00</published><updated>2009-09-21T04:05:11.653-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-9'/><title type='text'></title><content type='html'>&lt;span style="font-size:180%;"&gt; &lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;span style="font-size:180%;color:#33cc00;"&gt;&lt;strong&gt;Install Windows XPInstallation process&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Installing Windows XP can take up to two hours. To make the process more manageable, it has been broken up into several sections. When you are ready, install Windows XP:&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;•&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/install.mspx#begin"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Part 1: Begin the installation&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;•&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/install.mspx#continue"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Part 2: Continue the installation&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;•&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/install.mspx#complete"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Part 3: Complete the installation&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Part 1: Begin the installation&lt;br /&gt;1.Insert the Windows XP CD into your computer and restart your computer.&lt;br /&gt;2.If prompted to start from the CD, press SPACEBAR. If you miss the prompt (it only appears for a few seconds), restart your computer to try again.&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5383872514230256882" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 200px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdbhtavBPI/AAAAAAAAAYY/UYYJLMmXSgM/s320/xp-setup-0-press-any-key-to.jpg" border="0" /&gt;&lt;br /&gt;3.Windows XP Setup begins. During this portion of setup, your mouse will not work, so you must use the keyboard. On the Welcome to Setup page, press ENTER.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5383873882756037826" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 198px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdcxXktPMI/AAAAAAAAAYw/EbLJNn2sV5s/s320/xp3.jpg" border="0" /&gt;&lt;br /&gt;4.On the Windows XP Licensing Agreement page, read the licensing agreement. Press the PAGE DOWN key to scroll to the bottom of the agreement. Then press F8. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5383873511235214994" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 198px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdcbvjPXpI/AAAAAAAAAYo/JDpNt3QGe_A/s320/xp4.jpg" border="0" /&gt;&lt;br /&gt;5.This page enables you to select the hard disk drive on which Windows XP will be installed. Once you complete this step, all data on your hard disk drive will be removed and cannot be recovered. It is extremely important that you have a recent backup copy of your files before continuing. When you have a backup copy, press D, and then press L when prompted. This deletes your existing data.&lt;br /&gt;6.Press ENTER to select Unpartitioned space, which appears by default. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383872761726313970" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 198px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdbwHaZJfI/AAAAAAAAAYg/n1OiUdiMYaM/s320/xp6.jpg" border="0" /&gt;&lt;br /&gt;7.Press ENTER again to select Format the partition using the NTFS file system, which appears by default.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383865703922366066" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 198px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrdVVTCzdnI/AAAAAAAAAWA/0-Jkc_YeKCc/s320/xp7.jpg" border="0" /&gt;&lt;br /&gt;8.Windows XP erases your hard disk drive using a process called formatting and then copies the setup files. You can leave your computer and return in 20 to 30 minutes.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5383865897143893362" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 198px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdVgi2Z_XI/AAAAAAAAAWI/7WN86EDIvrk/s320/xp8.jpg" border="0" /&gt;&lt;br /&gt;&lt;strong&gt;Part 2: Continue the installation&lt;/strong&gt; &lt;p&gt;&lt;span style="color:#cc33cc;"&gt;9.Windows XP restarts and then continues with the installation process. From this point forward, you can use your mouse. Eventually, the Regional and Language Options page appears. Click Next to accept the default settings. If you are multilingual or prefer a language other than English, you can &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/yourlanguage.mspx"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;change language settings after setup is complete&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;.&lt;img id="BLOGGER_PHOTO_ID_5383866119804344626" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrdVtgUy2TI/AAAAAAAAAWQ/82uTUXGe6b0/s320/xp9.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;10.On the Personalize Your Software page, type your name and your organization name. Some programs use this information to automatically fill in your name when required. Then, click Next.&lt;img id="BLOGGER_PHOTO_ID_5383866327527390930" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdV5mJ0_tI/AAAAAAAAAWY/j9N9qFWpfDQ/s320/xp10.jpg" border="0" /&gt;&lt;br /&gt;11.On the Your Product Key page, type your product key as it appears on your Windows XP CD case. The product key is unique for every Windows XP installation. Then, click Next. &lt;img id="BLOGGER_PHOTO_ID_5383866617934403122" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdWKgAQVjI/AAAAAAAAAWg/zgPcY_jumSs/s320/xp11.jpg" border="0" /&gt;&lt;br /&gt;12.On the Computer Name and Administrator Password page, in the Computer name box, type a name that uniquely identifies your computer in your house, such as FAMILYROOM or TOMS. You cannot use spaces or punctuation. If you connect your computer to a network, you will use this computer name to find shared files and printers. Type a strong password that you can remember in the Administrator password box, and then retype it in the Confirm password box. Write the password down and store it in a secure place. Click Next.&lt;img id="BLOGGER_PHOTO_ID_5383867161506289762" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdWqI95GGI/AAAAAAAAAWw/h-vbuTE5l6U/s320/xp12.jpg" border="0" /&gt;&lt;br /&gt;13.On the Date and Time Settings page, set your computer’s clock. Then, click the Time Zone down arrow, and select your time zone. Click Next.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383866854011473666" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdWYPdajwI/AAAAAAAAAWo/HGojQQN9Cnc/s320/xp13.jpg" border="0" /&gt;&lt;br /&gt;14.Windows XP will spend about a minute configuring your computer. On the Networking Settings page, click Next. &lt;img id="BLOGGER_PHOTO_ID_5383874113206155938" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/Srdc-yES-qI/AAAAAAAAAY4/37BpSgk3pl8/s320/xp14.jpg" border="0" /&gt;&lt;br /&gt;15.On the Workgroup or Computer Domain page, click Next.&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;img id="BLOGGER_PHOTO_ID_5383874385372967938" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrddOn969AI/AAAAAAAAAZA/mtlClr3aRB0/s320/xp15.jpg" border="0" /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;strong&gt;Part 3: Complete the installation&lt;/strong&gt; &lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;16.Windows XP will spend 20 or 30 minutes configuring your computer and will automatically restart when finished. When the Display Settings dialog appears, click OK. &lt;img id="BLOGGER_PHOTO_ID_5383867692877362258" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 94px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrdXJEeoNFI/AAAAAAAAAXA/xwbt0I3-LY0/s320/xp16.jpg" border="0" /&gt;&lt;br /&gt;17.When the Monitor Settings dialog box appears, click OK.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383867978573416146" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 120px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdXZsx4BtI/AAAAAAAAAXI/a2vQx9Io52Q/s320/xp17.jpg" border="0" /&gt;&lt;br /&gt;18.The final stage of setup begins. On the Welcome to Microsoft Windows page, click Next. &lt;img id="BLOGGER_PHOTO_ID_5383868292237425202" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdXr9RM-jI/AAAAAAAAAXQ/IGFfmRjPdh4/s320/xp18.jpg" border="0" /&gt;&lt;br /&gt;19.On the Help protect your PC page, click Help protect my PC by turning on Automatic Updates now. Then, click Next. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383868535648882018" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdX6IDBDWI/AAAAAAAAAXY/-IDKPtuRtcI/s320/xp19.jpg" border="0" /&gt;&lt;br /&gt;20.Windows XP will then check if you are connected to the Internet:&lt;br /&gt;•If you are connected to the Internet, select the choice that describes your network connection on the Will this computer connect to the Internet directly, or through a network? page. If you’re not sure, accept the default selection, and click Next.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;img id="BLOGGER_PHOTO_ID_5383868808527410226" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrdYKAmU9DI/AAAAAAAAAXg/4p0998FwQKY/s320/xp20.jpg" border="0" /&gt;&lt;br /&gt;If you use dial-up Internet access, or if Windows XP cannot connect to the Internet, you can connect to &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/network.mspx"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;the Internet&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt; after setup is complete. On the How will this computer connect to the Internet? page, click Skip.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383869109612572066" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdYbiOn7aI/AAAAAAAAAXo/6Wb1-4SiBaw/s320/xp-20.jpg" border="0" /&gt;&lt;br /&gt;21.Windows XP Setup displays the Ready to activate Windows? page. If you are connected to the Internet, click Yes, and then click Next. If you are not yet connected to the Internet, click No, click Next, and then skip to step 24. After setup is complete, Windows XP will automatically remind you to &lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/register.mspx"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;activate and register&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt; your copy of Windows XP. &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383869862116091714" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdZHVhcZ0I/AAAAAAAAAXw/kDwM1z8p_kQ/s320/xp21.jpg" border="0" /&gt;&lt;br /&gt;22.On the Ready to register with Microsoft? page, click Yes, and then click Next.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;span style="font-family:Georgia;font-size:100%;color:#000000;"&gt;&lt;/span&gt;&lt;img id="BLOGGER_PHOTO_ID_5383870179636336946" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdZZ0YK2TI/AAAAAAAAAX4/bFl4oXFDf5U/s320/xp22.jpg" border="0" /&gt;&lt;br /&gt;23.On the Collecting Registration Information page, complete the form. Then, click Next.&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5383871090900954082" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SrdaO3Gla-I/AAAAAAAAAYI/ZWN_gq1yY6Y/s320/xp23.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;24.On the Who will use this computer? page, type the name of each person who will use the computer. You can use first names only, nicknames, or full names. Then click Next. To add users after setup is complete or to specify a password to keep your account private, read &lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/accounts.mspx"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Create and customize user accounts&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5383871506948788882" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 238px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SrdanFAHkpI/AAAAAAAAAYQ/aB9-2cLAFw0/s320/xp24.jpg" border="0" /&gt;&lt;br /&gt;25.On the Thank you! page, click Finish. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/p&gt;&lt;img id="BLOGGER_PHOTO_ID_5383864772492927026" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 238px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SrdUfFMuIDI/AAAAAAAAAVg/mtYCC4KDw6Y/s320/xp25.jpg" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Congratulations! Windows XP setup is complete. You can log on by clicking your name on the logon screen. If you’ve installed Windows XP on a new computer or new hard disk drive, you can now use the &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/migrate.mspx"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;File and Settings Transfer Wizard&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt; to copy your important data to your computer or hard disk drive.&lt;br /&gt;After logon, take a few minutes to &lt;/span&gt;&lt;a href="http://www.microsoft.com/windowsxp/using/setup/winxp/validate.mspx"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;validate your copy of Windows&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;. Validation gives you access to hundreds of free downloads from the &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Microsoft Download Center&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;. To learn about the new features Windows XP provides, click the Start button, click All Programs, click Accessories, and then click Tour Windows XP.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-9172435169319783071?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/9172435169319783071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=9172435169319783071' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/9172435169319783071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/9172435169319783071'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/09/install-windows-xp-installation-process.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_4ozeb3d8zm0/SrdbhtavBPI/AAAAAAAAAYY/UYYJLMmXSgM/s72-c/xp-setup-0-press-any-key-to.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7891744907558869787</id><published>2009-09-17T02:57:00.000-07:00</published><updated>2009-09-21T02:24:51.000-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-9'/><title type='text'></title><content type='html'>&lt;h3 id="tocHeadRef"&gt;&lt;span style="font-size:0;"&gt;&lt;a id="2" jquery1253185370281="41"&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:180%;color:#33cc00;"&gt;Installing Windows 2000 Professional&lt;/span&gt;&lt;/h3&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;                loadTOCNode(2, 'summary');&lt;br /&gt;            &lt;/script&gt;&lt;br /&gt;&lt;span style="font-family:arial;color:#cc33cc;"&gt;To install Windows 2000 Professional, follow these steps:&lt;/span&gt; &lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;1.Start the installation by using one of the following methods:&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Start from the Windows 2000 Professional installation CD-ROM. Make sure that the CD-ROM is set to start before the hard disk starts. Insert the CD-ROM, and then when you are prompted, press any key to start the Windows 2000 Professional Setup program. &lt;/span&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Start from boot disks. Insert Disk 1, and then insert each of the remaining three floppy disks when you are prompted to do so. For additional information about creating boot disks for Windows 2000, click the article number below to view the article in the Microsoft Knowledge Base: &lt;/span&gt;&lt;div class="indent" jquery1253185370281="25"&gt;&lt;a class="KBlink" href="http://support.microsoft.com/kb/197063/EN-US/" jquery1253185370281="42"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;197063&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt; &lt;span class="pLink"&gt;(http://support.microsoft.com/kb/197063/EN-US/ ) &lt;/span&gt;How to Create Setup Boot Disks for Windows 2000 &lt;/span&gt;&lt;/div&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Start from within a current operating system. Insert the CD-ROM, and then, at a command prompt, type &lt;span class="userInput"&gt;&lt;var&gt;drive&lt;/var&gt;:\i386\winnt32.exe&lt;/span&gt; and then press ENTER, or if this is an installation on a computer that has no previous installation of Windows, type &lt;span class="userInput"&gt;&lt;var&gt;drive&lt;/var&gt;:\i386\winnt.exe&lt;/span&gt; and then press ENTER, where &lt;var&gt;drive&lt;/var&gt; is the letter of the CD-ROM drive.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;2.Setup inspects your computer's hardware configuration and then begins to install the Setup and driver files. When the &lt;b&gt;Microsoft Windows 2000 Professional&lt;/b&gt; screen appears, press ENTER to set up Windows 2000 Professional. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;3.Read the license agreement, and then press the F8 key to accept the terms of the license agreement and continue the installation. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;4.When the &lt;b&gt;Windows 2000 Professional Setup&lt;/b&gt; screen appears, either press ENTER to set up Windows 2000 Professional on the selected partition, or press C to create a partition in the unpartitioned space. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;5.If you choose to install Windows 2000 Professional on a file allocation table (FAT) partition, specify whether you want to: &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Leave the current file system intact. &lt;/span&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Format the partition as FAT16. &lt;/span&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Convert the existing file system to the NTFS file system. &lt;/span&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Format the partition by using the NTFS file system.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Press ENTER after you make your selection. Setup examines the existing hard disks and then copies the files that are needed to complete the installation of Windows 2000 Professional. After the files are copied, the computer restarts.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Important&lt;/b&gt; Do not press a key to boot from your CD-ROM drive when your computer restarts. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;6.When the Windows 2000 GUI Mode Setup Wizard appears, click &lt;b&gt;Next&lt;/b&gt; to start the wizard. Setup detects and installs such devices as a specialized mouse or keyboard. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;7.When the &lt;b&gt;Regional Options&lt;/b&gt; dialog box appears, customize your installation of Windows 2000 Professional for locale, number format, currency, time, date, and language, if necessary. Click &lt;b&gt;Next&lt;/b&gt;. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;8.In the &lt;b&gt;Personalize Your Software&lt;/b&gt; dialog box, type your name and the name of your organization, and then click &lt;b&gt;Next&lt;/b&gt;. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;9.In the &lt;b&gt;Product ID&lt;/b&gt; dialog box, type the 25-character product key, and then click &lt;b&gt;Next&lt;/b&gt;. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;10.In the &lt;strong class="uiterm"&gt;Computer Name and Password&lt;/strong&gt; dialog box, either accept the default name that Setup generates or assign a different name for the computer. When you are prompted for an administrative password, type a password for the Administrator account. (You can leave the box blank; however, this is not recommended.) Click &lt;b&gt;Next&lt;/b&gt;. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;11.In the &lt;strong class="uiterm"&gt;Date and Time Settings&lt;/strong&gt; dialog box, set the correct date and time for your computer. You can also specify which time zone you are in and set the computer to automatically adjust the clock for daylight saving time. Click &lt;b&gt;Next&lt;/b&gt;. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;12.Setup installs the networking software and detects your network settings. When the &lt;b&gt;Network Settings&lt;/b&gt; dialog box appears, click either &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;b&gt;Typical&lt;/b&gt; to set default network settings such as File and Print Sharing for Microsoft Networks, Client for Microsoft Networks, and TCP/IP protocol that uses Dynamic Host Configuration Protocol (DHCP), or &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;b&gt;Custom&lt;/b&gt; to specify the network components that you require for your network environment,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;and then click &lt;b&gt;Next&lt;/b&gt;.&lt;/span&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;13.In the &lt;strong class="uiterm"&gt;Workgroup or Computer Domain&lt;/strong&gt; dialog box, specify the workgroup or the domain to join. If you indicate that you are part of a domain, specify your domain user name and password. Click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;Setup installs the networking components. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;14.During the final stage of installation, Setup installs Start menu items, registers components, saves settings, and removes temporary files. When the &lt;strong class="uiterm"&gt;Completing the Windows 2000 Setup Wizard&lt;/strong&gt; dialog box prompts you to do so, remove the Windows 2000 CD-ROM, and then click &lt;b&gt;Finish&lt;/b&gt; to restart the computer. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;15.After the computer restarts, click &lt;b&gt;Next&lt;/b&gt; in the &lt;strong class="uiterm"&gt;Welcome to the Network Identification Wizard&lt;/strong&gt; dialog box. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;16.In the &lt;strong class="uiterm"&gt;Users of This Computer&lt;/strong&gt; dialog box, specify either that users must enter a user name and password or that you want Windows 2000 to automatically log on a specific user when the computer starts. Click &lt;b&gt;Finish&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;When the Windows 2000 Professional desktop appears, the installation is complete.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7891744907558869787?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7891744907558869787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7891744907558869787' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7891744907558869787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7891744907558869787'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/09/blog-post.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6158855528211406909</id><published>2009-08-27T02:33:00.000-07:00</published><updated>2009-08-31T01:25:01.497-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-8'/><title type='text'></title><content type='html'>&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;font-size:180%;"&gt;Resource-Allocation Graph&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;A set of vertices V and a set of edges E.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;V is partitioned into two types:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;=&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;FP = {P1, P2, …, Pn}, the set consisting of all the processes in the system.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;=&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;FR = {R1, R2, …, Rm}, the set consisting of all resource types in the system.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;request edge – directed edge P1 ® Rj.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;assignment edge – directed edge Rj ® Pi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5374583101799039890" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 216px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SpZa2vaMg5I/AAAAAAAAAO4/KIgnhlSB9s4/s320/img8.jpg" border="0" /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;Resource-Allocation Graph Algorithm&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Claim edge Pi ® Rj indicated that process Pj may request resource Rj; represented by a dashed line.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Claim edge converts to request edge when a process requests a resource.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;When a resource is released by a process, assignment edge reconverts to a claim edge.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Resources must be claimed a priori in the system. &lt;/span&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;Resource-Allocation Graph and Wait-for Graph&lt;/span&gt; &lt;/span&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;p align="center"&gt;&lt;strong&gt;&lt;span style="font-size:100%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5374580199264864994" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 210px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SpZYNyoHyuI/AAAAAAAAAOw/NGVtWGeCODY/s320/Picture13.png" border="0" /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-size:78%;"&gt;Resource-Allocation Graph&lt;/span&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:78%;"&gt;Corresponding wait-for graph&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;strong&gt;How did you know if there is a deadlock based on a resource allocation graph?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;In a multiprogramming system, processes request resourceused by other processes then the process enters a processes are also in a waiting state, we have deadlock.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:90;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:90;"&gt;&lt;span style="font-size:75;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:90;"&gt;&lt;span style="font-size:75;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6158855528211406909?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6158855528211406909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6158855528211406909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6158855528211406909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6158855528211406909'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/resource-allocation-graph-set-of.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_4ozeb3d8zm0/SpZa2vaMg5I/AAAAAAAAAO4/KIgnhlSB9s4/s72-c/img8.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-598959484095806397</id><published>2009-08-27T01:42:00.000-07:00</published><updated>2009-08-31T01:47:45.466-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-8'/><title type='text'></title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;Example of a Resource Allocation Graph&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_4ozeb3d8zm0/SpZM5Bfk91I/AAAAAAAAAOI/39lZwytVgTU/s1600-h/Picture2.png"&gt;&lt;span style="font-size:130%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5374567747850401618" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 221px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SpZM5Bfk91I/AAAAAAAAAOI/39lZwytVgTU/s320/Picture2.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;Resource allocation graphs are drawn in order to see the allocatioand resources easily. In these graphs, processes are represented are represented by boxes. Resource boxes have some number available number of that resource, that is number of instances.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;• &lt;span style="font-family:courier new;"&gt;If the resource allocation graph contains no cycles then there is no deadlock in the system at that instance. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;• If the resource allocation graph contains a cycle then a deadlock may exist. &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;• If there is a cycle, and the cycle involves only resources which have a single instance, then a deadlock has occurred.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;font-size:130%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;font-size:130%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;font-size:130%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;font-size:130%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;font-size:130%;"&gt;Resource Allocation Graph With A Deadlock&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5376044019768566770" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 222px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SpuLjW8rI_I/AAAAAAAAAPA/6zQwRpc0cPo/s320/Picture1.png" border="0" /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;In addition to the request and assignment edges, a claim edge is also introduced.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;Claim edge Pi ® Rj indicated that process Pj may request resource Rj in future; represented by a dashed line. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;Claim edge converts to request edge when a process requests a resource. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;When a resource is released by a process, assignment edge reconverts to a claim edge.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;Resources must be claimed a priori in the system. That is, before a process starts executing, all of its claim edges must already appear in the resource-allocation graph.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;Suppose that process Pi requests resource Rj. The request can be granted only if converting the request edge if converting the request edge Pi®Rj to an assignment edge does not result in a cycle in the resource-allocation graph. That is we use a cycle detection algorithm is used. If no cycle exits, the process Pi will have to wait. &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;Resource Allocation Graph With A Cycle But No Deadlock&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_4ozeb3d8zm0/SpZNgIkoprI/AAAAAAAAAOQ/VwFNWgwl57k/s1600-h/Picture3.png"&gt;&lt;span style="font-size:130%;color:#33cc00;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5374568419765561010" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 252px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SpZNgIkoprI/AAAAAAAAAOQ/VwFNWgwl57k/s320/Picture3.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;color:#33cc00;"&gt; *&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;2 resources "R1, R2"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;4 processes "P1, P2, P3, P4"&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;P1 and P3 is requesting a process to R1 and R2 respectively.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;P2 and P3 holds an instance of R1&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;P1 and P4 holds an instance of R2&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;There is no DeadLock&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;Resource-Allocation Graph For Deadlock Avoidance&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/_4ozeb3d8zm0/SpZOQcRYltI/AAAAAAAAAOY/tjfcmjb3Rj4/s1600-h/Picture4.png"&gt;&lt;span style="font-family:courier new;font-size:130%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5374569249687246546" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 318px" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SpZOQcRYltI/AAAAAAAAAOY/tjfcmjb3Rj4/s320/Picture4.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;The Resource Allocation Graph (RAG) is composed of 2 processes and 2 resources.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;· P1 holds an instance of R1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;· P2 requests an instance of R1&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;· P1 and P2 may request an instance of R2&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:130%;color:#cc33cc;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:130%;color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:130%;color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:130%;color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:130%;color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:130%;color:#33cc00;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:130%;color:#33cc00;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:130%;color:#33cc00;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:130%;color:#33cc00;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:130%;color:#33cc00;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:130%;color:#33cc00;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:courier new;color:#33cc00;"&gt;&lt;strong&gt;Unsafe State In Resource-Allocation Graph&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_4ozeb3d8zm0/SpZPTuKeLPI/AAAAAAAAAOg/YLo7lPDJuJo/s1600-h/Picture5.png"&gt;&lt;span style="font-size:130%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5374570405541326066" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 319px" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SpZPTuKeLPI/AAAAAAAAAOg/YLo7lPDJuJo/s320/Picture5.png" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;*&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;the graph shows that R1 is holding the instances of P1, then P1 is requesting for a resource in R2, then R2 is holding the instances of P2 and P2 is requesting instance of R1&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;a href="http://4.bp.blogspot.com/_4ozeb3d8zm0/SpZLhNc384I/AAAAAAAAAN4/uqfJ3nvZJlw/s1600-h/Picture1.png"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-598959484095806397?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/598959484095806397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=598959484095806397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/598959484095806397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/598959484095806397'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/example-of-resource-allocation-graph.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_4ozeb3d8zm0/SpZM5Bfk91I/AAAAAAAAAOI/39lZwytVgTU/s72-c/Picture2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6038803649286184942</id><published>2009-08-20T04:15:00.000-07:00</published><updated>2009-08-20T04:19:03.859-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-8'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;color:#009900;"&gt;&lt;strong&gt;Methods for Handling&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-size:180%;color:#009900;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#cc33cc;"&gt;Deadlock&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;•&lt;/span&gt; Prevent&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;– write code such that the necessary conditions can&lt;br /&gt;never hold simultaneously&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;•&lt;/span&gt; Avoid&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;– dynamically ensure that a deadlock state is not&lt;br /&gt;reachable.&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;&lt;span style="color:#000000;"&gt;•&lt;/span&gt; Detect and recover&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:#cc33cc;"&gt;– allow deadlock but provide mechanisms to detect&lt;br /&gt;it and recover (e.g., kill a process)&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;&lt;span style="color:#000000;"&gt;•&lt;/span&gt; Ignore (ostrich approach)&lt;br /&gt;pretend they cannot occur and reboot if they do.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6038803649286184942?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6038803649286184942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6038803649286184942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6038803649286184942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6038803649286184942'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/methods-for-handling-deadlock-prevent.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-5433157507718025326</id><published>2009-08-20T04:13:00.000-07:00</published><updated>2009-08-20T04:15:03.939-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-8'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;color:#009900;"&gt;&lt;strong&gt;Deadlock Prevention&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Disallow one of the four necessary conditions for deadlock&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Preventing deadlocks by constraining how requests for resources can be made in the system and how they are handled (system design). &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;The goal is to ensure that at least one of the necessary conditions for deadlock can never hold. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-5433157507718025326?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/5433157507718025326/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=5433157507718025326' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5433157507718025326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5433157507718025326'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/deadlock-prevention-disallow-one-of.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-8455926371311460524</id><published>2009-08-20T04:10:00.000-07:00</published><updated>2009-08-20T04:12:53.492-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-8'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;color:#009900;"&gt;&lt;strong&gt;Deadlock Detection&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Always grant resource request when possible. Periodically check for deadlocks. If a deadlock exists, recover from it. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-8455926371311460524?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/8455926371311460524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=8455926371311460524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8455926371311460524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8455926371311460524'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/deadlock-detection-always-grant.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7234337118993962923</id><published>2009-08-20T04:05:00.000-07:00</published><updated>2009-08-20T04:10:01.093-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-8'/><title type='text'></title><content type='html'>&lt;a name="SECTION00070000000000000000"&gt;&lt;span style="font-family:courier new;font-size:180%;color:#009900;"&gt;&lt;strong&gt;Deadlock Recovery&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Abort all deadlock processes and release resource - too drastic - will lead to loss of work.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;Abort one process at a time - releasing resources until no deadlock&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;How do we determine which process to abort first ? - priority ordering, process which has done least work. &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Selectively restart processes from a previous checkpoint i.e. before it claimed any resources difficult to achieve - sometimes impossible. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Successively withdraw resources from a process and give to another process until deadlock is broken. How to choose which processes and which resources ? &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color:#009900;"&gt;Complex decisions due to the large number of processes present within a system. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#009900;"&gt;Difficult to automate. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#009900;"&gt;Use Operator to resolve conflicts - BUT this requires the operator to have skill and understanding of what processes are actually doing. &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7234337118993962923?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7234337118993962923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7234337118993962923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7234337118993962923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7234337118993962923'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/deadlock-recovery-abort-all-deadlock.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-804729780565056347</id><published>2009-08-20T03:59:00.000-07:00</published><updated>2009-08-20T04:04:37.526-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-8'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;color:#009900;"&gt;&lt;strong&gt;Deadlock Characterization&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#009900;"&gt;Necessary conditions:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;1) Mutual exclusion:&lt;br /&gt;&lt;/span&gt;          &lt;span style="color:#cc33cc;"&gt; • at least one shared resource is held&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;2) Hold and wait:&lt;/span&gt;&lt;br /&gt;         &lt;span style="color:#cc33cc;"&gt;  • a process must be holding at least one resource and&lt;br /&gt;            waiting for another&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;3) No preemption:&lt;br /&gt;&lt;/span&gt;        &lt;span style="color:#cc33cc;"&gt;   • cannot steal a resource away from a process&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;4) Circular wait:&lt;br /&gt;&lt;/span&gt;          &lt;span style="color:#cc33cc;"&gt; • E.g., A is waiting for B who is waiting for C who is&lt;br /&gt;              waiting for A.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-804729780565056347?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/804729780565056347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=804729780565056347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/804729780565056347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/804729780565056347'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/deadlock-characterization-necessary.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7621591004156059437</id><published>2009-08-13T04:16:00.000-07:00</published><updated>2009-08-16T03:03:30.793-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-6'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;color:#009900;"&gt;&lt;strong&gt;Real Time Scheduling&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;•&lt;span style="color:#cc33cc;"&gt; &lt;span style="font-size:85%;"&gt;Correctness of the system may depend not only on the logical result of the computation but also on the time when these results are produced, e.g.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#009900;"&gt;–&gt;&lt;/span&gt; &lt;span style="color:#cc33cc;"&gt;Tasks attempt to control events or to react to events that take place in the outside world&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#009900;"&gt;–&gt;&lt;/span&gt; &lt;span style="color:#cc33cc;"&gt;These external events occur in real time and processing must be able to keep up&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#009900;"&gt;–&gt;&lt;/span&gt; &lt;span style="color:#cc33cc;"&gt;Processing must happen in a timely fashion,• neither too late, nor too early&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:#cc33cc;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-family:courier new;color:#009900;"&gt;&lt;strong&gt;Thread Scheduling&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt;Distinction between user-level and kernel-level threads&lt;br /&gt;OS only schedules kernel-level threads. User-level threads are scheduled through a direct or indirect (LWP) mapping&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt;Many-to-one and many-to-many models, thread library schedules user-level threads to run on LWP&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt;Known as process-contention scope (PCS) since scheduling competition is within the process&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt;Kernel thread scheduled onto available CPU is system-contention scope (SCS) – competition among all threads in system&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt;Typically – PCS is priority based. Programmer can set user-level thread priorities&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;span style="font-size:180%;color:#009900;"&gt;&lt;strong&gt;thread scheduling criteria:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;&lt;span style="font-size:180%;color:#009900;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;-&gt;&lt;/span&gt; a priority, or in fact usually multiple "priority" settings that we'll discuss below;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;-&gt;&lt;/span&gt; a quantum, or number of allocated timeslices of CPU, which essentially determines the amount of CPU time a thread is allotted before it is forced to yield the CPU to another thread of the same or lower priority&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;-&gt;&lt;/span&gt; a state, notably "runnable" vs "waiting";&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;-&gt;&lt;/span&gt; metrics about the behaviour of threads, such as recent CPU usage or the time since it last ran (i.e. had a share of CPU), or the fact that it has "just received an event it was waiting for". &lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="color:#009900;"&gt;&lt;strong&gt;Multiprocessor Scheduling&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt; is an NP-Complete optimization problem.&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt; Given a set of runnable threads, and a set of CPUs, assign threads to CPUs&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt; Same considerations as uniprocessorscheduling&lt;br /&gt;(Fairness, efficiency, throughput, response time…)&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt; But also new considerations:&lt;br /&gt;* Load balancing&lt;br /&gt;* Processor affinity&lt;br /&gt;&lt;span style="color:#009900;"&gt;-&gt;&lt;/span&gt; Will consider only shared memory multiprocessor&lt;br /&gt;Central queue – queue can be a bottleneck&lt;br /&gt;Distributed queue – load balancing between queue &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7621591004156059437?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7621591004156059437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7621591004156059437' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7621591004156059437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7621591004156059437'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/real-time-scheduling-correctness-of.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6048006590023340831</id><published>2009-08-10T19:32:00.000-07:00</published><updated>2009-08-10T19:40:41.583-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-6'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;color:#009900;"&gt;&lt;strong&gt;CPU Scheduling Algorithms&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Scheduling Algorithms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;1.First-come, first-served (FCFS) scheduling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;2.Shortest-job first (SJF) scheduling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;3.Priority scheduling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;4.Round-robin scheduling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;5.Multilevel queue scheduling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;6.Multilevel feedback queue scheduling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#33cc00;"&gt;-&gt;&lt;/span&gt;&lt;strong&gt; &lt;/strong&gt;&lt;span style="color:#cc33cc;"&gt;First-come, First-served (FCFS) scheduling&lt;/span&gt; &lt;span style="color:#33cc00;"&gt;is the simplest scheduling algorithm, but it can cause short processes to wait for very long processes.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;-&gt; &lt;span style="color:#cc33cc;"&gt;Shortest-job-first (SJF) scheduling&lt;/span&gt; is provably optimal, providing the shortest average waiting time. Implementing SJF scheduling is difficult because predicting the length of the next CPU burst is difficult. The SJF algorithm is a special case of the general priority-scheduling algorithm, which simply allocates the CPU to the highest-priority process. Both priority and SJF scheduling may suffer from starvation. Aging is a technique to prevent starvation.&lt;br /&gt;-&gt;&lt;span style="color:#cc33cc;"&gt;Priority Based Scheduling&lt;/span&gt; Run highest-priority processes first, use round-robin among processes of equal priority. Re-insert process in run queue behind all processes of greater or equal priority.Allows CPU to be given preferentially to important processes.Scheduler adjusts dispatcher priorities to achieve the desired overall priorities for the processes, e.g. one process gets 90% of the CPU.Comments: In priority scheduling, processes are allocated to the CPU on the basis of an externally assigned priority. The key to the performance of priority scheduling is in choosing priorities for the processes.&lt;br /&gt;-&gt; &lt;span style="color:#cc33cc;"&gt;Round-robin (RR) scheduling&lt;/span&gt; is more appropriate for a time-shared (interactive) system. RR scheduling allocates the CPU to the first process in the ready queue for q time units, where q is the time quantum. After q time units, if the process has not relinquished the CPU, it is preempted and the process is put at the tail of the ready queue. The major problem is the selection of the time quantum. If the quantum is too large, RR scheduling degenerates to FCFS scheduling; if the quantum is too small, scheduling overhead in the form of context-switch time becomes excessive.The FCFS algorithm is nonpreemptive, the RR algorithm is preemptive. The SJF and priority algorithms may be either preemptive or nonpreemptive.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;-&gt; &lt;span style="color:#cc33cc;"&gt;Multilevel queue algorithms&lt;/span&gt; allow different algorithms to be used for various classes of processes. The most common is a foreground interactive queue which uses RR scheduling, and a background batch queue, which uses FCFS scheduling. Multilevel feedback queues allow processes to move from one queue to another.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Because such a wide variety of scheduling algorithms are available, we need methods to select among them. Analytic methods use mathematical analysis to determine the performance of an algorithm. Simulation methods determine performance by imitating the scheduling algorithm on a “representative” sample of processes, and computing the resulting performance.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;Operating Systems supporting threads at the kernel level must schedule threads - not processes - for execution. This is the case with Solaris 2 and Windows 2000 where both systems schedule threads using preemptive priority based on scheduling algorithm including support for real-time threads. The Linux process scheduler also uses a priority-based algorithm with real-time supports as well. The scheduling algorithms for these three operating systems typically favor interactive over batch and CPU-bound processes.systems typically favor interactive over batch and CPU-bound processes.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6048006590023340831?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6048006590023340831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6048006590023340831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6048006590023340831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6048006590023340831'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/cpu-scheduling-algorithms-scheduling_10.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-4610409767061538786</id><published>2009-08-10T19:10:00.000-07:00</published><updated>2009-08-10T19:39:34.274-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:times new roman;font-size:180%;color:#009900;"&gt;&lt;strong&gt;Substantial Information about Threads of atleast three OS&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:times new roman;font-size:180%;color:#009900;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;color:#009900;"&gt;&lt;strong&gt;WINDOWS XP THREAD&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="font-size:180%;"&gt;&lt;/span&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Implements the one-to-one mapping&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Each thread contains&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;-&gt; A thread id&lt;br /&gt;-&gt; Register set&lt;br /&gt;-&gt; Separate user and kernel stacks&lt;br /&gt;-&gt; Private data storage area&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#33cc00;"&gt;The register set, stacks, and private storage area are known as the context of the threads&lt;br /&gt;The primary data structures of a thread include:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;-&gt; ETHREAD (executive thread block)&lt;br /&gt;-&gt; KTHREAD (kernel thread block)&lt;br /&gt;-&gt; TEB (thread environment block)&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="font-size:180%;color:#009900;"&gt;&lt;strong&gt;JAVA THREADS&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;strong&gt;&lt;span style="font-size:180%;color:#009900;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;-&gt; Java threads are managed by the JVM&lt;br /&gt;-&gt; Java threads may be created by:&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;span style="color:#33cc00;"&gt;Extending Thread class&lt;br /&gt;Implementing the Runnable interface&lt;/span&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:180%;color:#009900;"&gt;Windows 2000&lt;/span&gt;&lt;/strong&gt; &lt;p&gt;&lt;span style="font-size:180%;color:#33cc00;"&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;Implements the one-to-one mapping&lt;/span&gt; &lt;/strong&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#33cc00;"&gt;&lt;strong&gt;Each thread contains &lt;/strong&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;-&gt;A thread ID &lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;-&gt;Register set &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;-&gt;Separate user and kernel stacks for user and kernel modes &lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;-&gt;Private data storage area used by various run-time libraries and dynamic link libraries (DDLs) &lt;p&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;-&gt;The latter three are known as the context of the thread and are architecture-specific to HW.&lt;/span&gt;&lt;/p&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-4610409767061538786?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/4610409767061538786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=4610409767061538786' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4610409767061538786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4610409767061538786'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/windows-xp-thread-implements-one-to-one.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-5016224550636685641</id><published>2009-08-05T03:52:00.000-07:00</published><updated>2009-08-05T03:54:31.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;span style="font-size:130%;color:#009900;"&gt;Procedure-Consumer Example&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;PROCEDURE&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;A &lt;/span&gt;&lt;a href="http://www.docbook.org/tdg/en/html/procedure.html"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;Procedure&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt; encapsulates a task composed of &lt;/span&gt;&lt;a href="http://www.docbook.org/tdg/en/html/step.html"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;Step&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;s (and possibly, &lt;/span&gt;&lt;a href="http://www.docbook.org/tdg/en/html/substeps.html"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;SubSteps&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;). Procedures are usually performed sequentially, unless individual &lt;/span&gt;&lt;a href="http://www.docbook.org/tdg/en/html/step.html"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;Step&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;s direct the reader explicitly.Often it is important to assure that certain conditions exist before a procedure is performed, and that the outcome of the procedure matches the expected results. DocBook does not provide explicit semantic markup for these pre- and post-conditions. Instead, they must be described as steps (check the pre-conditions in the first step and the results in the last step), or described outside the body of the procedure. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;CONSUMER&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;Consumer is a broad label that refers to any individuals or &lt;/span&gt;&lt;a title="Household" href="http://en.wikipedia.org/wiki/Household"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;households&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt; that use &lt;/span&gt;&lt;a title="Good (economics)" href="http://en.wikipedia.org/wiki/Good_(economics)"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;goods and services&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt; generated within the &lt;/span&gt;&lt;a title="Economic system" href="http://en.wikipedia.org/wiki/Economic_system"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;economy&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;. The concept of a consumer is used in different contexts, so that the usage and significance of the term may vary.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-5016224550636685641?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/5016224550636685641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=5016224550636685641' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5016224550636685641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5016224550636685641'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/procedure-consumer-example-procedure.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-3751639094185809084</id><published>2009-08-05T03:50:00.000-07:00</published><updated>2009-08-05T03:51:28.241-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;span style="font-size:130%;color:#009900;"&gt;Thread Library&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;The threads library allows concurrent programming in Objective Caml. It provides multiple threads of control (also called lightweight processes) that execute concurrently in the same memory space. Threads communicate by in-place modification of shared data structures, or by sending and receiving data on communication channels.The threads library is implemented by time-sharing on a single processor. It will not take advantage of multi-processor machines. Using this library will therefore never make programs run faster. However, many programs are easier to write when structured as several communicating processes.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-3751639094185809084?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/3751639094185809084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=3751639094185809084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3751639094185809084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3751639094185809084'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/thread-library-threads-library-allows.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7552977379498819817</id><published>2009-08-05T03:39:00.000-07:00</published><updated>2009-08-05T03:40:35.797-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;span style="font-size:130%;color:#009900;"&gt;Kernel threads&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;=&gt; Supported by the Kernel&lt;br /&gt;=&gt; Kernel can run them on multiple processors in parallel&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7552977379498819817?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7552977379498819817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7552977379498819817' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7552977379498819817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7552977379498819817'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/kernel-threads-kernel-can-run-them-on.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-1198230687536411435</id><published>2009-08-05T03:38:00.000-07:00</published><updated>2009-08-05T03:39:15.813-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;span style="font-size:130%;color:#009900;"&gt;User thread&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;=&gt; Thread management done by user-level threads library&lt;br /&gt;=&gt; includes a set of registers and a stack, and shares the entire address space with the other threads in the enclosing process&lt;br /&gt;=&gt; is handled entirely in user code, usually by a special library that provides at least start, swap and suspend calls&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-1198230687536411435?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/1198230687536411435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=1198230687536411435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/1198230687536411435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/1198230687536411435'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/user-thread-is-handled-entirely-in-user.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-5157293772350835064</id><published>2009-08-05T03:28:00.001-07:00</published><updated>2009-08-05T03:33:29.524-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;a style="POSITION: relative" href="http://innerstrnt.blogspot.com/2009/07/thread.html"&gt;&lt;span style="font-size:130%;color:#009900;"&gt;Thread &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5366424817777081458" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 240px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/Snle8HFxfHI/AAAAAAAAANg/sqLx2-4Fh50/s320/1.jpg" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;In computer science, a thread of execution results from a fork of a computer program into two or more concurrently running tasks. The implementation of threads and processes differs from one operating systemto another, but in most cases, a thread is contained inside a process. Multiple threads can exist within the same process and share resources such as memorywhile different processes do not share these resources.&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5366425440911703106" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 238px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SnlfgYcpPEI/AAAAAAAAANo/tENnHtkJWBg/s320/fgdfg.jpg" border="0" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5366425623040153922" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 238px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/Snlfq-7c2UI/AAAAAAAAANw/DqogqSTZGvA/s320/fgff.jpg" border="0" /&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-5157293772350835064?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/5157293772350835064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=5157293772350835064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5157293772350835064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5157293772350835064'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/thread.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_4ozeb3d8zm0/Snle8HFxfHI/AAAAAAAAANg/sqLx2-4Fh50/s72-c/1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6434633198190877763</id><published>2009-08-05T03:12:00.001-07:00</published><updated>2009-08-05T03:48:34.328-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;span style="font-family:times new roman;font-size:85%;"&gt;&lt;a style="POSITION: relative" href="http://innerstrnt.blogspot.com/2009/07/multithreading-models.html"&gt;&lt;span style="color:#009900;"&gt;&lt;span style="font-family:arial;font-size:130%;"&gt;Multithreading models&lt;/span&gt; &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•There are three dominant models for thread libraries, each with its own trade-offs&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–many threads on one LWP (many-to-one)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–one thread per LWP (one-to-one)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–many threads on many LWPs (many-to-many)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Similar models can apply on scheduling kernel threads to real CPUs&lt;br /&gt;&lt;span style="color:#009900;"&gt;Many-to-one&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5366423641334837938" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 144px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/Snld3ogFcrI/AAAAAAAAANQ/4Va3Z7x-xO0/s200/7.jpg" border="0" /&gt; =&gt; Many user-level threads mapped to single kernel thread&lt;a href="http://3.bp.blogspot.com/_GQRKWS7zKQU/SnF-7ZzOz7I/AAAAAAAAAPQ/CGaG88Ximb4/s1600-h/2.bmp"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•In this model, the library maps all threads to a single lightweight process•Advantages:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–totally portable&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–easy to do with few systems dependencies&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Disadvantages:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–cannot take advantage of parallelism&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–may have to block for synchronous I/O&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–there is a clever technique for avoiding it&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Mainly used in language systems, portable libraries&lt;br /&gt;&lt;span style="color:#009900;"&gt;One-to-one &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;&lt;/p&gt;&lt;/span&gt;&lt;img id="BLOGGER_PHOTO_ID_5366423114711067506" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 150px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SnldY-rMa3I/AAAAAAAAANA/VWCPCJ_moE4/s200/fddf.jpg" border="0" /&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#009900;"&gt;=&gt;Many user-level threads mapped to single kernel thread&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•In this model, the library maps each thread to a different lightweight process&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Advantages:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–can exploit parallelism, blocking system calls&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Disadvantages:–thread creation involves LWP creation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–each thread takes up kernel resources&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–limiting the number of total threads&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Used in LinuxThreads and other systems where LWP creation is not too expensive&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;&lt;span style="color:#009900;"&gt;Many-to-many&lt;/span&gt; &lt;img id="BLOGGER_PHOTO_ID_5366421813741686514" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 150px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SnlcNQL7DvI/AAAAAAAAAM4/mJJQCnecyDA/s200/dsf.jpg" border="0" /&gt;&lt;span style="color:#009900;"&gt;=&gt; Allows many user level threads to be mapped to many kernel threads&lt;br /&gt;=&gt; Allows the operating system to create a sufficient number of kernel threads&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a style="POSITION: relative" href="http://2.bp.blogspot.com/_Vq0nJB3Is9M/SnF7qlcAhiI/AAAAAAAAAeo/I5LAualGVWQ/s1600-h/9.a.bmp"&gt;&lt;/a&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•In this model, the library has two kinds of threads: bound and unbound&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–bound threads are mapped each to a single lightweight process&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;–unbound threads may be mapped to the same LWP&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Probably the best of both worlds&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:times new roman;font-size:85%;color:#cc33cc;"&gt;•Used in the Solaris implementation of Pthreads (and several other Unix implementations)&lt;/span&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6434633198190877763?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6434633198190877763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6434633198190877763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6434633198190877763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6434633198190877763'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/there-are-three-dominant-models-for.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_4ozeb3d8zm0/Snld3ogFcrI/AAAAAAAAANQ/4Va3Z7x-xO0/s72-c/7.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-4999096208577512299</id><published>2009-08-05T03:02:00.001-07:00</published><updated>2009-08-05T03:11:05.387-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-5'/><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-size:130%;color:#006600;"&gt;&lt;strong&gt;Benefits of Multi-Threaded Programming&lt;/strong&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5366418604022690370" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 231px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SnlZSbDR8kI/AAAAAAAAAMo/rPrnoIJP28w/s320/2.jpg" border="0" /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;color:#cc33cc;"&gt;Multi-threading as a widespread programming and execution model allows multiple threads to exist within the context of a single process. These threads share the process' resources but are able to execute independently. The threaded programming model provides developers with a useful abstraction of concurrent execution. However, perhaps the most interesting application of the technology is when it is applied to a single process to enable parallel execution on a multiprocessor system.&lt;br /&gt;&lt;br /&gt;This advantage of a multithreaded program allows it to operate faster on computer systems that have multiple CPUs, CPUs with multiple cores, or across a cluster of machines — because the threads of the program naturally lend themselves to truly concurrent execution. In such a case, the programmer needs to be careful to avoid race conditions, and other non-intuitive behaviors. In order for data to be correctly manipulated, threads will often need to rendezvous in time in order to process the data in the correct order. Threads may also require atomic operations (often implemented using semaphores) in order to prevent common data from being simultaneously modified, or read while in the process of being modified. Careless use of such primitives can lead to deadlocks.&lt;br /&gt;&lt;br /&gt;Another advantage of multithreading, even for single-CPU systems, is the ability for an application to remain responsive to input. In a single threaded program, if the main execution thread blocks on a long running task, the entire application can appear to freeze. By moving such long running tasks to a worker thread that runs concurrently with the main execution thread, it is possible for the application to remain responsive to user input while executing tasks in the background. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:0;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;Operating systems schedule threads in one of two ways:&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:times new roman;color:#009900;"&gt;1. Preemptive multithreading is generally considered the superior approach, as it allows the operating system to determine when a context switch should occur. The disadvantage to preemptive multithreading is that the system may make a context switch at an inappropriate time, causing priority inversion or other negative effects which may be avoided by cooperative multithreading.&lt;br /&gt;&lt;br /&gt;2. Cooperative multithreading, on the other hand, relies on the threads themselves to relinquish control once they are at a stopping point. This can create problems if a thread is waiting for a resource to become available.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;Traditional mainstream computing hardware did not have much support for multithreading as switching between threads was generally already quicker than full process context switches. Processors in embedded systems, which have higher requirements for real-time behaviors, might support multithreading by decreasing the thread-switch time, perhaps by allocating a dedicated register file for each thread instead of saving/restoring a common register file. In the late 1990s, the idea of executing instructions from multiple threads simultaneously has become known as simultaneous multithreading. This feature was introduced in Intel's Pentium 4 processor, with the name hyper threading.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-4999096208577512299?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/4999096208577512299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=4999096208577512299' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4999096208577512299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4999096208577512299'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/08/benefits-of-multi-threaded-programming.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_4ozeb3d8zm0/SnlZSbDR8kI/AAAAAAAAAMo/rPrnoIJP28w/s72-c/2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-1253620375187585842</id><published>2009-07-30T02:03:00.000-07:00</published><updated>2009-07-30T04:07:52.483-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-4'/><title type='text'></title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;INTERPROCESS COMMUNICATION&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;span style="font-family:arial;"&gt;Direct Communication&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Direct communication can be defined as speech that specifically states and directs an action. Most of us grew up hearing direct speech from our parents or teachers: "Get that homework done before you go out to play," or, from our boss today we might hear: "I need this on my desk by Friday."&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;When to Use Direct Communication:&lt;/span&gt;&lt;br /&gt;Direct communication is often necessary in working environments. There are plenty of situations when a direct style is the only appropriate option. The following situations call for this form of speech. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:arial;color:#009900;"&gt;Indirect Communication&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#cc33cc;"&gt;Unlike direct communication, a indirect style of speech is not typically authoritative, rather it encourages input from the listener. By using this method, you give the other person the opportunity to speak up. An indirect style, makes them feel as if their ideas are important. This style of communication places the listener in the "one-up" position.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="color:#cc33cc;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;When to Use Indirect Communication:&lt;/span&gt;&lt;br /&gt;Like direct communication, indirect communication can be very useful in the workplace. This method can make teams run more smoothly and create an environment of friendly respect. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:100%;color:#009900;"&gt;Synchronization&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;refers to one of two distinct but related concepts: synchronization of &lt;/span&gt;&lt;a class="mw-redirect" title="Process (computer science)" href="http://en.wikipedia.org/wiki/Process_(computer_science)"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;processes&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;, and synchronization of data. Process synchronization refers to the idea that multiple processes are to join up or handshake at a certain point, so as to reach an agreement or commit to a certain sequence of action. Data synchronization refers to the idea of keeping multiple copies of a dataset in coherence with one another, or to maintain data integrity. Process synchronization primitives are commonly used to implement data synchronization.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;=&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;processes takes place by calls to send and receive primitives&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#009900;"&gt;Blocking send&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;A blocking send returns as soon as the send buffer is free for reuse, that is, as soon as the last byte of data has been sent or placed in an internal buffer. &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#009900;"&gt;Nonblocking send&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;A non-blocking send returns as soon as possible, that is, as soon as it has posted the send. The buffer might not be free for reuse&lt;/span&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#009900;"&gt;Blocking receive&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;A blocking receive returns as soon as the data is ready in the receive buffer.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#009900;"&gt;Nonblocking receive&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;A non-blocking receive returns as soon as possible, that is, either with a flag that the data has not arrived yet or with the data in the receive buffer.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:100%;color:#000000;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:courier new;"&gt;Buffering&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;=&gt;Buffering Messages reside in a temporary queue Zero capacity Bounded capacity Unbounded capacity.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;Link may have some capacity that determines the number of message that can be temporarily queued in it &lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#009900;"&gt;Zero Capacity&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Explicit buffering – Zero-capacity (blocking sender, receiver)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Zero capacity: (queue of length 0)&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;No messages wait.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Sender must wait until receiver receives the message — this synchronization to exchange data is called a rendezvous.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;font-size:100%;"&gt;&lt;span style="color:#009900;"&gt;Bounded Capacity &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;– Bounded capacity: when queue is not full, message is copied into buffer (or a pointer is kept).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Bounded capacity: (queue of length)&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;If receiver’s queue is not full, new message is put on queue,and sender can continue executing immediately. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;If queue is full, sender must block until space is available in the queue.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#009900;"&gt;Unbounded Capacity&lt;/span&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#000000;"&gt;&lt;span style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Unbounded capacity: (infinite queue)&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Sender can always continue&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="color:#cc33cc;"&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:100%;color:#000000;"&gt;&lt;span style="color:#009900;"&gt;Producer-Consumer Example &lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:times new roman;font-size:100%;color:#009900;"&gt;Procedure&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="color:#cc33cc;"&gt;A producer which generates data items and puts them in a buffer e.g. from a file &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;color:#009900;"&gt;&lt;strong&gt;Consumer&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;color:#000000;"&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;A consumer which removes items from the buffer e.g. to a printer&lt;/span&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-1253620375187585842?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/1253620375187585842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=1253620375187585842' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/1253620375187585842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/1253620375187585842'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/interprocess-communication-direct.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6651403128297598939</id><published>2009-07-16T03:36:00.000-07:00</published><updated>2009-07-16T03:45:17.271-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-4'/><title type='text'></title><content type='html'>&lt;span style="font-family:arial;font-size:180%;"&gt;&lt;em&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Interprocess Communication&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;For communication and synchronization&lt;br /&gt;–Shared memory&lt;br /&gt;–OS provided IPC&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;Message system&lt;br /&gt;–no need for shared variable&lt;br /&gt;– two operations&lt;br /&gt;•send(message) – message size fixed or variable&lt;br /&gt;•receive(message)&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;If P and Q wish to communicate, they need to&lt;br /&gt;–establish a communication link between them&lt;br /&gt;–exchange messages via send/receive&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;Implementation of communication link&lt;br /&gt;–physical (e.g., shared memory, hardware bus)&lt;br /&gt;–logical (e.g., logical properties)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6651403128297598939?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6651403128297598939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6651403128297598939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6651403128297598939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6651403128297598939'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/interprocess-communication-for.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7424367987113523532</id><published>2009-07-16T03:20:00.000-07:00</published><updated>2009-07-16T03:32:28.183-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-4'/><title type='text'></title><content type='html'>&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;&lt;span style="font-size:180%;"&gt;&lt;em&gt;Cooperating Process&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span &gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-size:180%;"&gt;&lt;em&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Advantages of process cooperation&lt;br /&gt;–Information sharing&lt;br /&gt;–Computation speed-up&lt;br /&gt;–Modularity&lt;br /&gt;–Convenience&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Independent process cannot affect/be affected by the execution of another process, cooperating ones can&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Issues&lt;br /&gt;–Communication&lt;br /&gt;–Avoid processes getting into each other’s way&lt;br /&gt;–Ensure proper sequencing when there are dependencies&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;Common paradigm: producer-consumer&lt;br /&gt;–unbounded-buffer - no practical limit on the size of the buffer&lt;br /&gt;–bounded-buffer - assumes fixed buffer size&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:180%;"&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7424367987113523532?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7424367987113523532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7424367987113523532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7424367987113523532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7424367987113523532'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/4.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-4357045363214406324</id><published>2009-07-16T02:33:00.000-07:00</published><updated>2009-07-16T03:33:38.050-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-4'/><title type='text'></title><content type='html'>&lt;div align="left"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;&lt;em&gt;The Concept of Process&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;color:#006600;"&gt;&lt;strong&gt;a. Process State&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;In a &lt;/strong&gt;&lt;/span&gt;&lt;a title="Computer multitasking" href="http://en.wikipedia.org/wiki/Computer_multitasking"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;multitasking&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;a title="Computer" href="http://en.wikipedia.org/wiki/Computer"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;computer&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt; system, &lt;/strong&gt;&lt;/span&gt;&lt;a title="Process (computing)" href="http://en.wikipedia.org/wiki/Process_(computing)"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;processes&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt; may occupy a variety of &lt;/strong&gt;&lt;/span&gt;&lt;a title="State (computer science)" href="http://en.wikipedia.org/wiki/State_(computer_science)"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;states&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;. These distinct states may not actually be recognized as such by the &lt;/strong&gt;&lt;/span&gt;&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;operating system&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;a class="mw-redirect" title="Kernel (computer science)" href="http://en.wikipedia.org/wiki/Kernel_(computer_science)"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;kernel&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;, however they are a useful abstraction for the understanding of processes.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#33cc00;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#3333ff;"&gt;&lt;strong&gt;Primary Process States&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;The following typical process states are possible on computer systems of all kinds. In most of these states, processes are "stored" on &lt;/strong&gt;&lt;/span&gt;&lt;a class="mw-redirect" title="Primary storage" href="http://en.wikipedia.org/wiki/Primary_storage"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;main memory&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5358990475259524770" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/Sl71cbCLtqI/AAAAAAAAAMY/O0yG5gMhSOk/s320/400px-Process_states_svg.png" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#006600;"&gt;&lt;strong&gt;b. Process Control Block&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;A Process Control Block (PCB, also called Task Control Block or Task Struct) is a data structure in the &lt;/span&gt;&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;operating system&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; &lt;/span&gt;&lt;a class="mw-redirect" title="Kernel (computer science)" href="http://en.wikipedia.org/wiki/Kernel_(computer_science)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;kernel&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt; containing the information needed to manage a particular process. The PCB is "the manifestation of a process in an operating system".&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;a id="Included_information" name="Included_information"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3333ff;"&gt;Included information:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;Implementations differ, but in general a PCB will include, directly or indirectly:&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#cc33cc;"&gt;The identifier of the process (a &lt;/span&gt;&lt;/span&gt;&lt;a title="Process identifier" href="http://en.wikipedia.org/wiki/Process_identifier"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;process identifier&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, or PID) &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a title="Processor register" href="http://en.wikipedia.org/wiki/Processor_register"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Register&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; values for the process including, notably,&lt;br /&gt;the &lt;/span&gt;&lt;a class="mw-redirect" title="Program Counter" href="http://en.wikipedia.org/wiki/Program_Counter"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Program Counter&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; value for the process &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;The &lt;/span&gt;&lt;a title="Address space" href="http://en.wikipedia.org/wiki/Address_space"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;address space&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; for the process &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Priority (in which higher priority process gets first preference. eg., nice value on Unix operating systems) &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Process accounting information, such as when the process was last run, how much &lt;/span&gt;&lt;a title="Central processing unit" href="http://en.wikipedia.org/wiki/Central_processing_unit"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;CPU&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; time it has accumulated, etc. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Pointer to the next PCB i.e. pointer to the PCB of the next process to run &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;I/O Information (i.e. I/O devices allocated to this process, list of opened files, etc)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;&lt;p&gt;&lt;br /&gt;During a &lt;/span&gt;&lt;a title="Context switch" href="http://en.wikipedia.org/wiki/Context_switch"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;context switch&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, the running process is stopped and another process is given a chance to run. The kernel must stop the execution of the running process, copy out the values in hardware registers to its PCB, and update the hardware registers with the values from the PCB of the new process.&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#006600;"&gt;c. Threads&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;A thread of execution results from a &lt;/span&gt;&lt;a title="Fork (operating system)" href="http://en.wikipedia.org/wiki/Fork_(operating_system)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;fork&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; of a &lt;/span&gt;&lt;a title="Computer program" href="http://en.wikipedia.org/wiki/Computer_program"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;computer program&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; into two or more &lt;/span&gt;&lt;a title="Concurrency (computer science)" href="http://en.wikipedia.org/wiki/Concurrency_(computer_science)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;concurrently&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; running &lt;/span&gt;&lt;a class="mw-redirect" title="Task (computers)" href="http://en.wikipedia.org/wiki/Task_(computers)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;tasks&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;. The implementation of threads and &lt;/span&gt;&lt;a title="Process (computing)" href="http://en.wikipedia.org/wiki/Process_(computing)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;processes&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; differs from one &lt;/span&gt;&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;operating system&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; to another, but in most cases, a thread is contained inside a process. Multiple threads can exist within the same process and share resources such as &lt;/span&gt;&lt;a title="Shared memory" href="http://en.wikipedia.org/wiki/Shared_memory"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;memory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, while different &lt;/span&gt;&lt;a title="Process (computing)" href="http://en.wikipedia.org/wiki/Process_(computing)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;processes&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; do not share these resources.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;On a single processor, multithreading generally occurs by &lt;/span&gt;&lt;a title="Time-division multiplexing" href="http://en.wikipedia.org/wiki/Time-division_multiplexing"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;time-division multiplexing&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; (as in &lt;/span&gt;&lt;a title="Computer multitasking" href="http://en.wikipedia.org/wiki/Computer_multitasking"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;multitasking&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;): the &lt;/span&gt;&lt;a title="Central processing unit" href="http://en.wikipedia.org/wiki/Central_processing_unit"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;processor&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; switches between different threads. This &lt;/span&gt;&lt;a title="Context switch" href="http://en.wikipedia.org/wiki/Context_switch"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;context switching&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; generally happens frequently enough that the user perceives the threads or tasks as running at the same time. On a &lt;/span&gt;&lt;a class="mw-redirect" title="Multiprocessor" href="http://en.wikipedia.org/wiki/Multiprocessor"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;multiprocessor&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; or &lt;/span&gt;&lt;a title="Multi-core" href="http://en.wikipedia.org/wiki/Multi-core"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;multi-core&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; system, the threads or tasks will generally run at the same time, with each processor or core running a particular thread or task. Support for threads in programming languages varies: a number of languages simply do not support having more than one execution context inside the same program executing at the same time.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:courier new;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5358993229656186066" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 180px; CURSOR: hand; HEIGHT: 170px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/Sl738v9hXNI/AAAAAAAAAMg/hpIiK5asmqA/s320/180px-Multithreaded_process_svg.png" border="0" /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-4357045363214406324?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/4357045363214406324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=4357045363214406324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4357045363214406324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4357045363214406324'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/1.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_4ozeb3d8zm0/Sl71cbCLtqI/AAAAAAAAAMY/O0yG5gMhSOk/s72-c/400px-Process_states_svg.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-4467166208667613578</id><published>2009-07-16T02:03:00.000-07:00</published><updated>2009-07-16T03:34:45.956-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-4'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;em&gt;&lt;span &gt;&lt;span style="font-family:arial;"&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;Processing Scheduling&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Verdana;color:#ff0000;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#006600;"&gt;&lt;strong&gt;a. Scheduling Queues&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;color:#006600;"&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Job queue – set of all processes in the system.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Ready queue – set of all processes residing in main memory,&lt;br /&gt;ready and waiting to execute.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Device queues – set of processes waiting for an I/O device.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Process migration between the various queues.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="color:#006600;"&gt;b.Schedulers&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Scheduler is a tool that is intented to help understand how real-time algorithms work.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;As of release 10.0, HP-UX implements four schedulers, two time-share and two real-time.&lt;br /&gt;To choose a scheduler, you can use the user command, rtsched(1), which executes processes with your choice of scheduler and enables you to change the real-time priority of currently executing process ID.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#3333ff;"&gt;&lt;span style="font-size:85%;"&gt;rtsched -s scheduler -p priority command [arguments] rtsched [ -s scheduler ] -p priority -P pid &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Likewise, the system call rtsched(2) provides programmatic access to POSIX real-time scheduling operations. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;c. Context Switch&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;A &lt;span style="color:#009900;"&gt;context switch&lt;/span&gt; is the &lt;/span&gt;&lt;a title="Computing" href="http://en.wikipedia.org/wiki/Computing"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;computing&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; process of storing and restoring the &lt;/span&gt;&lt;a title="State (computer science)" href="http://en.wikipedia.org/wiki/State_(computer_science)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;state&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; (&lt;/span&gt;&lt;a title="Context (computing)" href="http://en.wikipedia.org/wiki/Context_(computing)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;context&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;) of a &lt;/span&gt;&lt;a title="Central processing unit" href="http://en.wikipedia.org/wiki/Central_processing_unit"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;CPU&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; such that multiple &lt;/span&gt;&lt;a title="Process (computing)" href="http://en.wikipedia.org/wiki/Process_(computing)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;processes&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; can share a single CPU resource. The context switch is an essential feature of a &lt;/span&gt;&lt;a title="Computer multitasking" href="http://en.wikipedia.org/wiki/Computer_multitasking"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;multitasking&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; &lt;/span&gt;&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;operating system&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;. Context switches are usually computationally intensive and much of the design of &lt;/span&gt;&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;operating systems&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; is to optimize the use of context switches. A context switch can mean a &lt;/span&gt;&lt;a title="Processor register" href="http://en.wikipedia.org/wiki/Processor_register"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;register&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; context switch, a task context switch, a &lt;/span&gt;&lt;a title="Thread (computer science)" href="http://en.wikipedia.org/wiki/Thread_(computer_science)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;thread&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; context switch, or a process context switch. What constitutes the context is determined by the processor and the operating system.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:#006600;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-4467166208667613578?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/4467166208667613578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=4467166208667613578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4467166208667613578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4467166208667613578'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/2.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7036147811474841904</id><published>2009-07-16T01:46:00.000-07:00</published><updated>2009-07-16T03:35:54.823-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='0S-4'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;em&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;Operation on Process&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="font-family:courier new;color:#006600;"&gt;a. Process Creation&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;color:#006600;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;strong&gt;Process 0 is created and initialized at system boot time but all other processes are created by a fork() or vfork() system call.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;The fork() system call causes the creation of a new process. The new (child) process is an exact copy of the calling (parent) process.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;vfork() differs from fork() only in that the child process can share code and data with the calling process (parent process). This speeds cloning activity significantly at a risk to the integrity of the parent process if vfork() is misused.&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:100%;color:#006600;"&gt;b. Process Termination&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;color:#cc33cc;"&gt;&lt;strong&gt;Processes terminate in one of two ways: &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;Normal Termination occurs by a return from main or when requested by an explicit call to exit or _exit.&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;Abnormal Termination occurs as the default action of a signal or when requested by abort. &lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:courier new;"&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;When a process finishes executing, HP-UX terminates it using the exit system call.&lt;br /&gt;Circumstances might require a process to synchronize its execution with a child process. This is done with the wait system call, which has several related routines.&lt;br /&gt;During the exit system call, a process enters the zombie state and must dispose of child processes. Releasing process and thread structures no longer needed by the exiting process or thread is handled by three routines &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;&lt;span style="font-size:+0;"&gt;--&lt;/span&gt;&lt;span style="font-size:+0;"&gt; freeproc(), freethread(), and kissofdeath()&lt;span style="color:#cc33cc;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7036147811474841904?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7036147811474841904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7036147811474841904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7036147811474841904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7036147811474841904'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/operating-system-4.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7303485422286054761</id><published>2009-07-09T03:58:00.000-07:00</published><updated>2009-07-09T16:20:02.934-07:00</updated><title type='text'>Quiz #3</title><content type='html'>&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;color:#ff0000;"&gt;1.What are the major activities of the OS with regards to process management?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Process creation and deletion&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Process suspenion and resumption&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Provision of mechanisms for:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#009900;"&gt;&lt;strong&gt;* process synchronization &lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#009900;"&gt;&lt;strong&gt;*process communication &lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;font-size:85%;color:#009900;"&gt;&lt;strong&gt;*deadlock handling&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;color:#ff0000;"&gt;&lt;strong&gt;2.What are the major activities of the OS with regards to main-memory management?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Keep track which parts of memory are currently being used and by whom.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Decide which processes to load when memory space becomes available.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Allocate and deallocate memory space as needed. &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;color:#ff0000;"&gt;&lt;strong&gt;3.What are the major activities of the OS with regards to secondary-storage management?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;Free space&lt;/span&gt; management&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Storage allocation&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Disk scheduling &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;color:#ff0000;"&gt;&lt;strong&gt;4.What are the major activities of the OS with regards to file management?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;File creation and deletion&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Directory creation and deletion&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Support of primitives for manipulating files and directories&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;File backup on stable (nonvolatile) storage media&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt;Mapping files onto secondary storage&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;color:#ff0000;"&gt;&lt;strong&gt;5.What is the purposeof the command interpreter?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;=&gt;&lt;/span&gt; It reads commands from the user or from a ﬁle of commandsand executes them, usually by turning them into one or more systemcalls. It is usually not part of the kernel since the command interpreteris subject to changes.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7303485422286054761?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7303485422286054761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7303485422286054761' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7303485422286054761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7303485422286054761'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/quiz-3.html' title='Quiz #3'/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-3488781462797589732</id><published>2009-07-07T04:15:00.000-07:00</published><updated>2009-07-07T04:20:38.443-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-3'/><title type='text'></title><content type='html'>&lt;div&gt;&lt;span style="font-family:courier new;font-size:180%;"&gt;&lt;strong&gt;SYSTEM BOOT&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:Courier New;font-size:180%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;Set The System's Boot Device Sequence&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5355676137171066018" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 130px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SlMvEjgeHKI/AAAAAAAAAMA/UvWML4PYolM/s200/bildb.gif" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;AMI-BIOS: For most versions, managing a PC's boot device sequence appears under the "Advanced BIOS Features" menu&lt;br /&gt;If your PC has a relatively new motherboard, its BIOS will already include the functions necessary to support USB-attached boot media. If so, you need only make the right selections in that BIOS menu to boot from a USB flash drive. Older PCs, on the other hand, won't accept USB drives as valid boot devices. This means a BIOS update that supports USB boot options is necessary. You can find information about where to obtain such updates from your PC's (or motherboard's) user manual, on the driver CD included with the PC (or motherboard) or on the vendor's Website.&lt;br /&gt;Normally, the hard disk precedes the USB flash drive (which falls under the heading of USB-HDD in most BIOS menus) in the boot order. If the hard disk contains a viable boot sector, the PC will start up automatically using the information it contains. Only when the hard disk suffers from a boot sector defect or an operating system can't be found will the PC boot from the USB flash drive instead.&lt;br /&gt;Change this boot order. Plug the flash drive in, boot the computer and enter the BIOS setup utility. Normally, this means holding down the DEL or F2 key just as the computer powers up and begins the boot process. If you read the initial startup screen on your PC carefully, it will tell you exactly what you must do to access and alter your BIOS settings.&lt;br /&gt;If your PC uses AMI-BIOS from American Megatrends, there are two possible ways to alter the boot device sequence. Each varies depending on the version of AMI-BIOS that's installed.&lt;br /&gt;For the first variant, there is no menu entry named "Boot." Navigate to the sub-menu named "Advanced BIOS Features." Navigate to the item named "Boot Device Select... " and designate the USB flash drive as the first device in the "Boot Device Priority" list by selecting "1st" as its value. Then, hit the Esc key and set both the "Quick Boot" and "Full Screen LOGO Show" items to "Disabled" (this lets you see the BIOS messages during startup on the monitor). Exit the BIOS Setup utility using the "Save and Exit Setup" item in the main menu.&lt;br /&gt;For the second variant, use the "Boot" menu to select the USB flash drive. It will show up under one of the following headings: "Hard Disk Drive", "Removable Device" or "Removable Storage Device. " Next, select the USB flash drive as "1st Drive" in the first position, then hit the Esc key. That device should appear in the menu named "Boot Device Priority" which might also show up as "Boot Sequence". Inside that menu, designate the USB flash drive as the "1st Boot Device", hit the Esc key and save all changes in the "Exit" menu by selecting "Exit and Save Changes".&lt;br /&gt;The Phoenix BIOS that's so popular in notebook computers also lists the USB flash drive in its "Boot" menu (which might also appear as "Boot Device Priority"). In this case, the flash drive may show up as an entry in the "-HDD" or "-Removable Devices" sub-menu. Select the device class ("-Hard Drive" or "-HDD" for example) and use the F6 key to move the flash drive to the top of that list. Exit the BIOS Setup program by striking the F10 key, followed by the Enter key, to save all settings.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; &lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5355676380756402786" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 172px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SlMvSu7vYmI/AAAAAAAAAMI/Oon-DzNhiTU/s200/bildb1.jpg" border="0" /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-3488781462797589732?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/3488781462797589732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=3488781462797589732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3488781462797589732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3488781462797589732'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/system-boot-set-systems-boot-device.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_4ozeb3d8zm0/SlMvEjgeHKI/AAAAAAAAAMA/UvWML4PYolM/s72-c/bildb.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-558134641781738226</id><published>2009-07-07T03:33:00.000-07:00</published><updated>2009-07-07T04:12:06.729-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-3'/><title type='text'></title><content type='html'>&lt;strong&gt;&lt;span style="font-family:courier new;font-size:180%;"&gt;SYSTEM GENERATION&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;color:#cc33cc;"&gt;&lt;strong&gt;An operational system is a combination of the z/TPF system, application programs, and people. People assign purpose to the system and use the system. The making of an operational system depends on three interrelated concepts:&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;color:#009900;"&gt;&lt;strong&gt;*System definition: The necessary application and z/TPF system knowledge required to select the hardware configuration and related values used by thez/TPF system software.&lt;br /&gt;*System initialization: The process of creating the z/TPF system tables and configuration-dependent system software.&lt;br /&gt;*System restart and switchover: The procedures used by the z/TPF system software to ready the configuration for online use. &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt;The first two items are sometimes collectively called system generation; also installing and implementing. System definition is sometimes called design. System restart is the component that uses the results of a system generation to place the system in a condition to process real-time input. The initial startup is a special case of restart and for this reason system restart is sometimes called initial program load, or IPL. System restart uses values found in tables set up during system generation and changed during the online execution of the system. A switchover implies shifting the processing load to a different central processing complex (CPC), and requires some additional procedures on the part of a system operator. A restart or switchover may be necessary either for a detected hardware failure, detected software failure, or operator option. In any event, system definition (design), initialization, restart, and switchover are related to error recovery. This provides the necessary background to use this information, which is the principal reference to be used to install the z/TPF system.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Performing a system generation requires a knowledge of the z/TPF system structure, system tables, and system conventions, a knowledge of the applications that will be programmed to run under the system, and a user's knowledge of z/OS. Knowledge of the z/TPF system, Linux, and the application are required to make intelligent decisions to accomplish the system definition of a unique z/TPF system environment. The use of z/OS and Linux is necessary because many programs used to perform system generation run under control of z/OS or Linux. Although this information does not rely on much z/OS or Linux knowledge, when the moment arrives to use the implementation information, the necessary z/OS and Linux knowledge must be acquired. You are assumed to have some knowledge of the S/370 assembly program as well as jargon associated with the z/OS and Linux operating systems. Some knowledge of C language is also helpful, because some of the programs that are used to generate the system are written in C.&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-558134641781738226?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/558134641781738226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=558134641781738226' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/558134641781738226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/558134641781738226'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/system-generation-operational-system-is.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6185869823487292588</id><published>2009-07-07T02:55:00.000-07:00</published><updated>2009-07-09T16:27:00.637-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-3'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:180%;"&gt;&lt;strong&gt;VIRTUAL MACHINE&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Implementation&lt;/strong&gt; &lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;&lt;strong&gt;Virtual machines are usually written in “portable” (in the sense that compilers for most architectures already exists) programming languages such as C or C++.&lt;br /&gt;For performance critical components assembly language can be used.&lt;br /&gt;Some VMs (Lisp, Forth, Smalltalk) are largely written in the language itself.&lt;br /&gt;Many VMs are written specifically for gcc, for reasons that will become clear in later slides.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Benefits&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;Partitioning&lt;/span&gt; &lt;span style="color:#cc33cc;"&gt;– Multiple&lt;br /&gt;application and OS&lt;br /&gt;instances in a single&lt;br /&gt;machine&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;Isolation &lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;– Each virtual&lt;br /&gt;machine is isolated from&lt;br /&gt;the host and other virtual&lt;br /&gt;machines&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;Encapsulation&lt;/span&gt; &lt;span style="color:#cc33cc;"&gt;– Each&lt;br /&gt;entire virtual machine state&lt;br /&gt;is contained in software;&lt;br /&gt;standard virtual hardware&lt;br /&gt;guarantees compatibility. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Examples&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#ff0000;"&gt;Examples of Authorizing Virtual Machinesz/VM V5R4.0 ConnectivitySC24-6080-07&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;a id="idx1854" name="idx1854"&gt;&lt;/a&gt;&lt;a id="idx1855" name="idx1855"&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;The following examples show how to explicitly authorize server virtual machines, the AVS virtual machine, and requester virtual machines. &lt;/span&gt;&lt;/strong&gt;&lt;a href="http://2.bp.blogspot.com/_4ozeb3d8zm0/SlMqHHXoMVI/AAAAAAAAALg/1FGBbmjlbRY/s1600-h/hcpa6t13.gif"&gt;&lt;/a&gt;&lt;a id="idx1856" name="idx1856"&gt;&lt;/a&gt;&lt;a id="idx1857" name="idx1857"&gt;&lt;/a&gt;&lt;a id="idx1858" name="idx1858"&gt;&lt;/a&gt;&lt;a id="idx1859" name="idx1859"&gt;&lt;/a&gt;&lt;a id="idx1860" name="idx1860"&gt;&lt;/a&gt;&lt;a id="idx1861" name="idx1861"&gt;&lt;/a&gt;&lt;a id="idx1862" name="idx1862"&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;&lt;span style="color:#009900;"&gt;Example 1:&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/zvm/v5r4/topic/com.ibm.zvm.v54.hcpa6/exau.htm#soso" cmimpressionsent="1"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;Figure 92&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt; is an example of an explicitly authorized TSAF collection involving two z/VM systems sharing global resources. The entries within each box represent the CP directory entries for each CMS virtual machine. &lt;/span&gt;&lt;/strong&gt;&lt;a name="soso"&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;Figure 92. TSAF Collection with Authorized Global Resource Managers and User Programs &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5355671348518191522" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 129px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SlMqt0YqAaI/AAAAAAAAALo/TyauJd-eQy0/s200/hcpa6t13.gif" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;In &lt;/span&gt;&lt;/strong&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/zvm/v5r4/topic/com.ibm.zvm.v54.hcpa6/exau.htm#soso" cmimpressionsent="1"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;Figure 92&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;, users have the following authorization:&lt;br /&gt;USERa on VMSYS1 can connect only to RES2 on VMSYS2.&lt;br /&gt;USERb on VMSYS1 can connect only to RES1 on VMSYS1.&lt;br /&gt;USERc on VMSYS2 can connect to RES1 on VMSYS1 and to RES2 on VMSYS2.&lt;br /&gt;USERd on VMSYS2 can connect only to RES2 on VMSYS2.&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;a id="idx1863" name="idx1863"&gt;&lt;/a&gt;&lt;a id="idx1864" name="idx1864"&gt;&lt;/a&gt;&lt;a id="idx1865" name="idx1865"&gt;&lt;/a&gt;&lt;a id="idx1866" name="idx1866"&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;&lt;span style="color:#009900;"&gt;Example 2:&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/zvm/v5r4/topic/com.ibm.zvm.v54.hcpa6/exau.htm#soso2" cmimpressionsent="1"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;Figure 93&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt; shows a TSAF collection in which the server and requester virtual machines are explicitly authorized to share local and private resources. The entries within each box represent the CP directory entries of each CMS virtual machine. &lt;/span&gt;&lt;/strong&gt;&lt;a name="soso2"&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;Figure 93. TSAF Collection with Authorized Local and Private Resource Managers and User Programs&lt;br /&gt;In this figure, users have the following authorization: &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5355671632188015762" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 126px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SlMq-VI0BJI/AAAAAAAAALw/0TJmEJmW1Sw/s200/2.gif" border="0" /&gt;&lt;br /&gt;USERa on VMSYS3 can connect only to RMGR4 on VMSYS4 to access a private resource managed by RMGR4.&lt;br /&gt;USERb on VMSYS3 can connect only to RES1 on VMSYS3.&lt;br /&gt;USERc on VMSYS4 can connect only to RMGR4 on VMSYS4 to access a private resource managed by RMGR4. &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;&lt;span style="color:#009900;"&gt;Example 3:&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/zvm/v5r4/topic/com.ibm.zvm.v54.hcpa6/exau.htm#congat" cmimpressionsent="1"&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;Figure 94&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt; shows an explicitly authorized TSAF collection involving two z/VM systems and one AVS virtual machine. &lt;/span&gt;&lt;/strong&gt;&lt;a id="idx1871" name="idx1871"&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;The entries within each box represent the CP directory entries for each CMS virtual machine and the AVS virtual machine. &lt;/span&gt;&lt;/strong&gt;&lt;a name="congat"&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;Figure 94. TSAF Collection with an AVS Virtual Machine &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;color:#cc33cc;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5355672218544266082" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 127px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SlMrgdfCW2I/AAAAAAAAAL4/r49WMZZGKUo/s200/3.gif" border="0" /&gt;&lt;br /&gt;In this figure, users have the following authorization:&lt;br /&gt;USERa on VMSYS5 can only connect out to the SNA network through GAT2 on VMSYS6.&lt;br /&gt;USERb on VMSYS5 can only connect out to the SNA network through GAT1 on VMSYS6.&lt;br /&gt;USERc on VMSYS6 can connect out to the SNA network through any gateway defined on VMSYS6 because it is authorized to connect to any virtual machine, resource, or gateway on the local system.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6185869823487292588?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6185869823487292588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6185869823487292588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6185869823487292588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6185869823487292588'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/virtual-machine-implementation-benefits.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_4ozeb3d8zm0/SlMqt0YqAaI/AAAAAAAAALo/TyauJd-eQy0/s72-c/hcpa6t13.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-279426628394519805</id><published>2009-07-02T04:02:00.000-07:00</published><updated>2009-07-06T18:43:14.691-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-3'/><title type='text'></title><content type='html'>&lt;strong&gt;&lt;span style="font-family:courier new;font-size:180%;"&gt;SYSTEM COMPONENTS&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:180%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Process Management&lt;/span&gt; &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;A process is a program in execution. A process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task. The operating system is responsible for the following activities in connection with process management.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;span style="font-size:85%;"&gt;*Process creation and deletion.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;*process suspension and resumption. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;*Provision of mechanisms for:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;&lt;span style="color:#ffff00;"&gt;=&gt;a. process synchronization&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ffff00;"&gt;=&gt;b. process communication &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Main-Memory Management&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;Memory is a large array of words or bytes, each with its own address. It is a repository of quickly accessible data shared by the CPU and I/O devices. Main memory is a volatile storage device. It loses its contents in the case of system failure. The operating system is responsible for the following activities in connections with memory management:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;*Keep track of which parts of memory are currently being used and by whom.&lt;br /&gt;*Decide which processes to load when memory space becomes available.&lt;br /&gt;*Allocate and deallocate memory space as needed. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;File Management&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;A file is a collection of related information defined by its creator. Commonly, files represent programs (both source and object forms) and data. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;The operating system is responsible for the following activities in connections with file management:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;*File creation and deletion.&lt;br /&gt;*Directory creation and deletion.&lt;br /&gt;*Support of primitives for manipulating files and directories.&lt;br /&gt;*Mapping files onto secondary storage.&lt;br /&gt;*File backup on stable (nonvolatile) storage media.&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;I/O System Management&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;=&gt; I/O system consists of:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;*A buffer-caching system&lt;br /&gt;*A general device-driver interface&lt;br /&gt;*Drivers for specific hardware devices&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Secondary-Storage Management&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Since main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory. Most modern computer systems use disks as the principle on-line storage medium, for both programs and data. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;The operating system is responsible for the following activities in connection with disk managem&lt;/span&gt;ent: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;*Free space management&lt;br /&gt;*Storage allocation&lt;br /&gt;*Disk scheduling&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Networking (Distributed Systems)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;A distributed system is a collection processors that do not share memory or a clock. Each processor has its own local memory. The processors in the system are connected through a communication network. Communication takes place using a protocol. A distributed system provides user access to various system resources.&lt;br /&gt;Access to a shared resource allows:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;*Computation speed-up&lt;br /&gt;*Increased data availability&lt;br /&gt;*Enhanced reliabilit&lt;/span&gt;y &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Protection System&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Protection refers to a mechanism for controlling access by programs, processes, or users to both system and user resources.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;The protection mechanism must:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;*distinguish between authorized and unauthorized usage.&lt;br /&gt;*specify the controls to be imposed.&lt;br /&gt;*Provide a means of enforcement. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Command-Interpreter&lt;/strong&gt; &lt;strong&gt;System&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;Many commands are given to the operating system by control statements which deal with:&lt;br /&gt;process creation and management&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;*I/O handling &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;*secondary-storage management&lt;br /&gt;*main-memory management&lt;br /&gt;*file-system access&lt;br /&gt;*protection&lt;br /&gt;*networking &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;The program that reads and interprets control statements is called variously:&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;*command-line interpreter&lt;br /&gt;*shell (in UNIX)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-279426628394519805?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/279426628394519805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=279426628394519805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/279426628394519805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/279426628394519805'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/system-components-operating-systems.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-4950629859880778370</id><published>2009-07-02T04:00:00.001-07:00</published><updated>2009-07-06T18:38:37.920-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-3'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;"&gt;&lt;strong&gt;OPERATING SYSTEM SERVICES&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Operating systems are responsible for providing essential services within a computer system:&lt;br /&gt;Initial loading of programs and transfer of programs between secondary storage and main memory &lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;Program execution – system capability to load a program into memory and to run it.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#009900;"&gt;I/O operations – since user programs cannot execute I/O operations directly, the operating system must provide some means to perform I/O.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#009900;"&gt;File-system manipulation – program capability to read, write, create, and delete files.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Communications – exchange of information between processes executing either on the same computer or on different systems tied together by a network. Implemented via shared memory or message passing.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Error detection – ensure correct computing by detecting errors in the CPU and memory hardware, in I/O devices, or in user programs.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-4950629859880778370?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/4950629859880778370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=4950629859880778370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4950629859880778370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/4950629859880778370'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/operating-system-services-operating.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7395672374637871132</id><published>2009-07-02T03:32:00.000-07:00</published><updated>2009-07-06T18:40:41.284-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-3'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;"&gt;&lt;strong&gt;SYSTEM CALLS&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Process control&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Process control is a &lt;/span&gt;&lt;a title="Statistics" href="http://en.wikipedia.org/wiki/Statistics"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;statistics&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; and &lt;/span&gt;&lt;a title="Engineering" href="http://en.wikipedia.org/wiki/Engineering"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;engineering&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; discipline that deals with &lt;/span&gt;&lt;a title="Architecture" href="http://en.wikipedia.org/wiki/Architecture"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;architectures&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, &lt;/span&gt;&lt;a title="Mechanism (technology)" href="http://en.wikipedia.org/wiki/Mechanism_(technology)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;mechanisms&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, and &lt;/span&gt;&lt;a title="Algorithm" href="http://en.wikipedia.org/wiki/Algorithm"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;algorithms&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; for controlling the output of a specific &lt;/span&gt;&lt;a title="Process" href="http://en.wikipedia.org/wiki/Process"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;process&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;For example, heating up the temperature in a room is a process that has the specific, desired outcome to reach and maintain a defined &lt;/span&gt;&lt;/span&gt;&lt;a title="Temperature" href="http://en.wikipedia.org/wiki/Temperature"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;temperature&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; (e.g. 20°C), kept constant over time. Here, the temperature is the controlled variable. At the same time, it is the input variable since it is measured by a thermometer and used to decide whether to heat or not to heat. The desired temperature (20°C) is the setpoint. The state of the heater (e.g. the setting of the valve allowing hot water to flow through it) is called the manipulated variable since it is subject to control actions.&lt;br /&gt;A commonly used control device called a &lt;/span&gt;&lt;a title="Programmable logic controller" href="http://en.wikipedia.org/wiki/Programmable_logic_controller"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;programmable logic controller&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, or a PLC, is used to read a set of digital and analog inputs, apply a set of logic statements, and generate a set of analog and digital outputs. Using the example in the previous paragraph, the room temperature would be an input to the PLC. The logical statements would compare the setpoint to the input temperature and determine whether more or less heating was necessary to keep the temperature constant. A PLC output would then either open or close the hot water valve, an incremental amount, depending on whether more or less hot water was needed. Larger more complex systems can be controlled by a &lt;/span&gt;&lt;a class="mw-redirect" title="Distributed Control System" href="http://en.wikipedia.org/wiki/Distributed_Control_System"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Distributed Control System&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; (DCS) or &lt;/span&gt;&lt;a title="SCADA" href="http://en.wikipedia.org/wiki/SCADA"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;SCADA&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt; system.&lt;br /&gt;In practice, process control systems can be characterized as one or more of the following forms:&lt;br /&gt;Discrete – Found in many manufacturing, motion and packaging applications. Robotic assembly, such as that found in automotive production, can be characterized as discrete process control. Most discrete manufacturing involves the production of discrete pieces of product, such as metal stamping.&lt;br /&gt;Batch – Some applications require that specific quantities of raw materials be combined in specific ways for particular durations to produce an intermediate or end result. One example is the production of adhesives and glues, which normally require the mixing of raw materials in a heated vessel for a period of time to form a quantity of end product. Other important examples are the production of food, beverages and medicine. Batch processes are generally used to produce a relatively low to intermediate quantity of product per year (a few pounds to millions of pounds).&lt;br /&gt;Continuous – Often, a physical system is represented though variables that are smooth and uninterrupted in time. The control of the water temperature in a heating jacket, for example, is an example of continuous process control. Some important continuous processes are the production of fuels, chemicals and plastics. Continuous processes, in manufacturing, are used to produce very large quantities of product per year(millions to billions of pounds). &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc33cc;"&gt;&lt;/span&gt;&lt;p align="center"&gt;&lt;a href="http://4.bp.blogspot.com/_4ozeb3d8zm0/SkyPTOw94MI/AAAAAAAAALQ/gW4qKd0befM/s1600-h/untitled.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5353811617580441794" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 193px" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SkyPTOw94MI/AAAAAAAAALQ/gW4qKd0befM/s200/untitled.bmp" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;File Management&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Also referred to as simply a file system or filesystem. The &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/F/system.html"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;system&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; that an &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/F/operating_system.html"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;operating system&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; or &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/F/program.html"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#cc33cc;"&gt;prog&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;a href="http://www.webopedia.com/TERM/F/program.html"&gt;&lt;span style="color:#cc33cc;"&gt;ram&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; uses to organize and keep track of &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/F/file.html"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;files&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#cc33cc;"&gt;&lt;span style="font-size:85%;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Device Management&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;Device Management is a set of technologies, protocols and standards used to allow the remote management of &lt;/span&gt;&lt;a title="Mobile device" href="http://en.wikipedia.org/wiki/Mobile_device"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;mobile devices&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, often involving updates of &lt;/span&gt;&lt;a title="FOTA (technology)" href="http://en.wikipedia.org/wiki/FOTA_(technology)"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;firmware over the air&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; (FOTA). The &lt;/span&gt;&lt;a title="Mobile network operator" href="http://en.wikipedia.org/wiki/Mobile_network_operator"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;network operator&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, handset &lt;/span&gt;&lt;a title="Original equipment manufacturer" href="http://en.wikipedia.org/wiki/Original_equipment_manufacturer"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;OEM&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt; or in some cases even the end-user (usually via a web portal) can use Device Management, also known as Mobile Device Management, or MDM, to update the handset firmware/&lt;/span&gt;&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;OS&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;, install applications and fix bugs, all over the air. Thus, large numbers of devices can be managed with single commands and the end-user is freed from the requirement to take the phone to a shop or service center to refresh or update.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Information Maintenance&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7395672374637871132?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7395672374637871132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7395672374637871132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7395672374637871132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7395672374637871132'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/system-calls-process-control-process.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_4ozeb3d8zm0/SkyPTOw94MI/AAAAAAAAALQ/gW4qKd0befM/s72-c/untitled.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6765402757641752616</id><published>2009-07-02T03:06:00.000-07:00</published><updated>2009-07-06T18:45:47.325-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-3'/><title type='text'></title><content type='html'>&lt;span style="font-family:courier new;font-size:180%;"&gt;&lt;strong&gt;SYSTEM STRUCTURE &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:130%;"&gt;&lt;strong&gt;Simple Structure&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;These are structures with low degree of departmentalisation and a wide span of control. The authority is largely centralised in a single person with very little formalisation. It is also called 'flat structure'. It usually has only two or three vertical levels, a flexible set of employees, and generally one person in whom the power of decision-making is invested. This simple structure is most widely practiced in small business settings where manager and owner happens to be the same person. Its advantage lies in its simplicity. This makes it responsive, fast, accountable and easy to maintain. However, it becomes grossly inadequate as and when the organisation grows in size. Such a simple structure is becoming popular becauseof its flexibility, responsiveness and high degree of adaptability to change. &lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;&lt;span style="font-family:arial;font-size:130%;"&gt;Layered approach&lt;/span&gt;&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-size:85%;color:#cc33cc;"&gt;The operating system is divided into a number of layers (levels), each built on top of lower layers. The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface.&lt;br /&gt;With modularity, layers are selected such that each uses functions (operations) and services of only lower-level layers.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;                                                         &lt;span style="color:#cc33cc;"&gt;    MS-DOS Layered Structure&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;img id="BLOGGER_PHOTO_ID_5355518309946370354" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 190px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_4ozeb3d8zm0/SlKfhzR0KTI/AAAAAAAAALY/g1I9dPNUbM0/s200/12.jpg" border="0" /&gt;&lt;br /&gt;&lt;p align="justify"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6765402757641752616?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6765402757641752616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6765402757641752616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6765402757641752616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6765402757641752616'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/07/system-structure-simple-structure.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_4ozeb3d8zm0/SlKfhzR0KTI/AAAAAAAAALY/g1I9dPNUbM0/s72-c/12.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-489831620658991134</id><published>2009-06-25T03:31:00.000-07:00</published><updated>2009-06-25T03:51:47.999-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-2'/><title type='text'></title><content type='html'>&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;2.STORAGE&lt;/strong&gt; &lt;strong&gt;HIERARCHY&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;Caching:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;-&gt;In &lt;/span&gt;&lt;a title="Computer science" href="http://en.wikipedia.org/wiki/Computer_science"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;computer science&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, a cache (pronounced &lt;/span&gt;&lt;a title="Wikipedia:IPA for English" href="http://en.wikipedia.org/wiki/Wikipedia:IPA_for_English"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;/kæʃ/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;) is a collection of data duplicating original values stored elsewhere or computed earlier, where the original data is expensive to fetch (owing to longer &lt;/span&gt;&lt;a title="Access time" href="http://en.wikipedia.org/wiki/Access_time"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;access time&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;) or to compute, compared to the cost of reading the cache. In other words, a cache is a temporary storage area where frequently accessed data can be stored for rapid access. Once the data is stored in the cache, it can be used in the future by accessing the cached copy rather than re-fetching or recomputing the original data.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;-&gt;Most modern microprocessors contain some form of instruction and data caching where a small but fast bit of memory is used to speed up access to main memory. At its simplest level, a cache can pre-load blocks of memory from main memory so that the processor need not stall when performing a load. This is possible because (a) a processor usually accesses sequential memory locations and (b) loading more than one sequential memory location at the same time is faster than loading each sequential memory location one by one. Hence when the processor accesses an uncached bit of memory, the cache reads a full cache line in the hope it will be used (which it usually is).&lt;br /&gt;Again at its simplest level, a cache must be write-through cache whenever the processor performs a write to main memory. Quite simply, when the write is performed, the relevant cache entry is updated, and a write to main memory is issued. One could say that cache coherency has been maintained ie; the cache accurately reflects the contents of main memory.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;Coherency and Consistency:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;-&gt;(Or "cache consistency") /kash koh-heer'n-see/ The synchronisation of data in multiple &lt;/span&gt;&lt;a href="http://dictionary.reference.com/browse/caches"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;caches&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; such that reading a memory location via any cache will return the most recent data written to that location via any (other) cache.Some &lt;/span&gt;&lt;a href="http://dictionary.reference.com/browse/parallel%20processors"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;parallel processors&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; do not cache accesses to &lt;/span&gt;&lt;a href="http://dictionary.reference.com/browse/shared%20memory"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;shared memory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#009900;"&gt; to avoid the issue of cache coherency. If caches are used with shared memory then some system is required to detect when data in one processor's cache should be discarded or replaced because another processor has updated that memory location. Several such schemes have been devised. C&lt;/span&gt;&lt;span style="color:#009900;"&gt;oherency defines what value is returned on a read.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;-&gt;Consistency defines when it is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-489831620658991134?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/489831620658991134/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=489831620658991134' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/489831620658991134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/489831620658991134'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/2.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-7612513008315588751</id><published>2009-06-25T02:56:00.000-07:00</published><updated>2009-06-25T03:55:59.272-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-2'/><title type='text'></title><content type='html'>&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;3.HARDWARE PROTECTION&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ffff00;"&gt;Dual-mode Operation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;Sharing system resources requires operating system to ensurethat an incorrect program cannot cause other programs toexecute incorrectly.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;• Provide hardware support to differentiate between at least twomodes of operations.&lt;br /&gt;1. User mode – execution done on behalf of a user.&lt;br /&gt;2. Monitor mode (also supervisor mode or system mode) –execution done on behalf of operating system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="color:#cc33cc;"&gt;Mode bit added to computer hardware to indicate the currentmode: monitor (0) or user (1).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color:#009900;"&gt;• When an interrupt or fault occurs hardware switches to monitormodeuser monitorinterrupt/faultset user mode.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5351204996624472722" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 97px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SkNMl7AY2pI/AAAAAAAAAK4/Mi1hRpCuiN0/s200/gdf.bmp" border="0" /&gt;&lt;span style="color:#009900;"&gt;• Privileged instructions can be issued only in monitor mode.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#ffff00;"&gt;I/O Protection:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#009900;"&gt;-&gt;All I/O instructions are privileged instructions.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#009900;"&gt;-&gt;Must ensure that a user program could never gain control ofthe computer in monitor mode (i.e., a user program that, aspart of its execution, stores a new address in the interruptvector).&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:#ffff00;"&gt;Memory Protection:&lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/_4ozeb3d8zm0/SkNMUvJu9FI/AAAAAAAAAKw/DUdSZYoemZ4/s1600-h/gdf.bmp"&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="color:#009900;"&gt;Must provide memory protection at least for the interrupt vectorand the interrupt service routines.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;• In order to have memory protection, add two registers thatdetermine the range of legal addresses a program may access:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;–&gt; base register – holds the smallest legal physical memoryaddress.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc33cc;"&gt;– &gt;limit register – contains the size of the range.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;• Memory outside the deﬁned range is protected.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5351207336618965506" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 234px; CURSOR: hand; HEIGHT: 257px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SkNOuIKjOgI/AAAAAAAAALA/MDPp848djgQ/s200/dfdgfdg.bmp" border="0" /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ffff00;"&gt;CPU Protection:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#ffff00;"&gt;&lt;span style="color:#009900;"&gt;-&gt;To prevent a user programs gets stuck in infinite loop and never returning back to the os&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-7612513008315588751?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/7612513008315588751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=7612513008315588751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7612513008315588751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/7612513008315588751'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/3_25.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_4ozeb3d8zm0/SkNMl7AY2pI/AAAAAAAAAK4/Mi1hRpCuiN0/s72-c/gdf.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-8923568720311656444</id><published>2009-06-25T02:00:00.000-07:00</published><updated>2009-06-25T03:56:42.080-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-2'/><title type='text'></title><content type='html'>&lt;p&gt;&lt;span style="font-family:arial;color:#cc0000;"&gt;&lt;strong&gt;1.STORAGE STRUCTURE&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;span style="color:#ffff00;"&gt;&lt;strong&gt;Main memory&lt;/strong&gt;:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;Refers to &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/M/physical.html"&gt;&lt;span style="color:#009900;"&gt;physical&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/M/memory.html"&gt;&lt;span style="color:#009900;"&gt;memory&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; that is internal to the &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/M/computer.html"&gt;&lt;span style="color:#009900;"&gt;computer&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;. The word main is used to distinguish it from external &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/M/mass_storage.html"&gt;&lt;span style="color:#009900;"&gt;mass storage&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/M/device.html"&gt;&lt;span style="color:#009900;"&gt;devices&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; such as &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/M/disk_drive.html"&gt;&lt;span style="color:#009900;"&gt;disk drives&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;. Another term for main memory is &lt;/span&gt;&lt;a href="http://www.webopedia.com/TERM/M/RAM.html"&gt;&lt;span style="color:#009900;"&gt;RAM&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;. &lt;/span&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;strong&gt;&lt;span style="color:#ffff00;"&gt;Magnetic disk:&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;span style="color:#009900;"&gt;A memory device, such as a floppy disk or a hard disk, that is covered with a magnetic coating. Digital information is stored on magnetic disks in the form of microscopically small, magnetized needles, each of which encodes a single bit of information by being polarized in one direction (representing 1) or the other (representing 0).&lt;br /&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_4ozeb3d8zm0/SkNCYAiOUMI/AAAAAAAAAKY/ap1XCdyX3K0/s1600-h/Picture1.png"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;span style="font-size:85%;color:#ffff00;"&gt;&lt;strong&gt;Moving head disk mechanism:&lt;/strong&gt;&lt;/span&gt; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;img id="BLOGGER_PHOTO_ID_5351196445279070770" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 250px; CURSOR: hand; HEIGHT: 173px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_4ozeb3d8zm0/SkNE0KwxKjI/AAAAAAAAAKg/CT2SDRIEGQ8/s200/Picture1.png" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;strong&gt;&lt;span style="color:#ffff00;"&gt;Magnetic tapes:&lt;/span&gt;&lt;/strong&gt; &lt;/p&gt;&lt;p align="left"&gt;&lt;span style="color:#009900;"&gt;Magnetic tape is a medium for &lt;/span&gt;&lt;a class="mw-redirect" title="Magnetic recording" href="http://en.wikipedia.org/wiki/Magnetic_recording"&gt;&lt;span style="color:#009900;"&gt;magnetic recording&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; generally consisting &lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/_4ozeb3d8zm0/SkNFYC20mLI/AAAAAAAAAKo/JZCg6o9--o0/s1600-h/180px-Magtape1.jpg"&gt;&lt;span style="color:#009900;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5351197061632268466" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 164px; CURSOR: hand; HEIGHT: 200px" alt="" src="http://2.bp.blogspot.com/_4ozeb3d8zm0/SkNFYC20mLI/AAAAAAAAAKo/JZCg6o9--o0/s200/180px-Magtape1.jpg" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;of a thin magnetizable coating on a long and narrow strip of &lt;/span&gt;&lt;a title="Plastic" href="http://en.wikipedia.org/wiki/Plastic"&gt;&lt;span style="color:#009900;"&gt;plastic&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;. Nearly all recording tape is of this type, whether used for recording &lt;/span&gt;&lt;a title="Audio frequency" href="http://en.wikipedia.org/wiki/Audio_frequency"&gt;&lt;span style="color:#009900;"&gt;audio&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; or &lt;/span&gt;&lt;a title="Video" href="http://en.wikipedia.org/wiki/Video"&gt;&lt;span style="color:#009900;"&gt;video&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; or for &lt;/span&gt;&lt;a title="Computer data storage" href="http://en.wikipedia.org/wiki/Computer_data_storage"&gt;&lt;span style="color:#009900;"&gt;computer data storage&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;. It was originally developed in Germany, based on the concept of &lt;/span&gt;&lt;a title="Wire recording" href="http://en.wikipedia.org/wiki/Wire_recording"&gt;&lt;span style="color:#009900;"&gt;magnetic wire recording&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;. Devices that record and playback audio and video using magnetic tape are generally called &lt;/span&gt;&lt;a title="Tape recorder" href="http://en.wikipedia.org/wiki/Tape_recorder"&gt;&lt;span style="color:#009900;"&gt;tape recorders&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; and &lt;/span&gt;&lt;a title="Video tape recorder" href="http://en.wikipedia.org/wiki/Video_tape_recorder"&gt;&lt;span style="color:#009900;"&gt;video tape recorders&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; respectively. A device that stores computer data on magnetic tape can be called a &lt;/span&gt;&lt;a title="Tape drive" href="http://en.wikipedia.org/wiki/Tape_drive"&gt;&lt;span style="color:#009900;"&gt;tape drive&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;, a tape unit, or a streamer.&lt;br /&gt;Magnetic tape revolutionized the broadcast and recording industries. In an age when all &lt;/span&gt;&lt;a title="Radio" href="http://en.wikipedia.org/wiki/Radio"&gt;&lt;span style="color:#009900;"&gt;radio&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; (and later &lt;/span&gt;&lt;a title="Television" href="http://en.wikipedia.org/wiki/Television"&gt;&lt;span style="color:#009900;"&gt;television&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;) was live, it allowed programming to be prerecorded. In a time when &lt;/span&gt;&lt;a title="Gramophone record" href="http://en.wikipedia.org/wiki/Gramophone_record"&gt;&lt;span style="color:#009900;"&gt;gramophone records&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt; were recorded in one take, it allowed recordings to be created in multiple stages and easily mixed and edited with a minimal loss in quality between generations. It is also one of the key enabling technologies in the development of modern &lt;/span&gt;&lt;a title="Computer" href="http://en.wikipedia.org/wiki/Computer"&gt;&lt;span style="color:#009900;"&gt;computers&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#009900;"&gt;. Magnetic tape allowed massive amounts of data to be stored in computers for long periods of time and rapidly accessed when needed.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;div align="left"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-8923568720311656444?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/8923568720311656444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=8923568720311656444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8923568720311656444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8923568720311656444'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/storage-structure-main-memory-refers-to.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_4ozeb3d8zm0/SkNE0KwxKjI/AAAAAAAAAKg/CT2SDRIEGQ8/s72-c/Picture1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-8142415161530037979</id><published>2009-06-24T18:41:00.000-07:00</published><updated>2009-06-25T04:13:16.573-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS-2'/><title type='text'></title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#ff0000;"&gt;1.Bootstrap Program&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;In &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Computing/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;computing&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, booting is a &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Bootstrapping/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;bootstrapping&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; process that starts &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Operating_system/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;operating systems&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; when the user turns on a &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Computer_system/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;computer system&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. Most &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Computer/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;computer&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; systems can only execute code found in the memory (ROM or RAM); modern operating systems are mostly stored on &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Hard_disk_drive/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;hard disk drives&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/LiveCD/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;LiveCDs&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; and &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/USB_flash_drive/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;USB flash drive&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. Just after a computer has been turned on, it doesn't have an operating system in memory. The computer's &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Computer_hardware/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;hardware&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; alone cannot perform complicated actions of the operating system, such as loading a program from disk on its own; so a seemingly irresolvable &lt;/span&gt;&lt;a href="http://www.knowledgerush.com/kr/encyclopedia/Paradox/"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;paradox&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; is created: to load the operating system into memory, one appears to need to have an operating system already installed. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#ff0000;"&gt;2.Difference of interrupt and trap and thier use.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;a name="_Trap_is_actually_a_software_generated_i"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Trap is actually a software generated interrupt caused either by an error (for example division by zero, invalid memory access etc.), or by an specific request by an operating system service generated by a user program. Trap is sometimes called Exception. The hardware or software can generate these interrupts. When the interrupt or trap occurs, the hardware therefore, transfer control to the operating system which first preserves the current state of the system by saving the current CPU registers contents and program counter's value. after this, the focus shifts to the determination of which type of interrupt has occured. For each type of interrupt, separate segmants of code in the operating system determine what action should be taken and thus the system keeps on functioning by executing coputational instruction, I/O instruction, torage instruction etc.&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#ff0000;"&gt;3. Monitor mode,&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;or RFMON (Radio Frequency Monitor)&lt;/span&gt;&lt;span style="font-size:85%;color:#009900;"&gt;mode,&lt;/span&gt;&lt;span style="font-size:85%;color:#009900;"&gt;allows a computer with a &lt;/span&gt;&lt;a title="Wireless network interface card" href="http://en.wikipedia.org/wiki/Wireless_network_interface_card"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;wireless network interface card&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; (NIC) to monitor all traffic received from the wireless network. Unlike &lt;/span&gt;&lt;a title="Promiscuous mode" href="http://en.wikipedia.org/wiki/Promiscuous_mode"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;promiscuous mode&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, which is also used for &lt;/span&gt;&lt;a class="mw-redirect" title="Packet sniffer" href="http://en.wikipedia.org/wiki/Packet_sniffer"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;packet sniffing&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, monitor mode allows packets to be captured without having to associate with an &lt;/span&gt;&lt;a class="mw-redirect" title="Access point" href="http://en.wikipedia.org/wiki/Access_point"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;access point&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; or &lt;/span&gt;&lt;a class="mw-redirect" title="Ad-hoc network" href="http://en.wikipedia.org/wiki/Ad-hoc_network"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;ad-hoc network&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; first. Monitor mode only applies to wireless networks, while promiscuous mode can be used on both wired and wireless networks. Monitor mode is one of the six modes that &lt;/span&gt;&lt;a class="mw-redirect" title="802.11" href="http://en.wikipedia.org/wiki/802.11"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;802.11&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; wireless cards can operate in: Master (acting as an access point), Managed (client, also known as station), Ad-hoc, Mesh, Repeater, and Monitor mode.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#ff0000;"&gt;4.User mode&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;In User mode, the executing code has no ability to directly access hardware or reference memory. Code running in user mode must delegate to system APIs to access hardware or memory. Due to the protection afforded by this sort of isolation, crashes in user mode are always recoverable. Most of the code running on your computer will execute in user mode.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;5.Device Status Table&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#009900;"&gt;Device-status table contains entry for each I/O deviceindicating its type, address, and state.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 500px; CURSOR: hand; HEIGHT: 280px; TEXT-ALIGN: center" alt="" src="http://www.oenter.com/~wittgens/wikix/file/OS/Operating%20System%20Concepts/device_status_table.gif" border="0" /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;6.Direct memory access&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Direct memory access (DMA) is a feature of modern &lt;/span&gt;&lt;a title="Computer" href="http://en.wikipedia.org/wiki/Computer"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;computers&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; and &lt;/span&gt;&lt;a title="Microprocessor" href="http://en.wikipedia.org/wiki/Microprocessor"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;microprocessors&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; that allows certain hardware subsystems within the computer to access system &lt;/span&gt;&lt;a class="mw-redirect" title="Computer storage" href="http://en.wikipedia.org/wiki/Computer_storage"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;memory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; for reading and/or writing independently of the &lt;/span&gt;&lt;a title="Central processing unit" href="http://en.wikipedia.org/wiki/Central_processing_unit"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;central processing unit&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. Many hardware systems use DMA including &lt;/span&gt;&lt;a class="mw-redirect" title="Disk drive" href="http://en.wikipedia.org/wiki/Disk_drive"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;disk &lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;a class="mw-redirect" title="Disk drive" href="http://en.wikipedia.org/wiki/Disk_drive"&gt;drive&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; controllers, &lt;/span&gt;&lt;a class="mw-redirect" title="Graphics card" href="http://en.wikipedia.org/wiki/Graphics_card"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;graphics cards&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, &lt;/span&gt;&lt;a title="Network card" href="http://en.wikipedia.org/wiki/Network_card"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;network cards&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; and &lt;/span&gt;&lt;a title="Sound card" href="http://en.wikipedia.org/wiki/Sound_card"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;sound cards&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. DMA is also used for intra-chip data transfer in &lt;/span&gt;&lt;a title="Multi-core" href="http://en.wikipedia.org/wiki/Multi-core"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;multi-core processors&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, especially in &lt;/span&gt;&lt;a title="MPSoC" href="http://en.wikipedia.org/wiki/MPSoC"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;multiprocessor system-on-chips&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, where its processing element is equipped with a local memory (often called &lt;/span&gt;&lt;a title="Scratchpad RAM" href="http://en.wikipedia.org/wiki/Scratchpad_RAM"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;scratchpad memory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;) and DMA is used for transferring data between the local memory and the main memory. Computers that have DMA channels can transfer data to and from devices with much less &lt;/span&gt;&lt;a title="Central processing unit" href="http://en.wikipedia.org/wiki/Central_processing_unit"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;CPU&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; overhead than computers without a DMA channel. Similarly a processing element inside a multi-core processor can transfer data to and from its local memory without occupying its processor time and allowing computation and data transfer concurrency. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ff0000;"&gt;7.Difference of RAM and DRAM&lt;/span&gt; &lt;a href="http://1.bp.blogspot.com/_4ozeb3d8zm0/SkLkLhxOlYI/AAAAAAAAAKQ/GyhhRRA1IBU/s1600-h/180px-Memory_module_DDRAM_20-03-2006.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5351090193964111234" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 180px; CURSOR: hand; HEIGHT: 135px" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SkLkLhxOlYI/AAAAAAAAAKQ/GyhhRRA1IBU/s200/180px-Memory_module_DDRAM_20-03-2006.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Random-access memory (usually known by its &lt;/span&gt;&lt;a class="mw-redirect" title="Acronym" href="http://en.wikipedia.org/wiki/Acronym"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;acronym&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, RAM) is a form of &lt;/span&gt;&lt;a title="Computer data storage" href="http://en.wikipedia.org/wiki/Computer_data_storage"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;computer data &lt;/a&gt;&lt;/span&gt;&lt;a title="Computer data storage" href="http://en.wikipedia.org/wiki/Computer_data_storage"&gt;st&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;a title="Computer data storage" href="http://en.wikipedia.org/wiki/Computer_data_storage"&gt;orage&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. Today, it takes the form of &lt;/span&gt;&lt;a title="Integrated circuit" href="http://en.wikipedia.org/wiki/Integrated_circuit"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;integrated circuits&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; that allow stored &lt;/span&gt;&lt;a title="Data" href="http://en.wikipedia.org/wiki/Data"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;data&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; to be accessed in any order (i.e., at &lt;/span&gt;&lt;a title="Random access" href="http://en.wikipedia.org/wiki/Random_access"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;random&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;). The word random thus refers to the fact that any piece of data can be returned in a &lt;/span&gt;&lt;a title="Constant time" href="http://en.wikipedia.org/wiki/Constant_time"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;constant time&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, regardless of its physical location and whether or not it is related to the previous piece of data.&lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/RAM#cite_note-0"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;[1]&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; By contrast, storage devices such as &lt;/span&gt;&lt;a title="Magnetic tape" href="http://en.wikipedia.org/wiki/Magnetic_tape"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;tapes&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, magnetic discs and &lt;/span&gt;&lt;a title="Optical disc" href="http://en.wikipedia.org/wiki/Optical_disc"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;optical discs&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; rely on the physical movement of the recording medium or a reading head. In these devices, the movement takes longer than data transfer, and the retrieval time varies based on the physical location of the next item. The word RAM is often associated with &lt;/span&gt;&lt;a title="Volatile memory" href="http://en.wikipedia.org/wiki/Volatile_memory"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;volat&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;a title="Volatile memory" href="http://en.wikipedia.org/wiki/Volatile_memory"&gt;ile&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; types of memory (such as &lt;/span&gt;&lt;a class="mw-redirect" title="DRAM" href="http://en.wikipedia.org/wiki/DRAM"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;DRAM&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; &lt;/span&gt;&lt;a title="DIMM" href="http://en.wikipedia.org/wiki/DIMM"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;memory modules&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;), where the information is lost after the power is switched off. Many other types of memory are RAM, too, including most types of &lt;/span&gt;&lt;a class="mw-redirect" title="Read only memory" href="http://en.wikipedia.org/wiki/Read_only_memory"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;ROM&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; and &lt;/span&gt;&lt;a title="Flash memory" href="http://en.wikipedia.org/wiki/Flash_memory"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;flash memory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; called &lt;/span&gt;&lt;a title="Flash memory" href="http://en.wikipedia.org/wiki/Flash_memory#NOR_flash"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;NOR-Flash&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Dynamic random access memory (DRAM) is a type of &lt;/span&gt;&lt;a class="mw-redirect" title="Random access memory" href="http://en.wikipedia.org/wiki/Random_access_memory"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;random access memory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; that stores each &lt;/span&gt;&lt;a title="Bit" href="http://en.wikipedia.org/wiki/Bit"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;bit&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; of data in a separate &lt;/span&gt;&lt;a title="Capacitor" href="http://en.wikipedia.org/wiki/Capacitor"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;capacitor&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; within an &lt;/span&gt;&lt;a title="Integrated circuit" href="http://en.wikipedia.org/wiki/Integrated_circuit"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;integrated circuit&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. Since real capacitors leak charge, the information eventually fades unless the capacitor charge is &lt;/span&gt;&lt;a title="Memory refresh" href="http://en.wikipedia.org/wiki/Memory_refresh"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;refreshed&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; periodically. Because of this refresh requirement, it is a dynamic memory as opposed to &lt;/span&gt;&lt;a title="Static random access memory" href="http://en.wikipedia.org/wiki/Static_random_access_memory"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;SRAM&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; and other static memory. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#ff0000;"&gt;8.Main memory&lt;/span&gt; &lt;a href="http://1.bp.blogspot.com/_4ozeb3d8zm0/SkLbV_vJj4I/AAAAAAAAAKI/ES2w6obJIWA/s1600-h/main+memory.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5351080478202498946" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 200px; CURSOR: hand; HEIGHT: 150px" alt="" src="http://1.bp.blogspot.com/_4ozeb3d8zm0/SkLbV_vJj4I/AAAAAAAAAKI/ES2w6obJIWA/s200/main+memory.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Refers to &lt;a href="http://www.webopedia.com/TERM/M/physical.html"&gt;physical&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/M/memory.html"&gt;memory&lt;/a&gt; that is internal to the &lt;a href="http://www.webopedia.com/TERM/M/computer.html"&gt;computer&lt;/a&gt;. The word main is used to distinguish it from external &lt;a href="http://www.webopedia.com/TERM/M/mass_storage.html"&gt;mass storage&lt;/a&gt; &lt;a href="http://www.webopedia.com/TERM/M/device.html"&gt;devices&lt;/a&gt; such as &lt;a href="http://www.webopedia.com/TERM/M/disk_drive.html"&gt;disk drives&lt;/a&gt;. Another term for main memory is &lt;a href="http://www.webopedia.com/TERM/M/RAM.html"&gt;RAM&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#ff0000;"&gt;9.Magnetic Disk&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Magnetic storage and magnetic recording are terms from &lt;/span&gt;&lt;a title="Engineering" href="http://en.wikipedia.org/wiki/Engineering"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;engineering&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; referring to the storage of &lt;/span&gt;&lt;a title="Data" href="http://en.wikipedia.org/wiki/Data"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;data&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; on a &lt;/span&gt;&lt;a title="Magnet" href="http://en.wikipedia.org/wiki/Magnet"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;magnetized&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; medium. Magnetic storage uses different patterns of &lt;/span&gt;&lt;a title="Magnetization" href="http://en.wikipedia.org/wiki/Magnetization"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;magnetization&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; in a magnetizable material to store data and is a form of &lt;/span&gt;&lt;a title="Non-volatile memory" href="http://en.wikipedia.org/wiki/Non-volatile_memory"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;non-volatile memory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. The information is accessed using one or more &lt;/span&gt;&lt;a title="Disk read-and-write head" href="http://en.wikipedia.org/wiki/Disk_read-and-write_head"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;read/write heads&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;. As of 2009, magnetic storage media, primarily &lt;/span&gt;&lt;a class="mw-redirect" title="Hard disk" href="http://en.wikipedia.org/wiki/Hard_disk"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;hard disks&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, are widely used to store &lt;/span&gt;&lt;a class="mw-redirect" title="Computer data" href="http://en.wikipedia.org/wiki/Computer_data"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;computer data&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; as well as &lt;/span&gt;&lt;a title="Sound" href="http://en.wikipedia.org/wiki/Sound"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;audio&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; and &lt;/span&gt;&lt;a title="Video" href="http://en.wikipedia.org/wiki/Video"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;video&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; signals. In the field of computing, the term magnetic storage is preferred and in the field of audio and video production, the term magnetic recording is more commonly used. The distinction is less technical and more a matter of preference. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#ff0000;"&gt;10.Storage Hierarchy&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;The hierarchical arrangement of storage in current computer architectures is called the memory hierarchy. It is designed to take advantage of memory locality in computer programs. Each level of the hierarchy has the properties of higher bandwidth, smaller size, and lower latency than lower levels.Most modern CPUs are so fast that for most program workloads, the locality of reference of memory accesses and the efficiency of the caching and memory transfer between different levels of the hierarchy are the practical limitation on processing speed. As a result, the CPU spends much of its time idling, waiting for memory I/O to complete. This is sometimes called the space cost, as a larger memory object is more likely to overflow a small/fast level and require use of a larger/slower level.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-8142415161530037979?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/8142415161530037979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=8142415161530037979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8142415161530037979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8142415161530037979'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/1_24.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_4ozeb3d8zm0/SkLkLhxOlYI/AAAAAAAAAKQ/GyhhRRA1IBU/s72-c/180px-Memory_module_DDRAM_20-03-2006.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-5639642410958616795</id><published>2009-06-22T01:57:00.000-07:00</published><updated>2009-06-22T01:58:38.912-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;6.Differentiate client-server systems and peer-to-peer systems.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;Client-server computing or networking&lt;/span&gt; &lt;span style="color:#009900;"&gt;is a distributed application architecture that partitions tasks or work loads between service providers (servers) and service requesters, called clients.[1] Often clients and servers operate over a computer network on separate hardware. A server is a high-performance host that is a registering unit and shares its resources with clients. A client does not share any of its resources, but requests a server's content or service function. Clients therefore initiate communication sessions with servers which await (listen to) incoming requests&lt;/span&gt;. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;Peer-to-peer (P2P)&lt;/span&gt; &lt;span style="color:#009900;"&gt;networking is a method of delivering computer network services in which the participants share a portion of their own resources, such as processing power, disk storage, network bandwidth, printing facilities. Such resources are provided directly to other participants without intermediary network hosts or servers.[1] Peer-to-peer network participants are providers and consumers of network services simultaneously, which contrasts with other service models, such as traditional client-server computing. &lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-5639642410958616795?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/5639642410958616795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=5639642410958616795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5639642410958616795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/5639642410958616795'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/6_22.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6771671857004390304</id><published>2009-06-22T01:51:00.000-07:00</published><updated>2009-06-22T01:54:52.185-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;color:#ff0000;"&gt;5.Differentiate Symmetric Multiprocessing and Asymmetric Multiprocessing.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#3333ff;"&gt;Symmetric multiprocessing&lt;/span&gt; treats all processors as equals, and I/O can be processed on any CPU. &lt;span style="color:#3333ff;"&gt;Asymmetric multiprocessing&lt;/span&gt; has one master CPU and the remainder CPUs are slaves. The master distributes tasks among the slaves, and I/O is usually done by the master only. Multiprocessors can save money, by not duplicating power supplies, housings, and peripherals. They can execute programs more quickly, and can have increased reliability. They are also more complex in both hardware and software than uniprocessor systems.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6771671857004390304?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6771671857004390304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6771671857004390304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6771671857004390304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6771671857004390304'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/5.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-8974183559096990453</id><published>2009-06-22T01:49:00.000-07:00</published><updated>2009-06-22T01:50:02.954-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;4.Advantages of Parallel Systems?&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Parallel systems usually give results which fall somewhere between pure plurality/majority and pure PR systems. One advantage is that, when there are enough PR seats, small minority parties which have been unsuccessful in the plurality/majority elections can still be rewarded for their votes by winning seats in the proportional allocation. In addition, a Parallel system should, in theory, fragment the party system less than a pure PR electoral system. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-8974183559096990453?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/8974183559096990453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=8974183559096990453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8974183559096990453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/8974183559096990453'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/4.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-6980884789028493205</id><published>2009-06-22T01:43:00.000-07:00</published><updated>2009-06-22T01:46:27.304-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;color:#ff0000;"&gt;3.What's the difference between Batch systems, Multiprgrammed systems, and time-sharing systems?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#3333ff;"&gt;Batch.&lt;/span&gt; &lt;span style="color:#009900;"&gt;A job was originally presented to the machine (and its human operator) in the form of a set of cards - these cards held information according to how ``punched'' out of the cardboard. The operator grouped all of the jobs into various batches with similar characteristics before running them(all the quick jobs might run, then the slower ones, etc.).&lt;/span&gt;&lt;span style="color:#009900;"&gt;While&lt;/span&gt; &lt;span style="color:#3333ff;"&gt;multiprogrammed systems&lt;/span&gt; &lt;span style="color:#009900;"&gt;used resources more efficiently i.e. minimized CPU idle time, a user could not interact with a program. By having the CPU switch between jobs at relatively short intervals, we can obtain an interactive system.That is, a system in which a number of users are sharing the CPU (or other critical resource) with a timing interval small enough not to be noticed e.g. no more than 1 second&lt;/span&gt;. &lt;span style="color:#009900;"&gt;We say that a&lt;/span&gt; &lt;span style="color:#3333ff;"&gt;time-sharing system&lt;/span&gt; &lt;span style="color:#009900;"&gt;uses CPU scheduling and multiprogramming to provide each user with a small portion of a time-shared computer and Time-sharing is sharing a computing resource among many users by multitasking. Its introduction in the 1960s, and emergence as the prominent model of computing in the 1970s, represents a major historical shift in the history of computing. By allowing a large number of users to interact simultaneously on a single computer, time-sharing dramatically lowered the cost of providing computing, while at the same time making the computing experience much more interactive.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-6980884789028493205?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/6980884789028493205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=6980884789028493205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6980884789028493205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/6980884789028493205'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/3.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-2885946012389802851</id><published>2009-06-22T01:39:00.001-07:00</published><updated>2009-06-22T01:42:03.652-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;1.What is the difference of OS in terms of user's view and system's view?&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#3333ff;"&gt;User's view:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;Operating system is designed mostly for ease of use.The operating system is designed mostly for ease of use, with some attention paid to performance, and none paid to resource utilization.&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;System View:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#009900;"&gt;We can view an operating system as a resource allocator. The operating system acts as the manager of these resources.An operating system can also be viewed as a control program that manages the execution of user programs to prevent errors and improper use of the computer.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-2885946012389802851?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/2885946012389802851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=2885946012389802851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/2885946012389802851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/2885946012389802851'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/1_22.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-1155067765951035804</id><published>2009-06-21T00:12:00.000-07:00</published><updated>2009-06-21T00:54:33.150-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;color:#009900;"&gt;&lt;span style="color:#3366ff;"&gt;f. HANDHELD&lt;br /&gt;&lt;/span&gt;A Mobile operating system, also known as , a Mobile OS, a Mobile platform, or a Handheld operating system, is the &lt;/span&gt;&lt;a title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;operating system&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; that controls a &lt;/span&gt;&lt;a title="Mobile device" href="http://en.wikipedia.org/wiki/Mobile_device"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;mobile device&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;—similar in principle to an operating system such as &lt;/span&gt;&lt;a title="Linux" href="http://en.wikipedia.org/wiki/Linux"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Linux&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; or &lt;/span&gt;&lt;a title="Microsoft Windows" href="http://en.wikipedia.org/wiki/Microsoft_Windows"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Windows&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; that controls a desktop computer.&lt;br /&gt;However, they are currently somewhat simpler, and deal more with the wireless versions of broadband and local connectivity, mobile multimedia formats, and different input methods.The ongoing shift away from voice-intensive cellular technology to data-intensive mobile broadband is a significant issue for many large industriesMobile platforms are in the nascent stage, and any projection regarding the market growth is hard to make at the present time. It is noteworthy that Intel is taking the initiative to focus on portable devices other than mobile phones. They are &lt;/span&gt;&lt;a class="mw-redirect" title="Intel Mobile Internet Device" href="http://en.wikipedia.org/wiki/Intel_Mobile_Internet_Device"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Mobile Internet Devices&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; (MID) and &lt;/span&gt;&lt;a title="Ultra-Mobile PC" href="http://en.wikipedia.org/wiki/Ultra-Mobile_PC"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Ultra-Mobile PC&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; (UMPC). Meantime, Palm abandoned its plan to develop &lt;/span&gt;&lt;a title="Palm Foleo" href="http://en.wikipedia.org/wiki/Palm_Foleo"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Foleo&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, which was to be a companion device for a smartphone.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-1155067765951035804?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/1155067765951035804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=1155067765951035804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/1155067765951035804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/1155067765951035804'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/e.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-3564703032174642757</id><published>2009-06-21T00:03:00.000-07:00</published><updated>2009-06-21T00:39:03.046-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;2.GOALS OF THE OPERATING SYSTEM:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;It is easier to define an operating system by what it does than what it is, but even this can be tricky. The primary goal of some operating system is convenience for the user. The primary goal of other operating system is efficient operation of the computer system. Operating systems and computer architecture have influenced each other a great deal. To facilitate the use of the hardware, researchers developed operating systems. Users of the operating systems then proposed changes in hardware design to simplify them. In this short historical review, notice how identification of operating-system problems led to the introduction of new hardware features.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-3564703032174642757?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/3564703032174642757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=3564703032174642757' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3564703032174642757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3564703032174642757'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/6.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-3064958570813152430</id><published>2009-06-20T23:42:00.000-07:00</published><updated>2009-06-22T01:42:39.885-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;7. Differentiate the design issues of OS between a stand alone PC and a workstation connected to a network&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;stand-alone PC&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;A desktop or laptop computer that is used on its own without requiring a connection to a local area network (LAN) or wide area network (WAN). Although it may be connected to a network, it is still a stand-alone PC as long as the network connection is not mandatory for its general use.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;&lt;strong&gt;workstation&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#009900;"&gt;A significant segment of the desktop market are computers expected to perform as workstations, but using PC operating systems and components. PC component manufacturers will often segment their product line, and market premium components which are functionally similar to the cheaper "consumer" models but feature a higher level of robustness and/or performance. Notable examples of this are the &lt;/span&gt;&lt;/span&gt;&lt;a title="AMD" href="http://en.wikipedia.org/wiki/AMD"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;AMD&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; &lt;/span&gt;&lt;a title="Opteron" href="http://en.wikipedia.org/wiki/Opteron"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Opteron&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt;, &lt;/span&gt;&lt;a title="Intel Corporation" href="http://en.wikipedia.org/wiki/Intel_Corporation"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Intel&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; &lt;/span&gt;&lt;a title="Xeon" href="http://en.wikipedia.org/wiki/Xeon"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Xeon&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; processors, and the &lt;/span&gt;&lt;a title="ATI FireGL" href="http://en.wikipedia.org/wiki/ATI_FireGL"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;ATI FireGL&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; and &lt;/span&gt;&lt;a title="Nvidia Quadro" href="http://en.wikipedia.org/wiki/Nvidia_Quadro"&gt;&lt;span style="font-size:85%;color:#009900;"&gt;Nvidia Quadro&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;color:#009900;"&gt; graphics processors.A workstation class PC may have some of the following features:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;color:#ffff00;"&gt;support for ECC memory&lt;br /&gt;a larger number of memory sockets which use registered (buffered) modules&lt;br /&gt;multiple processors&lt;br /&gt;multiple displays&lt;br /&gt;run a "business" or "professional" operating system version&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#33cc00;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="color:#33cc00;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-3064958570813152430?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/3064958570813152430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=3064958570813152430' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3064958570813152430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/3064958570813152430'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/7.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5192592410169799258.post-932083762495327041</id><published>2009-06-18T02:21:00.001-07:00</published><updated>2009-06-22T02:00:03.098-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OPERATING SYSTEM'/><title type='text'></title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;8.Define the essential properties of the following types of OS:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#3366ff;"&gt;a.BATCH&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Jobs with similar needs are batched together and run through the computer as a group by an operator or automatic job sequencer. Performance is increased by attempting to keep CPU and I/O devices busy at all times through buffering, off-line operation, spooling, and multiprogramming. Batch is good for executing large jobs that need little interaction; it can be submitted and picked up later.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;b.TIME SHARING&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Uses CPU scheduling and multiprogramming to provide economical interactive use of a system. The CPU switches rapidly from one user to another. Instead of having a job de?ned by spooled card images, each program reads its next control card from the terminal, and output is normally printed immediately to the screen.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;c.REAL TIME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Often used in a dedicated application. The system reads information from sensors and must respond within a ?xed amount of time to ensure correct performance.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;d.NETWORK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A computer network is a group of interconnected computers. Networks may be classified according to a wide variety of characteristics. This article provides a general overview of some types and categories and also presents the basic components of a network.&lt;br /&gt;A computer network is a collection of computers and devices connected to each other. The network allows computers to communicate with each other and share resources and information.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#3366ff;"&gt;e.DISTRIBUTED&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Distributes computation among several physical processors. The processors do not share memory or a clock. Instead, each processor has its own local memory. They communicate with each other through various communication lines, such as a high-speed bus or telephone line&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5192592410169799258-932083762495327041?l=jee20ann.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jee20ann.blogspot.com/feeds/932083762495327041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5192592410169799258&amp;postID=932083762495327041' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/932083762495327041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5192592410169799258/posts/default/932083762495327041'/><link rel='alternate' type='text/html' href='http://jee20ann.blogspot.com/2009/06/1.html' title=''/><author><name>jee20ann</name><uri>http://www.blogger.com/profile/09160739585182481187</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_4ozeb3d8zm0/SSeM9REmoLI/AAAAAAAAAFc/BL9w52mhrrA/S220/kim%2520at%2520frienster.jpg'/></author><thr:total>0</thr:total></entry></feed>
