The Figure Of Memory Usage For Ubuntu

Print   

02 Nov 2017

Disclaimer:
This essay has been written and submitted by students and is not an example of our work. Please click this link to view samples of our professional work witten by our professional essay writers. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of EssayCompany.

Introduction

Ubuntu is a complete desktop Linux Operating System (OS), freely available with both public professional support and it is also a well-deserved reputation for stability and security. The Ubuntu community is built on the ideas preserved in free, stable, and secure operating system that you can try out risk-free in Ubuntu platform, that software should be available free of charge for all the users, and that people should have freedom to customize and change their software in whatever way they see it fit. Developers have access to all the source codes, thus being able to mix new functions easily or to find and remove programming viruses ‘quickly. So drivers for new adapters (Graphics Cards, SCSI Controller, etc.) can be combined very fast. Since Linux was brought in 1991 by a Finnish student named Linus Torvalds. During that time, it only able to run i386 systems, and was essentially an independently-created duplicate of the UNIX kernel, mostly the Linux was planned to take advantage of the then-new i386 architecture.

Nowadays Ubuntu 12.10 would be named Quantal Quetzal. Ubuntu 12.10 is the current was released on schedule on 18 October 2012, and with it a range of new features and tweaks have been made to the popular Linux distribution. In addition, in Ubuntu 12.10 includes some number of changes, is not least of which a single distribution is that every one of them is available to download it the regardless of their architecture. At the 800MB of the size, it should be a fastest to download it for most of the users, and also very easily to fits on old USB stick. GNOME 3.6 applications in Ubuntu 12.10 was already updated to Linux kernel 3.5.4 and also able to become viable on desktop, laptop and phone application. Unity has also changed just because Unity 3D and Unity 2D is no longer to present it has to be going forward. For the hardware of Ubuntu is using the Gallium llvmpipe software rasterizer, which of the Unity look, but is doesn’t have require a 3D-accelerated graphics card.

Ubuntu 12.10 Quantal Quetzal

System Requirements

In the system requirements, the operating system requirements mostly is vary among Ubuntu products. Ubuntu 12.10 in minimum memory requirement is 768 MB of system memory and 5 GB of disk space for Ubuntu Desktop. In addition, the Ubuntu operating system is belong to the household type of useful operating system support for digital, music, photography, computer games and so on, to provide home users in a simple way and easy to use in house environment. A Pentium 4, and 1GHz system is the minimum recommended for a system in desktop. Below is a list of hardware specifications that the computer should meet as a minimum requirement before an installation.

Minimum Requirements:

Ram

1 GB of system memory

CPU

1GHZ x86 processor

Disk Space

5 GB

Monitor Resolution

1024 X 768 resolution

Architectures

32 bit or 64 bit

CD-ROM drive

Yes

VGA Graphics interface

Yes

Normally for some user want to install Ubuntu with the system providing with as little in 20MB for s390 to 48MB for i386 or 64 it is possible to install it and also included the 64-bit x86-64 CPUs should be more fast enough to run Ubuntu system can be able to run to the 32-bit x86 version as very smooth as well. An installation especially for some users is wanted to run more than 3 GiB of RAM, a 64-bit of installation CD is available to install it. The 32-bit version is easy to use it and also try to runs into less problems. In disk space requirements, especially if you want to install it, you are able to see the section called "Disk Space Needed" for additional information on disk space requirements. For the installations server as those is very useful is depend on the server is to be used for, there will be possible to give a full common in system of memory and disk space requirements.

Comparison of memory management and other.

Below are the comparisons between Windows 8 and Ubuntu 12.10.

Windows 8 vs Ubuntu

The operating system of Window fee for Window 8 pro (32bit) version totally is $39 to $69 for an upgrade from Windows 7. By the way Ubuntu is open source operating system, that means is free for using. The 32 bit and 64 bit CPU architecture are supported in Windows 8 and Ubuntu. But for the Ubuntu 12.10 also supports by ARM and PPC. The minimum RAM of requirement between Windows 8 PC is different from 1GB to 2GB, where in Ubuntu it’s only 512MB. For the hard disk space is required in Windows 8 in 20GB compared with Ubuntu 5 GB. Ubuntu12.10 operating system comes with advanced productivity software included in the form of Libre Office and has graphic tools. But for Window 8 are non-existent.

