StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...

Minix 2 operating system - Essay Example

Cite this document
Summary
Hi, I got your questions. I will answer them one by one. Firstly, we must understand that under the minix source code, we must make only minor changes to the code in order to manipulate the performance. So this will include adding a few lined or changing existing ones…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER92.8% of users find it useful
Minix 2 operating system
Read Text Preview

Extract of sample "Minix 2 operating system"

Download file to see previous pages

so after line no. 21021, declare these counters. Now add hit_counter as I have said in the previous doc. And the time should be incremented each time any function in cache.c is called. So you must add variable time at 21070 & 21035 after having written the code ++hit_counter & Time_requiredtofree_block++. Remember, you have to add printf statements wherever you make an increment to these counters. Initialize hit_counter & time to zero (this is important). Well, I had written two 'C' files named fil1.

c and fil2.c, which added and subtracted two numbers. When I ran this statement on bochs, I got the output of the printf statements. The tests of performance was a two step process. In the first part, don't make any changes to the Block_size and the Hash table, but include the variables hit_counter and time. Run the command and see the results. Then increase the BLOCK_SIZE & the Hash table size and then run the same command again. You will definitely find a change in the results. The answer to this lies in question 3.

The first set of values was obtained for the variables hit_counter and Time_requiredtofree_block, when the value of BLOCK_SIZE and size of the hash table was 1024. The second values were obtained when the size of BLOCK_SIZE & hashTable was increased. I have found out a few more points which you can use. The second values were obtained when the size of BLOCK_SIZE & hashTable was increased. 5) fifth it says initialize the variables how and where Initialize hit_counter & time to zero at line no.

21021, where you declare them.FEW MORE FINDINGSI have found out a few more points which you can use for your presentation. This is regarding the Lru chain, which can be completely discarded. Instead we can use a circularly linked double linked list. FRONT PIVOT REAR The figure is a bit crude, but I think it can deliver the idea. Frst, the pivot is connected to the hash table entry. The FRONT is the end which contains those blocks that are least needed and the REAR contains those blocks that are expected in the near future (same as LRU).

Now, this linked list has the added advantage at the time of reading the next block from this chain unlike reading from the disk thru I/o. in this, the code can be written such that the REAR is used as fast as the FRONT will be accessed. This will ensure that the performance of the cache is enhanced further over the LRU scheme. The reason being that under LRU, for accessing a REAR, it has to traverse to the end, while here, we could use sioimple logic (like a flag where if flag=1 go along front i.e. clockwise from pivot or if flag=0, go along rear from pivot i.e. anti-clockwise).

Believe me, this will speed up the cache. It is extremely useful, when under our modified code, contiguous blocks will be accessed from the disk. So the OS will perceive that the next necessary block will be the contiguous one and it will place it at the REAR. Then accessing under theis scheme will be much faster than the one under the LRU. Pls feel

...Download file to see next pages Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Minix 2 operating system Essay Example | Topics and Well Written Essays - 1000 words”, n.d.)
Minix 2 operating system Essay Example | Topics and Well Written Essays - 1000 words. Retrieved from https://studentshare.org/miscellaneous/1500818-minix-2-operating-system
(Minix 2 Operating System Essay Example | Topics and Well Written Essays - 1000 Words)
Minix 2 Operating System Essay Example | Topics and Well Written Essays - 1000 Words. https://studentshare.org/miscellaneous/1500818-minix-2-operating-system.
“Minix 2 Operating System Essay Example | Topics and Well Written Essays - 1000 Words”, n.d. https://studentshare.org/miscellaneous/1500818-minix-2-operating-system.
  • Cited: 1 times

CHECK THESE SAMPLES OF Minix 2 operating system

Operating Systems and Utilities

      486way multiusers and multitasking operating system, which worked under several other operating systems like DOS, Windows 3.... The disadvantage of this system was that the L2 cache became markedly slower than it would have been.... It had access to all system memory – even beyond the 1MB limit, which applied to real mode.... This paper ''operating Systems and Utilities'' tells that The first PCs were 16-bit machines, which could only work with the text with the only ability to manage one program at a time....
9 Pages (2250 words) Essay

What an Operating System Is

This paper ''Operating Systems'' tells that Few people exist today that do not know, at least on a fundamental level, what an operating system is.... All this is due to the operating system on every computer.... But what is an operating system, what does it do, and where did it come from?... The truth is, without an operating system installed all computers would be useless for anything short of being rather large paperweights (Business line, 2005)....
7 Pages (1750 words) Essay

The LInux Operating System

This adds to the flexibility and adaptability of the operating system to user requirements.... Linux is often called a derivative of UNIX, the other operating system that is character based and one that is widely used in research laboratories around the world.... Linux is an operating system, a software program that controls your computer.... Linux traces its evolution to a mainframe operating system called Multics (Multiplexed Information and Computing Service)....
4 Pages (1000 words) Research Paper

3D Feature in User Interface of Unix Operating System

Since the UNIX operating system is to a very large extent engaged in compliance certification, multitasking, multiple users, its position is solid.... The UNIX operating system was instrumental in the launch of the Win3D beta version interface that created a renaissance in the whole 3D environment.... Linux as an operating system was developed from a minute UNIX constituent called Minix.... The UNIX system has sold incredible number of software to a host of other software developers from Linux, Solaris, to Mac OS X....
7 Pages (1750 words) Essay

Development and History of Unix and Linux

Additionally, the (USG) Unix system Group, provided the internal support.... The version has the following components: a fork (), ed, roff and a file system.... The subsequent V2 was intended to integrate the system call referred to as the pipe()....
7 Pages (1750 words) Coursework

History of LINUX

Dennis Ritchie and Ken Thompson developed the UNIX operating system in AT & T Bell Laboratories, in 1969, before its official release in 1970.... Richard Stallman, in 1983, began the GNU project with intent to create an operating system that was similar to UNIX, but free, and created the GNU General Public License (GNU GPL).... Berkeley Software Distribution (BSD) was another operating system project that had begun in 1977 but its development and adoption was limited since it comprised of a UNIX code, and hence was involved in a lawsuit with AT&T....
6 Pages (1500 words) Literature review

Windows and Linux Operating System in the Enterprise

This paper ''Windows and Linux operating system in the Enterprise' tells that Microsoft Windows represents a family of Microsoft's operating systems that are designed for personal computers.... The Microsoft windows that were a GUI (graphical user interface) targeted Microsoft's operating system (MS-DOS).... The Microsoft windows product line has since changed from a simple GUI to the integrated and modern operating system to form two-family operating designs, each characterized by its default filing system and codebases....
5 Pages (1250 words) Term Paper

Operating Systems: Windows and Linux

The operating system used by companies can have a great influence on their network security.... According to a study “A Brief History of the Windows operating system” by Curtis, Microsoft announced the development of Windows in 1983 for its own operating system called MS-DOS.... "Operating Systems: Windows and Linux" paper compares two world's leading desktop Operating Systems considering the OS features such as application software availability, system requirements, end-user training needs, and security to identify the more effective OS in a business environment....
8 Pages (2000 words) Case Study
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us