The Memory Management Of Operating Systems Information Technology Essay

The undermentioned certification is divided into two subdivisions. The first subdivision trades with the memory direction of operating system. The operating system chosen for this assignment is Fedora. This subdivision starts with the debut of Fedora and memory direction. The memory direction techniques used for this subdivision are practical memory and refuse aggregation.

Hire a custom writer who has experience.
It's time for you to submit amazing papers!


order now

In the 2nd subdivision of this papers contains inside informations of assorted modern microprocessors. This includes debut of microprocessor and comparing of microprocessor in assorted devices like laptops, desktops, waiters and embedded systems. The last portion of this subdivision explains about the tendencies that affect the public presentation and design in modern microprocessors.

Section 1

Operating System

1.0 Introduction

Fedora is an unfastened beginning runing system built on the Linux meat. The first release of Fedora was on 16th November 2003 as Fedora Core 1. The latest stable version was released on 2nd November 2010 as Fedora 14, codenamed Laughling. Fedora is developed by a community of developers jointly known as the Fedora Project. This undertaking was founded by Warren Togami in December 2002. The Fedora undertaking is sponsored by Red Hat.

The following version of Fedora ( Fedora 15 / Lovelock ) will be released on 17th May 2011. The characteristics included are:

i?? Implementation of GNOME 3

i?? Implementation of Systemd

i?? OpenOffice is replaced by LibreOffice

Presently, Fedora ranks 3rd as the most popular Linux-based operating system. Ubuntu being foremost, followed by Mint.

( Fedora 14 screenshot )

1.1 Memory Management

Memory direction is a field of computing machine scientific discipline which develops techniques to expeditiously pull off the computing machine memory. Basically, memory direction involves allotment of memory part to assorted plans at their petition, and so liberating it, so that it can be reused. Good memory direction technique maximizes treating efficaciousness. Memory direction is a via media between measure ( available Random Access Memory ) and public presentation ( entree clip ) .

A good memory direction system must transport out the undermentioned undertakings

i?? Allocation of memory infinite blocks for different undertakings

i?? Allow sharing of memory

i?? Memory infinite which is being used should be protected. This is required to forestall a user from altering a undertaking carried out by another user.

i?? Optimization of available memory

Different runing system implements assorted techniques for memory direction and hence, their public presentation varies. Some of the memory direction techniques used by Fedora are as follows

i?? Virtual Memory

i?? Garbage aggregation

i?? Trading

i?? Memory hierarchy

i?? Over commit accounting

i?? OutOfMemory

i?? Drop caches

1.2 Virtual Memory

Virtual memory is one the most normally used memory direction technique in modern computing machines. It was developed for multitasking meats to turn to the issue of deficient RAM for multiple plans to work at the same time. Virtual memory allows the computing machine to look at countries of RAM which have non been used for a piece and transcripts those countries onto the difficult disc. Lone instructions and informations used by the processor are stored in the RAM. The operating system carries this undertaking out by making a impermanent file ( known as SWAP or exchange file ) and puting it on the difficult disc when the RAM infinite is non sufficient. This will increase the infinite in memory and will let RAM to lade new applications because the countries of RAM which was non used late was moved to difficult disc.

So, practical memory fundamentally extends the users primary memory by sing the difficult disc as if it were an extra Random-access memory.

( Virtual memory )

Virtual memory is implemented in Fedora since it is a multitasking and multiuser operating system. These characteristics require necessary protection and ability to put to death different procedure at the same time whose cumulated procedure size can be greater than the primary memory available in the system. These demands can be met by implementing practical memory technique.

1.2.1 Advantages and Disadvantages

Advantages of Virtual Memory

1. Virtual memory allows the system to map as if it has more RAM than it really does. So, the system can run more active applications at a given clip because practical memory increases the sum of primary infinite available.

2. A plan or procedure can run on a system even though there isni??t plenty primary memory required for the plan or procedure to run. This is achieved by the execution of practical memory because it increases the RAM infinite by copying countries of RAM which wasni??t late used to the difficult disc