Below is the figure of Memory usage for Ubuntu 12.10 and Windows 8.

D:\Users\Sherman Heng\Desktop\Screenshot from 2013-02-20 08_14_15.pngwindows_8_will_have_improved_memory_management

Memory usage between Ubuntu 12.10 and Windows 8.

From bot h figure above, it shows that Ubuntu 12.10 is uses around to operate which is around 433.4 MB out of 2048 MB while Window 8 uses which is around 281 MB out of 1014.1MB.

Process Control Management

Threads 

Process in the Ubuntu 12.10 operating system is a unit work with unique which progresses in a system begins. Thus, this process will go through about a small series such as same internal representation for processes and threads. A thread is a new process it to sharing the same address space as its parent and thread is created by the clone system call when a distinction is to made.

• fork – is to creates a new process with its own entirely with new process context.

• clone – is to creates a new process with its own identity, but that is only allowed to share the data structures of its parent.

Processes states

In Ubuntu processes is created with a fork until it has completed its job and disappears from the process table, it goes through like this many different states. In addition, the state a process it will changes many times during its "States." These changes can occur, for example, the process will ask for a resource that is currently not available when the process is making a system call, it is someone else's turn to run, an interrupt occurs. A process is active while a program is passive. The operating system it will keeps track of processes when using a process table.

Below the picture was shown the process state details and diagram of process state.

Ready - The process is competing for the processor, but another process is will currently being executed.

In Ubuntu 12.10, there have many processes in memory need to execute it, but there possible make one processor to execute one process at a same time. Other processes have to wait and prepare for the allocation from the processor, it called ready state.

Execution - The process is active or running or being executed by processor.

Suspend - The process is waiting for an external event.

Stopped - The process has been suspended by an external process.

Zombie - The process has finished executed, but it is still references in the system.

Terminated -This process is complete execution.

Figure : Linus Process

Process Control Block

A Process Ubuntu 12.10 operating system is represented a data structure in the core of operating system and it also related the data records of process. It called Process Control Block, process control block which are (PCB) is to contain information associated with important information about the specific process including:

Process State - The information about the process state; ready, running, blocked, terminated, new.

Process ID – Is a process to assign an unique of identification number, when entered into the system.

Program Counter – This program counter is the information of Ubuntu about the contents of the CPU registers.

CPU Registers - Is to hold the processed of CPU Registers processed of the result with the calculations or addresses pointing to the memory locations of desired data.

CPU-Scheduling information – The Ubuntu 12.10 operating system is important include in scheduling such as information, pointers to scheduling queues, scheduling parameters, and process priority.

Memory-Management information - In this memory management information is depending about the operating system, it included the page tables, segment tables, or value of the base and limit registers.

Accounting information - Is the information about included the process number, CPU used by the process time limits etc.

I/O Status information - This I/O status information is Storage indicators, refers to the file table record which are allocated to processes it.

Process Control Block

Process Scheduling

Process Scheduling is the process a CPU scheduler is tasked with choosing which process to run first from the ready queue. The running of processes is managed by the main part of operating system that is scheduler. For the objective of multiprogramming is starting to process at all the times, to maximize CPU utilization.

Ubuntu 12.10 uses two separate process-scheduling algorithms:

One is time-sharing for fair, preemptive scheduling among multiple processes; the other is designed for real-time tasks.

Real-time algorithms are also supported, for tasks where absolute priorities are more important than fairness.

First in First out (SCHED_FIFO)

First in First out is the simplest CPU scheduling algorithm of first-served scheduling (FCFS) algorithm in Ubuntu implements.

FCFS is very simple - Just like a FIFO queue, normally the customers is waiting in line to buy movie ticket at the cinema or to see the doctor. Unfortunately, the FCFS can yield longer average wait times for each people, some particularly if the first process to get there takes a long time. For example, consider the following three processes:

Process

Burst Time

P1

24

P2

3

P3

3

Round robin (SCHED_RR)

The process will leave the CPU if it takes a running time out, call ‘quantum time’.

The round-robin (RR) scheduling is designed especially for time sharing systems.

a time quantum / time slice is defined for each process

the ready queue is treated as a circular queue

A context switch will be executed and the process will be put at the tail of the ready queue.

C:\Users\user\Desktop\RR.JPG

