Professional Documents
Culture Documents
Multitasking
in Computing
Comparison between Operating systems
Gulzeb Zahid
WWW.GULZEB7.WEBS.COM
TABLE OF CONTENTS
1
Introduction.......................................................................................................................... 3
1.1
1.2
Time sharing.................................................................................................................. 4
1.3
3.1
3.2
Process .......................................................................................................................... 7
4.2
Thread........................................................................................................................... 7
4.3
4.4
Fiber ............................................................................................................................. 8
4.5
Multi-tasking in Linux........................................................................................................... 9
5.1
5.2
5.3
5.4
Scheduler..................................................................................................................... 10
5.5
5.5.1
Declaration ........................................................................................................... 11
5.5.2
Mark .................................................................................................................... 11
5.5.3
Execution ............................................................................................................. 11
5.6
5.7
Fork ............................................................................................................................ 12
Introduction........................................................................................................................ 14
Typing ......................................................................................................................... 15
7.1.1
2
7.1.2
7.2
Calculating .................................................................................................................. 15
7.2.1
7.2.2
7.3
Presentation ................................................................................................................. 16
7.3.1
7.3.2
7.4
7.4.1
7.4.2
7.5
Drivers ........................................................................................................................ 17
7.5.1
7.5.2
7.6
Accounting .................................................................................................................. 18
7.6.1
7.6.2
7.7
7.7.1
7.7.2
7.8
Security ....................................................................................................................... 20
7.8.1
7.8.2
7.9
Cost ............................................................................................................................ 25
7.9.1
7.9.2
7.10
E Mail ......................................................................................................................... 26
7.10.1
7.10.2
Conclusion ......................................................................................................................... 27
Reference............................................................................................................................ 28
1 INTRODUCTION
Multitasking refers to working on multiple task at a time. In computing,
multitasking is known when many processes are working together to
complete user commands by using share CPU processing and memory.
Before a short period of time operating systems are single tasking like
MS Dos where user need to command one task to computer processor,
and when it was completed then user can command another task to CPU.
But it was taken a lot of time to complete all task assigned by user.
Then this problem was solved by designing multitasking operating
systems like Windows or Linux. In These operating systems user can
command as many as process he can to computer CPU and all these
tasks are working same time. Programmer design Context Switch to
making operating multitasking.[1]
Operating systems had included scheduling strategies to make them
multitasking.
2 CONTEXT SWITCH
It is responsible for switching between multiple processes in order to
complete all tasks. It actually restore old state of any task and retrieve
the new state and then switching to another task. It is specially designed
for single processor CPU where only processor cannot perform all task
simultaneously and every task need full CPU speed. This switch
switches the old and new state of all tasks until they complete and user
understand all tasks are working properly.[3]
4 MULTI-TASKING IN WINDOWS
First we need to know what process is and how it is multi task.
4.1 PROCESS
Process is actually any program which is working on computer and it
has one starting or entry point and one finishing or exit point. Its mean it
should start and it should have ending.
4.2 THREAD
It is not a program but part of process. Every process have at least one
thread and some processes have many threads. As we know windows
seven is using preemptive multithreading technology. So CPU speed is
divides among each thread to complete its tasks. When many processes
are working together to complete a group task which is known as job.
In windows seven operating system dealing with threads, CPU speed is
divided into all threads of any processor. Threads can be created and
suspended and resume and deleted among all processes while
performing a task to finish the job.[5]
have no role in this. It can create and resume and suspend and delete its
own threads. It has its own context switches and it is more efficient then
system schedule.
4.4 FIBER
Fiber is manually unit which is inside threads contexts and it allow user
to do any thread process according to its own priority. Any thread may
have many fibers. It make it easy for user that which process he want to
finish earlier.[6]
5 MULTI-TASKING IN LINUX
Windows and Mac initially operating systems were using cooperative
multiprocessing systems but now they are using preemptive
multiprocessing operating systems. But from the first time Linux is
using preemptive multiprocessing technology. Only one time when it is
initializing, init it is using one process but after it is using preemptive
technology.[7]
10
5.4 SCHEDULER
It is a code which tell us which action to be taken at what time. This is
unique technology first use by Linux then after other operating systems.
11
5.5.1 Declaration
It is used to declare a structure which is used for making any process in
queue.
5.5.2 Mark
When some task is not urgent, this is assigned a number for postpone.
This mark is done by Mark function in kernel.
5.5.3 Execution
When urgent task is performed then non urgent task is done. It is called
execution of postpone task.
12
5.7 FORK
It is used to create another task. When parent process and child process
is complete then some time they need another task to show their out put ,
for this reason we need to create a new task using fork.[9]
13
Section B
Comparison Between
Windows Seven and
Linux
14
6 INTRODUCTION
In given Scenario I have to choose between Linux 12.4 Ubuntu and
Microsoft Windows Seven Ultimate to install on systems of new branch
of International Cultural Institute Horizon (ICIH) in order to stabilize a
new branch which will perform all functions accordingly. This new
branch have 15 employees. So we need following items in office to start
with.
i.
ii.
iii.
iv.
v.
vi.
vii.
15 Desktop Computers
16 LCD Monitors
1 Server
1 Router
1 Switch of 24 Ports.
Keyboards and Mice
Operating Systems and software.
We have all items except Operating systems and software and I have to
help the company to buy a suitable Operating system for all computers
so employees can perform their duties well. For this purpose let us see
what are the requirements in any office, so I will see which operating
system fulfil all requirements , and I will prefer to buy this operating
system.
15
7 SOFTWARE REQUIREMENT
7.1 TYPING
7.1.1
7.1.2
7.2 CALCULATING
7.2.1
16
7.2.2
In Ubuntu Linux 12.4 we can use Open office Calc. to calculating the all
necessary measurements. It also have same functions as Microsoft Excel
as well as it can also modify Excel files and can save into its own format
and also excel format.
7.3 PRESENTATION
7.3.1
7.3.2
In Ubuntu Linux 12.4 we can use Open Office impress to create full
multimedia presentations. And new version include many new
techniques which help user to define his skills in presentation.
17
7.4.2
7.5 DRIVERS
7.5.1
18
7.5.2
7.6 ACCOUNTING
7.6.1
7.6.2
19
7.7.2
In Ubuntu Linux 12.4 we can use Open proj. for making and implement
our planning for projects on time. It is free of cost and having all feature
which help management to complete all projects while maintaining the
time schedule.
20
7.8 SECURITY
7.8.1
7.8.1.1
Virtualization
7.8.1.2
Server Core
Most of people dislike to installation and this feature able for minimum
installation to carry out roles as DHCP, DNS. It is good for security
point of view.[10]
7.8.1.3
IIS 7
21
7.8.1.4
This is a excellent part which I like in windows server 2008. Any role
you want to use in server. Install it and uninstall what is not necessary. It
help the administrator to save time and attention instead of installing a
full server.
7.8.1.5
Some times main server at head quarter are more secure but servers at
branches are less secure, so through using this role, headquarter server is
secure as no one can do something wrong in headquarter server as they
have only permission to read only and not for access full. So no one can
hack headquarter server while accessing branch server.
7.8.1.6
Windows server 2008 make sure that all clients who want to access its
resources are patched and having firewall. If there is any problem, it
notify the administrator to take necessary actions.
7.8.1.7
Power shell
22
technology but windows server 2008 made it more strong and easy to
use.
23
7.8.2
7.8.2.1
Virtualization
Linux Red Hat have provided the Virtualization technology not only
server abut also client computers and make them able to run any guest
software into client. More then 75% large companies are currently using
virtualization technology to make their network trouble free.
7.8.2.2
Red hat now support high end processor support like Xeon Intel 5500
Nehalm and AMD Istambul Platform to make the network resources
access fastest and more accessible for end user.
7.8.2.3
RHEL
To really make use of all this power on the processing side, you need to
be able to deploy it to clients and RHEL does this well. It now
includes better support for InfiniBand and Fibre Channel over Ethernet
for those times when gigabit networking isn't fast enough. RHEL also
now supports smart network adapters that include processors to handle
GRO[11]
24
7.8.2.4
25
7.9 COST
7.9.1
S.No
1
2
3
4
5
Software
Windows Seven Ultimate
Windows Server 2008 for Server
Quick Books
Microsoft Office 2013
Microsoft Office Project
7.9.2
Qty
15
1
5
15
5
Price
975
300
1000
3000
300
Ubuntu Linux 12.4 is free of cost and can be download from its official
website. But Linux server Red hat price 25 OMR. So price for Linux
software is;
S.No Software
Qty
Price
26
1
2
3
4
5
7.10
E MAIL
7.10.1
15
1
5
15
5
0
25
0
0
0
Employee can use Microsoft Outlook to receive and send Emails for
company. Which give full access for employees to their emails.
7.10.2
Employee can use Thunder bird software for receiving their official
emails and sending also. It is free of cost and easy to use.
27
8 CONCLUSION
In my Conclusion it is better to use Linux Ubuntu instead of windows.
As we discuss above, Linux have feature which are required to run any
office.
Windows have some good features and linux have some good features ,
it is slightly difficult to choose, but by managing cost and other
compatibility qualities I prefer Linux instead of Windows.
It is easy to use and good support online and community. It can perform
all actions which can keep any office in working condition. In is good in
security and cheap, and help user in every matter what is required in
office.
28
9 REFERENCE
[1] http://en.wikipedia.org/wiki/Computer_multitasking
[2] http://www.webopedia.com/TERM/M/multitasking.html
[3]http://wiki.answers.com/Q/What_is_the_difference_between_multitas
king_multiprogramming_and_multiprocessing
[4] http://technet.microsoft.com/en-us/library/cc767883.aspx
[5] http://wiki.osdev.org/Context_Switching
[6] http://en.wikibooks.org/wiki/Windows_Programming/Multitasking
[7] http://msdn.microsoft.com/enus/library/windows/desktop/ms681917(v=vs.85).aspx
[8] http://www.serverwatch.com/trends/article.php/3716276
[9] http://en.wikipedia.org/wiki/Windows_Server_2008
[10]http://www.pcworld.com/article/171500/Top_5_Features_of_New_
Red_Hat_Linux.html
[11] http://www.redhat.com/rhel/features/