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.
Nobody downloaded yet

Minix 2 operating system - Essay Example

Comments (0)
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

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.


I 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.




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 pagesRead More
Comments (0)
Click to create a comment
Operating system
In this regard the computer needs an operation system to achieve the following; Human interface The computer has to have a way of presenting this data to the human level in a language and a format which is understandable. The way the processor operates on data is not the way the human would be able to read or use the data.
4 Pages(1000 words)Essay
Microsoft Windows operating system
First introduced in November 1985 as an add-on to MS-DOS, this operating system has grown from strength to strength having different variants till Windows XP and XP-Pro. Now the world is waiting for Windows Vista which is to be launched by January, 2007. Business economics tell us that a perfectly competitive market has the following characteristics:
2 Pages(500 words)Essay
Operating System
This allows it to become a host which manages the other software running in the machine. With this position, the OS makes functioning of computers more efficiently by relieving application programs from managing these tedious tasks. The importance of the operating system to any computing device can never be overstated.
4 Pages(1000 words)Essay
Operating Systems and Utilities
8088 machines possessed 256 KB, 512 KB or 1 MB of RAM. 8088 was much cheaper than 8086. The Intel 80386 was the first 32-bit CPU. The 386 have 32-bit long registers and a 32-bit data bus, both internally and externally. The 80386 SX became the most popular chip with a discount edition of the 386 DX.
10 Pages(2500 words)Essay
Operating Systems: A Short History Inspires a Long Future
With the advent of games and new technologies, younger generations are able to learn on computers at even earlier ages while older generations can do simple tasks, like balancing a check book, more conveniently and accurately then ever. All this is due to the operating system on every computer.
6 Pages(1500 words)Essay
The LInux Operating System
Linux is being used in many corporations and governmental agencies precisely because of the advantages it confers on the users. The other notable feature of Linux is the ability to modify the source code by anyone for their
4 Pages(1000 words)Research Paper
Operating System
Knowledge base search is one of the best support options available on Microsoft’s website. It is a database full of technical articles
1 Pages(250 words)Essay
Compares and contrasts the kernels of different operating systems
An operating system forms the bridge between a machine and its users. Without an operating system, the machine is useless. At the present, there are a wide variety of operating systems which are designed for different machines and purposes. For instance,
12 Pages(3000 words)Essay
Operating system
e user and the computer, because the user does not know the computer language of ones and zeros, and the operating system takes the responsibility of taking user’s commands and passing it on to the related software and hardware. The user uses the GUI of the OS to give commands
1 Pages(250 words)Essay
Operating System
When an interrupt is generated, OS saves the current execution state by means of context switch. After saving the execution state, the OS executes the interrupt handler at the interrupt vector. Kind of interrupt that is generated by
7 Pages(1750 words)Essay
Let us find you another Essay on topic Minix 2 operating system for FREE!
Contact us:
Contact Us Now
FREE Mobile Apps:
  • About StudentShare
  • Testimonials
  • FAQ
  • Blog
  • Free Essays
  • New Essays
  • Essays
  • The Newest Essay Topics
  • Index samples by all dates
Join us:
Contact Us