SCHED_OTHER: Tasks are normal user tasks (default)

SCHED_FIFO: Task that running with this policy will never be preempted. It is a real-time policy.

SCHED_RR: This is another real-time policy, but the task will leave the CPU if there is another real-time task in the run queue.

Deadlock Management

Ubuntu 12.10 in deadlock can occurs in many situations and also it may not be handled. Deadlock it can be happen on any kind of shared resource and with more than two processes think of three or more then processes in a circle. Linux Kernel ignores deadlocks because it happen so infrequently that the cost to manage monitoring and resolution far exceeds the benefit of available at all that time, the process it able to enters a waiting state and the process requests resources. Deadlock is defined as the deadlocked if each process is set waiting for an event and permanent blocking of a set of processes that compete for system resources. In addition, a deadlock situation arises if two of the following conditions are held simultaneously in the Ubuntu operating system:

Mutual exclusion

- Only can one process can use a resource ate time

- The mutual-exclusion condition must be holding for a non-sharable resources example printer.

- In Ubuntu 12.10 we cannot prevent deadlocks by denying the mutual-exclusion condition, because some of the resources are intrinsically non-sharable.

Hold and wait

- A process can able to continue to hold a resource while once is waiting for other resource.

- A protocol that can be used required for each process to request and able be allocated all its resources before it begins an implementation.

No preemption condition

- No resource can forcibly be removed from a process holding it.

- Resources previously granted is cannot be forcibly by taken away from a process. They must be explicitly released by the process holding them.

Circular Wait condition

All the process can be able to demand resources only in an increasing order of enumeration.

If these both protocols are used, then the circular-wait condition is cannot be hold.

In Ubuntu 12.10 the way to overcome deadlock situations we have:

Deadlock handling strategies:

Just ignore the problem altogether(The Ostrich algorithm)

Deadlock prevention – Deadlock prevention is a condition imposition to remove any of possibility of deadlock occurrence, sometimes it can be clean solution or cause poor resources utilization.

Deadlock avoidance - Ubuntu 12.10 in deadlock avoidance is less stringent conditioning otherwise is better resources utilization and does not precondition the system to remove all deadlock possibility.

Deadlock detection - is a systems that allow deadlocks to occur and identify the deadlocked process, resource or to clear deadlock.

Deadlock prevention - It is to removing no preemption condition may be hard to ignore because each process should have at least few resources to perform a given task.

Deadlock recovery – Deadlock recovery of Ubuntu is a methods used to clear deadlock of process flush and partial or all previous work done by these processes being lost.

Banker's Algorithm

The Ubuntu 12.10 in Banker's algorithm is running by the operating system which a process requests resources. Other than that, the algorithm prevents deadlock by denying or postponing in the request of determines that accepting the request it could put the system in an unsafe state or it will happen where deadlock could occur. When the time new process is enters into a system, it must be declaring the full of maximum number instances of each resource type that may not exceed the total number of resources in the system.

• It a state of the system of current allocation of resources to process

• It a safe state where there in the least of the one sequence that does not show the result in deadlock.

• Unsafe state is a state of not safe

Memory management

Memory management is a general term which describes how operating systems handle the RAM available in a system. The memory management provided by Ubuntu 12.10 has clearly improved by nowadays compared to previous version of Ubuntu operating system. Ubuntu 12.10 does the memory manager offers the system services to assign and free virtual memory implements provides a core set of services such as memory mapped files, copy-on-write memory, large memory support, and locking pages in physical memory. For the memory is divided into two categories which are physical memory and the logical memory.

The Logical memory is an operating system of the computer has to assign to more of the one physical memory blocks from the RAM for a particular process. In this case the process will have more than one physical address and this will cause problems in situations where paging is done. The physical memory is the memory available in Random Access Memory (RAM) and is further divided into much memory with a physical address which is used for loading application.

Logical memory

Ubuntu 12.10 separates physical memory into three different zones:

Zone_DMA is the first section that consist 16MB of physical memory which is for the Direct Access Memory able page. After the Zone DMA is Zone_NORMAL which are first 16...896MB of physical memory that is normally accessible. If the system has more than 896MB of memory, then it will be allocated as Zone_HIGHMEM.

Virtual Memory