3. Since difficult disc infinite is much cheaper than RAM infinite, users need non pass a batch of money upgrading their Random-access memory.

Disadvantages of Virtual Memory

1. There will be a important loss of system public presentation if the system relies excessively much on the practical memory. This is because the operating system is required to constantly swap information between RAM and the difficult disc. And since the read/write velocity of difficult disc is much slower than RAM and the difficult disc engineering does non let speedy entree to little spots of informations at a clip, there will be a important loss of public presentation when the system relies to a great extent on practical memory. The RAM is much faster than difficult disc because RAM is made up of incorporate circuit engineering, doing it faster, while difficult disc is built on the magnetic engineering, which is much slower than the RAM.

This can be avoided by doing certain that system has adequate RAM installed in it so that the RAM can manage all the undertakings used by the user on a day-to-day footing. Having this apparatus will guarantee the suited operation of the system.

2. The execution of practical memory requires allotment of certain part of difficult disc infinite for its usage. This will ensue in less difficult disc infinite the useri??s usage. That is if a system has 20GB difficult disc, and 2GB of its infinite is allocated for practical memory, so the user can non utilize this 2GB of infinite as it is reserved for practical memory

This job can be solved by holding a difficult disc with adequate infinite for the useri??s demand so that the allotment of certain part of difficult disc will non ensue in deficient infinite in the difficult disc.

3. The system might be unstable because of the changeless barter of information between difficult disc and RAM.

1.3 Garbage aggregation

Garbage aggregation is a signifier of machine-controlled memory direction technique in which the operating system removes objects, informations or other parts of the memory which are no longer in usage by the system or the plan. This technique is necessary for runing system to work good because the memory available in the system is ever finite and failure to take these unwanted informations will ensue in important public presentation loss and unneeded usage of memory.

In Fedora, refuse aggregation is chiefly broken down to three phases, they are

i?? Sniping

i?? Trashing

i?? Deleting

1.3.1 Sniping

In this phase, the operating system identifies unwanted objects, physiques or informations and they are detached from certain tickets harmonizing to garbage aggregation policies set by Fedora. These policies allow regulations based on ticket, signature and bundle.

No objects, physiques or informations are deleted in this phase. The unwanted objects, physiques or informations are identified in this phase, which finally gets deleted in the approaching phases.

1.3.2 Trashing

This is the phase in which, the system overlooks the objects, physiques or informations which was untagged in sniping phase. After this, these objects, physiques or informations are tagged with a i??trashcani?? ticket which instructs the system to direct these physiques for omission. The refuse aggregator sends a certain objects, physiques or informations for omission merely if it meets the undermentioned demand

1. The objects, physiques or informations is unlabeled for at least 5 yearss

2. There are non protection key signed on the objects, physiques or informations

1.3.3 Deleting

This is the concluding phase in refuse aggregation, in this phase, all the objects, physiques or informations are examined one last clip for any errors in their tickets. The objects, physiques or informations is normally deleted after it has been tagged with the trashcan ticket for more than the grace period ( 4 hebdomads by default ) .

Section 2

Computer System Architecture

2.0 Introduction

A microprocessor, besides known as a logical bit is an incorporate circuit which contains the whole or most of the cardinal processing unit ( CPU ) of a computing machine on a individual bit. A microprocessor is chiefly designed to carry through logical and arithmetic operations.

( AMD Athlon Processor )

Microprocessors were introduced in the early 1970i??s and were used in electronic reckoners which were utilizing Binary Coded Decimal ( BCD ) for computations. These microprocessors were 4 spot microprocessors. These microprocessors were shortly used in devices like pressmans, terminuss and different types of mechanization.

The first general intent commercially developed microprocessor was introduced by Intel. This microprocessor was called Intel 4004. This was besides the first complete CPU on a bit. The engineering used for the development of Intel 4004 was the silicon gate engineering which increased the figure of transistors in each microprocessor which in bend increased the velocity of calculation. It had a clock velocity of 108KHz and 2300 transistors with a port for Input Output ( I/O ) , RAM and Read Merely Memory ( ROM ) . Intel 4004 was able to put to death about 92,000 direction every 2nd, doing each direction rhythm 10.8 microsecond. This can be inferred because the microprocessor is capable of put to deathing 92,000 instructions per second, so after computation ( 1/92000 ) , we can corroborate that each direction takes 10.8 microseconds.

