OSCA Assignment
OSCA Assignment
OSCA Assignment
20%
Referencing
10%
Analysis
30%
Reflection
30%
Documentation
10%
Marking Criteria:
Distinction
Demonstrated comprehensive research with detailed evidence. High level of analysis
performed, exceptional and thorough knowledge and understanding displayed with regard to
facilities and services of the Operating System. Documentation presented in a professional
manner, without any spelling or grammar mistakes. Displayed evidence of critical appraisal.
Credit
Adequate research conducted with fair detail of evidence presented. Moderate level of
understanding, analysis and knowledge displayed. Good level of documentation presented.
Some level of reflection was evident in the documentation. Moderate level of critical
appraisal.
Pass
Low level research conducted. Some evidence of research displayed. Basic level of
understanding and knowledge analysis displayed. Satisfactory level of documentation.
Satisfactory or low level of reflection displayed. No level of critical appraisal demonstrated.
Abstract
1
This research was conducted on the investigation of process control management in Windows
8 operating system and Microprocessors that are found on various types of devices. The
researcher answers the first question of the first section about process control management
and later on the types of process control management such as Scheduling Mechanism, preemptive and non-pre-emptive algorithms. The second section where the first question was
answered was about the significant trends in the making of microprocessors that changed the
performance of the microprocessors, and later moved on the why different designs of
microprocessors were made in order to suit the compatibility of various devices.
Contents
Assessment Criteria (Marking Grid):............................................................................ 1
Abstract................................................................................................................... 2
2
Introduction
A little history about process control management, in the early computer systems it was only
possible to executed one process at a time. As compared to modern computers we are able to
run multiple processes at a time in a computer, the only reason to why this is possible is
because of time sharing. A process is basically a container that contains a set of instructions
which is that is executed by the processor in an orderly fashion.
In the topic of this document the researcher will be discussing what process management is
all about, firstly starting off with what a process is about, and then how to create a process
and also finalizing a process the way the OS handles the mechanisms of process management
not forgetting the problems faced with these and solutions that were used to overcome them.
The operating system that is researched here is Windows 8.
Meaning process are executed in the same order in the way they exist, queue and the
long term scheduler are responsible for their execution in queue form. The researcher
gives an example of this technique, let consider there are three processes and the time
taken for the burst of data from each one of the process is 3, 5, and 2 milliseconds
and that is the accordance of the burst. Even though the last process which has the
smallest amount of data burst which is 2 milliseconds this technique follows the
order of the burst therefore it is only executed after the first and second process has
been executed. The disadvantage of this technique is that it effects the execution time
of smaller programs, if there are any large program that come before them. This is
better known as convey effect (Sachdeva, 2011).
2) Shortest time first scheduling:
This mechanism of scheduling groups several running processes starting with the
lowest running time. So all currently running programs are arranged in increasing
order of their execution time so all smaller processes are executed first. For example
if we take the same example of processes previously mentioned, the way the OS
would schedule the processes in the order of 2, 3 and 5 milliseconds respectively.
Unfortunately this process causes starvation effect of the larger programs, meaning
they will have to wait much longer to be executed until all the smaller process has
been executed (Sachdeva, 2011).
3) Round Robin scheduling:
Round robin scheduling removes the starvation and convey effect up to a point, by
allocating equal time slots to each process. As an example consider five processes 1,
2, 3, 4, 5 the operating system provides equal time quantum so it gets the same time
slot for its execution. It should be noted that this scheduling is very unique because
the operating system makes a decision of selecting different techniques by considering
the full utilization of system CPU as its primary goal (Sachdeva, 2011).
After comparing, the researcher found that scheduling was the best due to the round robin
scheduling method. This is because round robin is able to avoid starvation and convey effects
where pre-emptive and non-pre-emptive are not able to do so. Not only that, but out of the
many types of scheduling method it stands out because it is able to intelligently allocate
6
resources to processes that need them equally by choosing and adapting different types of
scheduling to the processes that it handles.
Conclusion
Process control management regardless of what operating system is important for a complex
machine such as a computer. The computers in this era are made to multi task and therefore
its important that while doing so there is no corruption or fault and that the performance of
the computer is not deterred. The evolvement of process controlling from the previous
Windowss to the current Windows 8 OS has been quite a journey that never seems to end.
There is of course more room to make changes and improve on, but what Windows 8 has
achieved is remarkable in how it manages all the processes that actually happens.
Introduction
So what is a microprocessor? It is better known as the CPU or the Central Processing Unit. It
can be found nowadays in many devices. It has commonly been regarded as the brain of
electronic devices. Multiple microprocessors that work together are better known as the
hearts of high end digital devices, such as datacentres and super-computers. A brief history
on microprocessors, the first of its kind was introduced by Intel and it was the Intel 4004, it
was not very powerful because it was used to perform simple mathematical operations. It was
only 60 years ago that computers were considered rare because the public was not able to get
hold of them, due to the cost. Computers were only found in homes thanks to the
microprocessor and it was in late 80s. The modern microprocessor can perform extremely
sophisticated operations in wide areas, and they take very less space compared to when they
used to and delivers a more superior performance than ever. (Intel, n.d.)
Superscalar Execution
The problem with pipelined architectures are that they are scalar architectures so they
can only handle 1 instruction per cycle in every pipeline stage. Superscalar was
introduced where it enabled n instructions to be fetched, executed and stored at the
same time. Even though this technique gives good performance but it has the same
disadvantage of a scalar architecture, because mispredicted branches can cause the
decrease on the average performance of the microprocessor. But because an
instruction cannot overtake its predecessors in this pipeline this design is often
regarded as in order architectures. (Klauser, 2001)
32 Bit and 64 Bit
Somewhere 7 years ago, processors were only 32 bit, meaning they only can address
at the maximum of 4GB of memory and not more than that. The problem with 32 bit
is that every hardware in the computer uses an address and that is how the computer
knows what is in its system, and therefore it eats up part of the 4GB and leaves the
remaining physical memory to be used. To overcome this, the 64 bit addressing
system was made, this brought many changes, first was that the addressing system can
now handle more than 4GB, and the other hardware address that use to eat up the
memory no longer do. What does this have to do with the processor? Simple, you
cant have a 32 bit processor running a 64 bit program or operating system
(Sklavos, 2008).
Multi Core
Processors used to only have single cores, a multi core does not mean multi
processors but many cores in a single processor. This uses the multi threading to
process information. How do they work? Lets take an example of a 2GHz Intel dual
core processor, it means that each core in the processor has 2GHz processing speed
each and not interpreted as 2GHz + 2GHz = 4GHz overall. This is because the
instructions are broken down and processed separately with 2GHz and then threaded
back after being processed. (Sklavos, 2008)
10
Laptop
Laptops come in many varieties, there are laptops for business, home and gaming. Here the
researcher talks about generally a basic desirable design of a microprocessor for a laptop. The
mainstream laptop users normally uses their device to view emails, browse the web,
document editing, and low level gaming. So the basic desires of a processor doing these are
able to multi task. Another important factor is to make sure that the laptop consumes less
power and therefore it is important that the processor is able to function at its optimum
without taking too much of electricity.
Servers
Servers are powerhouses of information, they are required to function at almost any time, so
its necessary for the servers to be able to function 24/7 for the rest of their lifetime. In order
for them to be able to run without any breakdowns, the processor need to be able to withstand
the accumulated heat. Therefore these processors are designed to have excellent cooling
systems, and high heat tolerance so that they dont breakdown easily due to heat.
11
Desktops
Compared to laptops desktops are primarily used now days for gaming, so here in this case
processors which are designed for desktops arent designed to save power but instead use
more power to give the best performance out. With performance comes the disadvantage of
heat, and therefore risks losing performance and also unexpected breakdowns. To overcome
this problem the microprocessors are well designed to stand heat and able to support cooling.
These processors normally come with a heat zinc that dissipates the heat out of the system,
through the cooling fans. This makes sure the user gets to enjoy high performance constantly.
Embedded Systems
Embedded systems are systems that are a compilation of microprocessors and other electrical
components that work together to complete a certain task. The embedded system that mostly
are out there are function dedicated. The microprocessors in these system can actually range
from a low complexity to high complexity design depending on what the system is for. But
the design of these microprocessor is made so that it is cheap, easy to program and it does not
need cooling devices or the necessity of multi-tasking.
12
Limitations/Extensions
Section 1:
The windows 8 operating system is a new software in the market. Therefore finding
information about how process management control is done in the OS is very hard and
concrete information was scarce. Therefore analysis on how previous Windows is built on
(kernel) the researcher concluded that the windows 8 was also built on the same kernel
Windows NT, therefore should have all the same process control techniques that the other
OSs might have had.
Section 2:
Design goals for each devices was purely analysis on the characteristics that how each
devices work. For example we know that laptop was made for portability therefore it needs to
save energy, and as the processor plays a main role in that, the design of the processor should
be able to run efficiently without consuming a lot of energy. This can actually be related to
Intel processors, the researcher again express biasedness because Intel is the only one who is
able to give a clear picture on its power saving technology.
13
Conclusion
It is certain that life today would not be possible without microprocessors. It has become a
part of our lives. The journey of the designs and trends of microprocessors that revolted on
the needs of the advancement of devices paved the way for new technologies and innovative
processor designs. Only 30 years ago processors were only capable of simple task, where else
now, a single processor contains the power to do the job of hundreds of people. Processors or
microprocessors nowadays are largely found in devices like in laptops, mobile, serves and
embedded systems. The primary design of each processor is to suite the functionality and
efficiency in each devices. Without proper design, the processor and device would not be able
to function to its optimum capability.
14
Referencing
Intel, n.d. What is a Microprocessor?. [Online]
Available at:
http://download.intel.com/newsroom/kits/40thanniversary/pdfs/What_is_a_Microp
rocessor.pdf
[Accessed 7 September 2014].
Klauser, v. A., 2001. Trends in High-Performance Microprocessor. [Online]
Available at: http://homepages.uni-paderborn.de/plessl/lectures/2009Codesign/articles/kl-01a.pdf
[Accessed 8 September 2014].
Laynetworks, n.d. Trends in Microprocessor. [Online]
Available at: http://www.laynetworks.com/trends%20in%20microprocessor.htm
[Accessed 8 September 2014].
PCmag, n.d.. Encyclopedia. [Online]
Available at: http://www.pcmag.com/encyclopedia/term/49632/preemptivemultitasking
[Accessed 24 August 2014].
Sachdeva, C., 2011. Scheduling Techniques in Windows 8 process management.
[Online]
Available at: http://www.techulator.com/resources/4654-Scheduling-techniquesused-for-process-allocation.aspx
[Accessed 24 August 2014].
Sahgal, V., n.d.. What is the difference between a thread and process?. [Online]
Available at: http://www.programmerinterview.com/index.php/operatingsystems/thread-vs-process/
[Accessed 24 August 2014].
Shaun, 2009. Computer Science Source. [Online]
Available at: http://computersciencesource.wordpress.com/2009/11/21/year-2operating-systems-process-management/
[Accessed 18 August 2014].
Sklavos, D., 2008. How It Works: Processors. [Online]
Available at: www.notebookreview.com/news/how-it-works-processors/
+&cd=3&hl=en&ct=clnk&gl=my
[Accessed 9 September 2014].
Stokes, J., 2011. Ask Ars: what is a CPU thread?. [Online]
Available at: http://arstechnica.com/business/2011/04/ask-ars-what-is-a-cputhread/
[Accessed 24 August 2014].
15
Appendices
FAQ
Section 1
1) What is a process or a thread?
A process or a thread is a container that holds sets of instructions.
2) How is process or a thread created?
A process or thread can be created by the OS, user or by a running process.
3) What is an interrupt?
An interrupt can either be a hardware or software which sends a signal to alert the
processor.
4) Why is process control management important in an operating system?
Operating systems are capable of handling and running many programs at once, so in
order to coop with this process control management is vital to maintain system
balance.
5) Is the computer capable of working without the OS?
Yes, but it will not be efficient in handling errors and multi-tasking and also the ease
of using the computer.
6) Why does windows 8 use Process Control Management?
Windows 8 is an advanced operating system that has many system utilities and many
programs running at the same time, therefore it is important that it implements process
control management.
7) Is scheduling important?
Yes, without proper scheduling processes can go haywire and causes system instability.
Not only that, but the OS will not be able to handle the processes efficiently.
8) What kind of algorithms does Windows 8 uses in its Process control techniques?
The Windows 8 OS is built on the Windows NT kernel, so it uses the first come first
serve, shortest time, and the round robin types of scheduling algorithms.
Section 2
16
17
Gantt chart
Gantt Chart
18