Académique Documents
Professionnel Documents
Culture Documents
TOPICS
1.
2.
3.
4.
5.
6.
7.
8.
INTRODUCTION
SYSTEM CALLS
INSTALLATION PROCESS
PROCESS MANAGEMENT
MEMORY MANAGEMENT
BOOTING PROCESS
COMPATIBLE PROCESSORS
HARDWARE CONFIGURATION
Introduction:
Windows 98Memphis is agraphicaloperating
systembyMicrosoft.
It is a hybrid16-bit/32-bit monolithic product with
anMS-DOSbasedboot loader.
Development of Windows 98:
Memphis:
Windows Memphis Alpha:
Windows Memphis beta:
Windows 98 Beta:
Windows 98 Release Candidate:
Windows98:
Windows98 SE
File Manipulation:
Create file(filename, mode)
Read file(file, no of bytes)
Write file(file, no of bytes)
Device Manipulation:
Set Console Mode(mode, console handle)
Read Console(reserved, no of characters to write)
Write Console(reserved, no of characters to read)
Communication:
Protection:
Set file Security()
Initialize File Security Descriptor(security descriptor)
Installation Process
What do we need ?
1) Windows 98 CD
2) Windows 98 Product ID/Key
3) About 1-2 Hours
Process creation
When a new process is to be added to those that are currently being
managed by the operating system, the operating system builds the data
structures that are used to manage the process and allocates the address
space to be used by the process . These actions constitute the creation of a
new process.
Interactive logon
Termination of a Process
The ending or exiting the process created is called as process termination.
The various ways for terminating a process.
Normal task completion
Memory unavailable
Time limit exceeded
I/O failure
Parent termination
Parent request
Scheduling Criteria
CPU utilization keep the CPU as busy as possible
Throughput # of processes that complete their execution per
time unit
Turnaround time amount of time to execute a particular
process
Waiting time amount of time a process has been waiting in the
ready queue
Response time amount of time it takes from when a request
was submitted until the first response is produced, not output (for
time-sharing environment)
Scheduling Algorithm
First-Come, First-Served (FCFS)
Scheduling.
Shortest-Job-First (SJF) Scheduling.
Priority Scheduling.
Round Robin
Example of FCFS:
Process
P1
P2
3
P3 3
Burst Time
24
24
P3
27
30
SJF is optimal gives minimum average waiting time for a given set
of processes.
P1
P2
P3
P2
P4
P1
11
16
Priority Scheduling
Priority associated with each process
CPU allocated to process with highest
priority
Preemptive or non-preemptive
Example - SJF: priority scheduling where priority
is predicted next CPU burst time.
Problem: Starvation
low priority processes may never execute.
Solution: Aging
as time progresses increase the priority of
the process.
P1
P2
20
37
P3
57
P4
P1
77
P3
97 117
P4
P1
P3
P3
Typically, higher average turnaround than SJF, but better response time
Average waiting time
= ( [(0 0) + (77 - 20) + (121 97)] + (20 0) + [(37 0) + (97 - 57) + (134
117)] + [(57 0) + (117 77)] ) / 4
= (0 + 57 + 24) + 20 + (37 + 40 + 17) + (57 + 40) ) / 4
= (81 + 20 + 94 + 97)/4
= 292 / 4 = 73
Average turn-around time = 134 + 37 + 162 + 121) / 4 = 113.5
Windows Sockets
WinSock provides very high level networking capabilities.
It supports TCP/IP (the most widely used protocol), along with many other
protocols AppleTalk, DEC Net, IPX/SPX etc.
WinSock supports Berkeley sockets, along with many
otherWindowsspecific extensions.
There are two version that are supported i.e. 1.1 & 2.0
Following are some of the Win32 APIs that are used when working with
WinSocket
socket()
bind()
listen()
accept()
connect()
send()
recv()
VMM(Virtual Memory
Manager)
What is Paging?
Paging is an important part ofvirtual memoryimplementation in most
contemporary general-purpose operating systems, allowing them to use
disk storage for data that does not fit into physical
random-access memory(RAM).
First-In-First-Out (FIFO)
The page that has been in the main memory for
the longest period of time is replaced
In general, if more page frames are allocated to
a process, the fewer page faults the process will
experience
In FIFO, it was observed that under certain page
reference patterns, actually more page faults
occur
Not-Used-Recently (NUR)
It is an approximation to LRU.
Pages not used recently are not likely to be used in the
near future
implemented with 2 hardware bits/page.
Bit
Value
Description
Reference bit
0
Not reference
1
Referenced
Modified bit
0
Not modified
1
Modified
When a page is referenced,set reference bit to 1
All reference bits are reset to 0 periodically
Pages are replaced according to the following order
1) Unreferenced, Unmodified
2) Unreferenced, Modified
3) Referenced, Unmodified
4) Referenced, Modified
Compatible
Processors
Processor
Advantages
Disadvanta
ges
Bottom Line
Pentium III
Fast,
scalable.
Expensive.
The right
choice for
performanc
e oriented
users
skittish
about AMD.
Intel
Celeron
Affordable;
fast
enough.
No SSE
(yet).
A good bet
for all but
the most
powerhungry
users.
AMD Athlon
Faster,
cheaper
than the
Pentium III.
A real
alternative-if AMD can
keep its act
together.
Cyrix M II
Affordable;
adequate
Sale of the
company
Worth
considering
Hardware
Configuration