The microprocessor acts as an unreal encephalon of a computing machine. It receives and gives out assorted instructions to other constituents present is a computing machine. All microprocessori??s work are based on logic. This is achieved from the three following constituents of microprocessor which forms the chief characteristics of the microprocessor, they are

1. Set of digital direction

2. Bandwidth

3. Clock velocity

2.1 Growth of microprocessor

Soon, in the digital age, there are merely a negligible about of electronic appliances that does non hold a microprocessor inside it. This is because of the speedy development in this field. Today, these appliances perform a broad assortment of advanced undertaking and this merely be achieved by the execution of a microprocessor in it.

The speedy development of assorted Fieldss like car, conditions prediction, medical specialty, communicating and infinite engineering can be credited to the development of microprocessor. This is because of the ability of microprocessori??s ability to do speedy and believable determinations.

Microprocessor besides enabled mechanization of assorted hard manual occupations possible. This has resulted in greater velocity, efficiency and truth in many facets of our life. The potency of microprocessor is still huge as there is still room for more development of microprocessors.

2.2 Microprocessor design scheme

Microprocessori??s design and architecture varies depending upon its industry and the machine demand the microprocessor would be carry throughing. Some of the design schemes are as follows

i?? Complex Instruction Set Computers

In this architecture, most of the work are done by the microprocessor itself. Here, a individual direction can transport out several low degree operations. Low degree operation refers operations like burden from memory, arithmetic operations and other such operations.

Example: Motorola 68k processors

i?? Reduced Instruction Set Computers

This is a CPU architecture in which most of the work is done by the package itself. This ensures that the burden on the processor is really low and consequences in faster executing of direction.

Example: AMD 29k processors.

2.3 Microprocessors in different devices

Based on the different machines and the undertaking it carries out, microprocessors can be loosely classified into

i?? Desktop microprocessor

i?? Laptop microprocessor

i?? Server microprocessor

i?? Embedded system microprocessor

2.3.1 Desktop Microprocessors

A desktop is a general intent personal computing machine which is intended to be used in a individual location.

( Desktop Personal computer )

As desktops are used in a individual location, there will be a changeless supply of power to the system. Besides, most of the desktop instances are expeditiously ventilated to minimise the temperature rise in the system. As there is no job with power supply or airing and adequate infinite to put in chilling devices in desktop, the microprocessors are chiefly designed to give out high public presentation.

As the desktop microprocessors are designed chiefly for public presentation, they have the undermentioned characteristics

( Compared to laptop and embedded system microprocessor )

i?? Higher figure of transistors, Higher maximal temperature

i?? Die size ( physical surface country of on the wafer ) is higher.

i?? Processor frequence is higher

i?? Supports higher cache size

i?? CPU multiplier is higher

i?? Bus/core ration is higher

2.3.1 Laptop Microprocessor

A laptop is besides a general intent personal computing machine intended for nomadic intent. A laptop besides has most of the desktop hardware integrated in it. This included a keyboard, show, talkers and a touchpad. A laptop is powered by chief electricity utilizing an AC arranger, but it has a rechargeable battery attached to it so that it can work without a changeless supply of electricity for an AC arranger until the battery drains out. Modern laptops besides include wireless arranger, camera, mic, HDMI port, touch screen and a GSM SIM slot to help better communicating and user experience.

( A general purpose laptop )

As the laptops are used to be nomadic, it is designed to be compact with all the hardware and other peripheral devices attached together, and this eases the portability of laptop from one point to another.

As laptops are really compact and are built to run on battery for most of the clip, the processor for such machine demands to turn to a broad assortment of issues. This includes airing, power direction and public presentation.

