Case Study of Os2
Case Study of Os2
Case Study of Os2
OS/2
Submitted By:
1. Twinkle Bothara (07)
2. Shruti Chavan (11)
3. Vaishnavi Dhawalekar (14)
INDEX
01 -Introduction
02-History
04-File system
05-Features
06-Comparison
07-Advantages
08- Disadvantages
09-Conclusion
Introduction:
OS/2 is an IBM operating system for the personal computer that, when
introduced in 1987, was intended to provide an alternative to
Microsoft Windows for both enterprise and personal PC users.
OS/2 was originally a 16-bit operating system that was designed to work with
286 processors and first introduced in 1987.
OS/2 is compelling because it offers the best system for running 16-bit DOS
and Windows applications while moving into the more flexible and powerful
32-bit world.
The user interface is built up object-oriented and free technical supports are
the compelling factors.
OS/2 is smallest one of these three major operating system (Linux, Windows
NT, and OS/2) when using a graphical interface but is one of the three for
backward compatibility with DOS and Windows.
The development of OS/2 began when IBM and Microsoft signed the "Joint
Development Agreement" in August 1985. It was code-named "CP/DOS".
IBM OS/2, in full International Business Machines Operating System/2,
an operating system introduced in 1987 by IBM and the Microsoft
Corporation to operate the second-generation line of IBM personal computers,
the PS/2 (Personal System/2).
IBM OS/2 was intended to replace the older disk operating system (DOS),
which, with the development of the Intel Corporation 80286 microchips in the
mid-1980s, was growing increasingly obsolete. OS/2 combined a
new graphical user interface (GUI) with features previously available only on
mainframe computers. It shared similarities with other personal computer (PC)
operating systems, including Microsoft Windows, UNIX, and Xenix.
In 1994 IBM introduced a new version, OS/2 Warp, which included many new
features. OS/2, however, failed to acquire a share of the mass market. It
survived in IBM-dominated markets such as automated teller
machines (ATMs), but the company halted production in 2005 and support in
2006.
Users and developers still loyal to OS/2 support releasing the software as open
source, but Microsoft retains rights to some of the code, and the security of
ATMs could be compromised.
DESIGN PRINCIPLE AND
ARCHITECTURE:
OS/2 was designed to extend the capabilities of DOS and to create a single
industry-standard operating system.
Initially the OS/2 was developed from the MT-DOS and DOS 3.2 source code
bases and did not include the Presentation Manager (PM) GUI. The later
versions included the PM
It was designed to support radical changes in hardware, from older 8-bit or 16-
bit microprocessors to new high-powered 32-bit processors.
System Structure:
The OS/2 system is composed of the kernel, device drivers, dynamic link
libraries, and applications programs.
As in OS/2, the OS/2 kernel uses device drivers to access the system’s
hardware resources.
The most critical portions of the operating system, such as multitasking,
memory management, inter-process communication, DOS compatibility, and
I/O reside in the kernel.
Many of the system’s API is located in the kernel, but some of them are located
in the dynamic link libraries – shared libraries that can be used to extend the
functionality of the system.
MULTITASKING:
MEMORY MANAGEMENT
OS/2’s virtual memory model provides 4-gigabyte addressing
The large 32-bit memory model frees the application developer from the
memory constraints of the 16-bit segmented model.
The 32-bit paging model achieves better utilization of memory and higher
performance.
The flat model is easily portable to most processor architectures
Two forms of protection - Protection is among the processes in the system and
isolation of the system from the user processes.
The memory management component of the system is responsible for
allocating process virtual address spaces and for setting up the required
hardware structures to enable processes to be protected from one another and
from the system.
OS/2 provides functions for object allocation, deallocation, and sharing.
DYNAMIC LINKING:
Dynamic linking allows the binding of code and data references to be delayed
until the program is actually loaded or until the program specifically requests
the operating system to link dynamically to a dynamic link library (DLL).
Two types of dynamic linking - load-time dynamic linking, and run-time
dynamic linking.
There are two executable modes in OS/2 environment: EXE modules for
programs and DLL modules containing shared libraries.
Dynamic linking is a powerful mechanism for providing linkages to shared
code and data objects in a multitasking virtual memory environment.
I/O:
OS/2 can be categorized in two categories: system I/O and user I/O.
Processes use system I/O to perform file level; I/O to secondary storage
devices managed by the file systems.
Processes utilize user I/O to interact with the user by employing keyboard,
display, and mouse.
OS/2 supports the FAT file system used by DOS, and consequently can read
and write DOS files.
OS/2 provides an alternative file system, called the High Performance File
System (HPFS) to support many concurrent I/O requests from different
processes on large block devices.
OS/2 has an installable file system (IFS) to provide a architecture
in which programs are transparent to the type of file system.
Device drivers run in the most privileged execution state, privilege level 0.
PAGING:
The paging feature is not only used to support the flat model and multiple DOS
address spaces, but also to allow OS/2 to provide memory over commitment.
The storage can be virtualized on fixed disk media at a much lower I/O cost,
because the size of the page is not variable.
It makes use of demand paged, virtual memory system and is designed so that
the system will run acceptably in nominally over committed situations.
OS/2 API:
INTERPROCESS COMMUNICATION:
PRESENTATION MANAGEMENT:
DOS COMPATIBILILTY:
SECURITY:
Security support is installed independently at the OS/2 machine by performing
the following procedures:
Enabling Security Enabling Services (SES).
Installing system fixes and upgrades
Upgrading the rexecd utility
Ensuring reverse name resolution
Installing Tivoli Management Platform Security
Making security modifications
Adding new users
Because OS/2 is a single user system, you need to install SES to add
UNIX-like security. After installing the Tivoli management platform security
for OS/2 function, all installations that affect controlled files (such
as config.sys, secure.sys, or the Tivoli directories) must be done from the
root user, the default administrator. All parts of the security enabling
process are performed on the OS/2 machine except mutual verification of
name resolution, which must be performed on the OS/2 machine and Tivoli
server.
IBM OS/2 VERSIONS/ ITS TIMELINE:
Setup of OS/2
Introduction to OS/2
Drive Selection
System configuration
HPFS:
HPFS (High Performance File System) is a file system created
specifically for the OS/2 operating system to improve upon the limitations of
the FAT file system. It was written by Gordon Letwin and others at Microsoft
and added to OS/2 version 1.2, at that time still a joint undertaking of
Microsoft and IBM, and released in 1988. OS/2's file system support is similar
in many ways to that of Windows NT. If you dual boot OS/2 and Windows
partitions you are probably aware of these tools (drivers). By now, there should
be tools that will allow you to access NTFS partitions; however we have not
had the occasion to investigate them.
HPFS386:
HPFS386's cache is limited by the amount of available memory in OS/2's
system memory arena and was implemented in 32-bit assembly language.
HPFS386 is a ring 0 driver (allowing direct hardware access and direct
interaction with the kernel) with built-in SMB networking properties that are
usable by various server daemons, whereas HPFS is a ring 3 driver. Thus,
HPFS386 is faster than HPFS and highly optimized for server applications. It
is also highly tunable by experienced administrators.
Though IBM still had rights to HPFS, its agreement with Microsoft to continue
licensing the HPFS386 version is contingent upon the company paying
Microsoft a licensing fee for each copy sold. This was a result from the
Microsoft and IBM collaboration that both IBM and Microsoft had right to use
Windows and OS/2 technology. Microsoft used HPFS in Windows NT.
JFS:
Journaling File System (JFS) is a 64-bit journaling file system created by
IBM. Due to the Microsoft dependence, limited partition size, file size limit of 2
GB and the long disk-check times after a crash, IBM ported the journaling file
system JFS to OS/2 as a substitute.
Features:
Some of the major features of OS/2:
OS/2, not the applications, controls how much processor time each
program gets. This means that users won't have to worry about a
"resource hog" tying up the system, and they can continue doing their
work. Users can also select exactly how much processor time they want
to allocate to each program.
Memory Virtualization:
Crash Protection:
Workplace Shell:
OS/2's interface is called the Workplace Shell or WPS for short.
The WPS is a fully object oriented interface. This means that work can be
done more efficiently, no more need to perform gymnastics with the
mouse just to copy a file. Just drag & drop.
Comparison:
It was developed by
It was developed by
It was developed co-ordination of
Developers Microsoft
by Microsoft Microsoft Inc. and
Incorporation.
IBM.
Computer
Computer architectures
Computer
architectures supported by
Computer architectures
supported by DOS Windows are IA-32,
architecture supported by DOS
are 16-bit x86. x86-64, IA-64,
are 16-bit x86.
ARM, Alpha, MIPS
and PowerPC.
Its native APIs are
Its native API is Its native APIs are
Native NIPS Proprietary, DOS
DOS API. Win32 and NT API.
API and Win16.
File systems
File systems
supported by
File system supported by OS/2
Windows are NTFS,
File systems supported by DOS are HPFS, JFS,
FAT, ISO 9660,
is FAT. FAT, ISO 9660,
UDF, HFS+, FATX
UDF and NFS.
and HFS.
OS/2 is an
Windows is not an
operating system as
DOS is an operating system
well as a
operating system. but an operating
multitasking
environment.
environment.
DOS provides no
distinction It will distinguish Windows
between the between the 3.0 cannot perform
operating system operating system the functions of an
and the and applications. operating system.
applications
ADVANTAGES OF OS/2:
Overall Quality
Multitasking
One of the biggest advantages that OS/2 has over other OSs is the ability
to run applications from each of these different OSs concurrently. OS/2
is compelling because it offers the best system for running 16-bit DOS
and Windows applications while moving into the more flexible and
powerful 32-bit world
Less expensive
For some specialized industrial applications, continuing to use OS/2 may
be cheaper than switching to another platform. If a company has custom
OS/2 based applications which does all it needs to do, a rewrite would be
costly with little or no benefit. Adapting hardware requirements to suit
OS/2 may be considerably less expensive than switching to a more
modern operating system.
Software Utilization
There are a few software products written for DOS and/or Windows that
won't work under OS/2's versions of DOS and Windows. There are ways
of booting a "real" copy of DOS from OS/2, but in general this isn't very
useful for routine work. More importantly, using DOS and/or Windows
software negates one of the very big advantages of OS/2. The High-
Performance File System (HPFS) in OS/2 2.1 allows useful file names.
No DOS or Windows software can support this feature. For this reason,
native OS/2 apps are very desirable. Alas, the selection of such native
apps is very poor at this time and for the foreseeable future.
Availability of Informal Support
Os/2 was the first operating system that suppressed 8 bit or 16 bit
microprocessors and used the high powered 32 bit microprocessor.
Perhaps OS/2 was ill-fated from the beginning, since before it was even called
OS/2. The Joint Development Agreement signed between IBM and Microsoft
could not prevent the rift between the two companies from growing. While
IBM focused mainly on development of OS/2 Microsoft continued its own
research for windows operating systems.
OS/2 was designed as a successor to DOS and maybe this was part of the
problem. OS/2 1.0 superficially didn't look very different from DOS. There was
no wow factor. The command line interface was intended to work just like DOS
and that's what people saw. They did not see the modern, protected-mode
operating with virtual memory and pre-emptive multi-threading. What they
saw was an OS that looked like DOS, required much more memory and disk
space, and wasn't compatible with many DOS applications. OS/2 1.1 as well as
later releases with Presentation Manager was in the same boat. It looked
(again, deliberately) like Windows with higher resource requirements and poor
application support.
Of course the fact that IBM no longer sells OS/2 does not mean that everyone
stopped running it. As late as 2005, some large corporations were rolling out
new machines with OS/2 installed numbering in the thousands or tens of
thousands. IBM officially stopped supporting OS/2 in 2006,but some loyal
users made it’s source code available for experimental purpose.