The Virtual Memory management system is where a logical memory area that is generated by the CPU and the most important part of an operating system. From the beginning of the computer operations there has been a need for more memory than the exciting physical memory in a computer. It creates pages of virtual memory on demand, and manages the loading of those pages from disk or their swapping back out to disk as required. Virtual memory is their most successful method. Virtual memory possible to makes the computer appear have more memory than compared with physical memory.

Virtual Memory

Swap-In and Swap-Out

Swap –in Swap- out is use when the physical memory using in your computer by the time to running processes yet an additional the demand for memory resources exist. Swap space is the area part of the Virtual Memory of user’s machine on a hard drive, which is make a combination of accessible physical memory (RAM) and swap space. Ubuntu 12.10 in Swap space by using with the amount of physical memory (RAM) is totally full holds memory pages that are inactive. Swap space is using by the system when needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. Swap space can be swap partition (recommended), a swap file, or a combination of swap partitions and swap files. When the pages are swapping, swap space are needed by the physical memory again, then will happen swapped backed into the physical memory again. These operations are called swapping out and swapping in, respectively. Swap equal to 2x physical RAM for up to 2 GB of physical RAM, for an additional is 1x physical RAM for 2 GB, but never less than 32 MB.

Swap-In and Swap-Out

Standard Support

Ubuntu is an Operating System that has one of the largest amounts of support compared to many other Operating Systems. The help and support for Ubuntu is readily available through a number of sources so we need not panic if we run into some of problems.

Ubuntu Operating System Users can gain support from many different places and here below given are some of them.

http://images.51cto.com/files/uploadimg/20120712/1029000.jpg

Get help with Ubuntu

SYSTEM DOCUMENTATION

The first resource that we should explore is the offline system documentation. The Ubuntu Documentation Team maintains and updates the documentation for each release. This documentation is very reliable and available in different languages. Ubuntu System documentation is organized into topic based help, on simple topics such as adding applications, customization, file and folder organization and including answers to common questions. It is accessed by clicking the Help and Support button located under the System Menu. The following screenshot shows the home page of the Help and Support offline system documentation.

Description: C:\Users\nasser\Desktop\35-3b035f414e.jpg

Ubuntu help center

Online Documentation

The online Ubuntu documentation is available at https://help.ubuntu.com. This website provides support for many versions of Ubuntu that support is available. Ubuntu usually provides support for the existing versions, the previous normal versions as well as for any Long Term Support enabled versions which are still in the support timeline.

The official documentation is the documentation that is included with your Ubuntu installation by default and is locally available from your Ubuntu desktop. You can also access this documentation on the internet at the Web site mentioned above.

The following screenshot shows the home page of the Ubuntu documentation site.

Ubuntu online documentation site

Ubuntu forums

Ubuntu uses main forum where users can get help from it is located at http://ubuntuforums.org/ it is the official forums of the Ubuntu community, where millions of Ubuntu users use them daily to seek help and support from one and another. You can create an Ubuntu forums account in minutes from the Web site mentioned above.

Launchpad Answers

It is an open source code repository and user community. In here Ubuntu users can register themselves and ask questions from other users about any Ubuntu related topic. And signing for Launchpad account at https://answers.launchpad.net/ubuntu. Users can also get more support through Internet Relay Chat (IRC) where experts provide support to them. However there are many public forums available on the internet where users can get help from which are not officially supported by Ubuntu.

http://4.bp.blogspot.com/_FJH0hYZmVtc/TFWDhxhvxNI/AAAAAAAAJE4/8_E--dslAtQ/s1600/Selection_002.png

Ubuntu Forums



rev

Our Service Portfolio

jb

Want To Place An Order Quickly?

Then shoot us a message on Whatsapp, WeChat or Gmail. We are available 24/7 to assist you.

whatsapp

Do not panic, you are at the right place

jb

Visit Our essay writting help page to get all the details and guidence on availing our assiatance service.

Get 20% Discount, Now
£19 £14/ Per Page
14 days delivery time

Our writting assistance service is undoubtedly one of the most affordable writting assistance services and we have highly qualified professionls to help you with your work. So what are you waiting for, click below to order now.

Get An Instant Quote

ORDER TODAY!

Our experts are ready to assist you, call us to get a free quote or order now to get succeed in your academics writing.

Get a Free Quote Order Now