Power direction is an of import issue as laptops should utilize battery every bit expeditiously as possible. Therefor laptop processor should utilize less power than other microprocessors like desktop, waiter or embedded system microprocessors. Laptop processor should besides make minimum heat as all the constituents are place together is a really compact infinite. This is because an addition in heat would damage most of the hardware.

As the desktop microprocessors are designed chiefly for public presentation, they have the undermentioned characteristics

( compared to desktop and server microprocessor )

i?? Less figure of transistors

i?? Minimal temperature addition

i?? Die size ( physical surface country of on the wafer ) is really little.

i?? Processor frequence is lower

i?? Supports mediocre cache size

i?? CPU multiplier is lower

i?? Bus/core ration is lower

2.3.2 Server Microprocessor

A waiter is a combination of individual computing machine, or a series of computing machines and package that links legion computing machines and/or electronic devices together. There are broad assortments of waiters, such as mail waiter, database waiter, webserver, endeavor waiter and printing waiter.

An illustration of a waiter would be Delli??s PowerEdge waiters or HP Superdome, which is an high-end waiter by HP. Waiters have dedicated operating system developed for them, like the Windows Server household and Ubuntu waiter.

Intel Itanium 9300 is a microprocessor dedicated to work on endeavor waiters. It is one of the most advanced processor available today. This processor contains more than two billion transistors on a individual dice, and supports up to four nucleuss per dice and 24MB L3 of on-die cache.

( A typical waiter room )

As a waiter perform broad scope of undertakings and services to legion clients. And at that place, the public presentation of the microprocessor isni??t the lone of import facet when it comes to microprocessor. The microprocessor should besides turn to the issues like redundancy, handiness, scalability and interoperability. To accomplish all this, a waiter microprocessor should hold the undermentioned properties,

i?? High frequence operation

i?? Coincident multithreading

i?? Optimized memory system

i?? Large cache

i?? Sharing of caches

i?? Excellent remote entree service

i?? Non-uniform memory entree

i?? Clustering

i?? Excellent power direction

As waiter microprocessors are designed chiefly for public presentation, they have the undermentioned characteristics

( compared to implant system, desktop and laptop microprocessor )

i?? Highest figure of transistors

i?? Die size ( physical surface country of on the wafer ) is highest.

i?? Processor frequence is highest

i?? Supports really high cache size

i?? CPU multiplier is really high

i?? Bus/core ration is higher

2.3.4 Embedded system microprocessor

Embedded system is a computing machine system which is designed to execute merely one or a few dedicated undertakings, largely with existent clip restraints. These systems are by and large embedded as a subsystem in a larger system. Applications of embedded system scope from little systems such as microwave oven, tickers to aircraft electronics and communicating.

As the country of operation of an embedded system varies in different field, the microprocessor used in these systems besides varies. But still, there a certain indispensable countries that the microprocessor should turn to, they are

i?? Response clip

i?? Cost

i?? Portability

i?? Power direction

i?? Fault tolerance

Motorolai??s 68k household of processors, which were a popular in personal computing machines and workstations in the 1980s and early 1990s are now widely used in embedded system.

Properties of microprocessor on a normal embedded system are

( compared to server, laptop and embedded system microprocessor )

i?? Lowest figure of transistors

i?? Die size ( physical surface country of on the wafer ) is little.

i?? Processor frequence is lowest

i?? Does non back up cache size

i?? CPU multiplier is low

i?? Bus/core ration is really low.

2.4 Microprocessor tendencies

Since the debut of the first microprocessor by Intel in 1971, the development of the microprocessor from 1970s to present twenty-four hours is mind boggling.

The tabular array above proves the development of microprocessors over the old ages.

We can inference from the tabular array above that public presentation is one the characteristics that increase as new microprocessors are developed. This is due the of all time addition of public presentation demands by both package and hardware.

The microprocessori??s public presentation can be increased by

1. Increasing figure of nucleuss

A nucleus is a portion of the processor that perform reading and execution of day of the month. Processors ab initio had merely one processor. Multicore processors were developed because tradition multi-processing was non efficient due to the increased demand of public presentation. As the Numberss of nucleuss are increased, the operating system can apportion application to different nucleuss, which consequences in better public presentation and a better multitasking experience.

Even though the Numberss of nucleuss are increasing per processor, which is

supposed to heighten the public presentation, but for many cases, this increased public presentation is non apparent. This is because of the inability of package to get by with the multi-core processors as these package are non designed to work on a multi-core processor. This can be solved by updating these package to be compatible with multicore processors.

2. Implement high velocity cache coach

Cache coach is a dedicated coach that the processor uses to pass on with the cache memory. High velocity cache will increase the public presentation because this will cut down the clip required to read or redact often accessed information.

Microprocessor design is another important country of microprocessor development. The tendency in design is that the size of these microprocessors keeps acquiring little and figure of transistors in each microprocessor increases as they develop.

Harmonizing to Moorei??s theory by Gordon More, the Numberss of transistors in a microprocessor will duplicate every 18 months but the size of the processor will stay same. This was achieved by diminishing the size of the transistors. This theory was valid for the last three decennaries. But soon, the sizes of the transistor and figure of transistors per microprocessor have reached a impregnation point that any more development would ensue in electric current escape. To turn to this, scientists believe that new stuffs should be used alternatively of Si. This calls for investings into nanotechnology research.

Decision

Information engineering has created a revolution. Today, most of the organisation can non work expeditiously without an IT Department.

In this papers, we have discussed about memory direction and microprocessors. The papers emphasizes the importance of memory direction and microprocessor in a computing machine.

Memory direction is a important subdivision of any operating system. This is because a hapless memory direction can ensue in failure of operating system. If the operating system did non implement appropriate memory direction technique, this would besides ensue in your system being crashed invariably.

The papers contains luxuriant account of practical memory and refuse aggregation.

Now, microprocessor, on the other had is the most important hardware in a system. It is considered as the encephalon of a system, as it controls and coordinates all other parts of the system. A computing machine will non work if there is no microprocessor installed on the female parent board.

On the latter subdivision of this papers, the writer explained the outgrowth of microprocessor and how microprocessors became a necessity in the modern universe. The difference of microprocessor of assorted machines like desktop, waiter, laptop and embedded system is besides included. The last portion of this subdivision describes the major tendency impacting microprocessors in footings of tendency and design.

Frequently Asked Questions

Some of the often asked inquiries are

1. Why is memory direction of import?

Memory direction is of import because it ensures that memory installed in the system is expeditiously managed. This is to guarantee efficient public presentation of the system.

2. State some normally used memory direction techniques

Virtual Memory

Trading

Garbage Collection

3. Why is power direction of import in laptop microprocessor?

As laptops are designed to be used on the move, they are powered by rechargeable batteries which can keep limited power. Therefore, microprocessor for laptop should be power efficient to maximise the usage clip of laptop.

4. What is Moorei??s theory?

Moorei??s theory is a theory by Gordon Moore which states that the Numberss of transistors in a microprocessor will duplicate every 18 months but the size of the processor will stay same.

Restrictions and Extension

1. Restriction:

The system slows down because it relies excessively to a great extent on the practical memory

Extension:

There will be a important loss of system public presentation when system relies to a great extent on practical memory. This is because it takes more clip for the informations stored in the difficult disc to be accessed. This happens because of the inadequacy on RAM. This can be solved by either shuting some application or if the user requires these applications to run at the same time, so the user should put in a bigger Random-access memory in his system

2. Restriction:

The sum of transistors that can be added to a microprocessor will finally make its impregnation point and so it will be unable to add any more transistors without effects like current escape

Extension:

It is true that, at one point in the hereafter, figure of transistors per processor will hit its upper limit and so it will be impossible to add any more transistor because the size of the transistor can non be reduced any farther. So, to turn to this job, motherboard which can back up multiple processors should be developed.

Appendixs

( Fedora Logo )

( Fodora 14 screenshot )

( Virtual Memory Representation i?? shows how practical memory plants )

( An AMD 64 Athlon Processor )

( Desktop Computer )

( Laptop )

( Waiters )

( Microprocessor development i?? image shows the exponential growing of microprocessors )