Operating System Project
Operating System Project
HISTORY
In 1987, AT&T and Sun announced that they were collaborating on a project to
merge the most popular Unix variants on the market at that time: BSD, System
V, and Xenix. This became Unix System V Release 4 (SVR4).
On September 4, 1991, Sun announced that it would replace its existing BSD-
derived Unix, SunOS 4, with one based on SVR4. This was identified internally
as SunOS 5, but a new marketing name was introduced at the same time:
Solaris 2. While SunOS 4.1.x micro releases were retroactively named Solaris 1
by Sun, the Solaris name is almost exclusively used to refer to the SVR4-derived
SunOS 5.0 and later.
The justification for this new "overbrand" was that it encompassed not only
SunOS, but also the OpenWindows graphical user interface and Open Network
Computing (ONC) functionality. The SunOS minor version is included in the
Solaris release number; for example, Solaris 2.4 incorporated SunOS 5.4. After
Solaris 2.6, Sun dropped the "2." from number, the so Solaris 7 incorporates
SunOS 5.7, and the latest release SunOS 5.10 forms the core of Solaris 10.
OVERVIEW
Programmed in C
OS family Unix
Available programming C
languages(s)
License Vario
us
SOLARIS INTERNALS
Solaris Process
Scheduling
In Solaris, highest priorities are
scheduled first. Kernel thread
scheduling information can be
revealed with ps -elcL.
A process can exist in one of the
following states: running,
sleeping or ready.
The Fair Share Scheduler should not be combined with the TS, FX (fix
priority) or IA (interactive) scheduling classes on the same CPU or
processor set. All of these scheduling classes use priorities in the same
range, so unexpected behavior can result from combining FSS with an
these. (There is no problem, however, with running TS and IA on the s
processor set.)
To move a specific project's processes into FSS, run something like:
priocntl -s -c FSS -i projid
All processes can be moved into FSS by first converting init, then the
of the processes:
priocntl -s -c FSS -i pid 1
priocntl -s -c FSS -i all
Implementation Details
Time Slicing for TS and IA
TS and IA scheduling classes implement an adaptive time slicing sche
that increases the priority of I/O-bound processes at the expense of
compute-bound processes. The exact values that are used to implemen
can be found in the dispatch table. To examine the TS dispatch table, r
the command dispadmin -c TS -g. (If units are not specified, dispadmi
reports time values in ms.)
The following values are reported in the dispatch table:
ts_quantum
with the specified priority.
ts_tqexp: This is the new priority that is assigned to a process th
uses its entire time quantum.
ts_slpret: The new priority assigned to a process that blocks bef
using its entire time quantum.
ts_maxwait
interval of ts_maxwait, its priority is raised to ts_lwait.
ts_lwait:
Message Queues
Unix uses message queues for asynchronous message passing between
processes. Each message has a type field, which can be used for priori
messaging or directing a message to a chosen recipient.
Message queues are implemented as FIFO (first-in first-out) mechanis
They consist of a header pointing to a linked list.
Oracle Solaris:
Virtualization
BENEFITS
DIFFERENCE
BETWEEN SOLARIS
AND LINUX
WHY ORACLE
SOLARIS?
SOLARIS
ADVANTAGES
Compatibility - software that
works on one release or for a
given patch revision of Solaris is
pretty well guaranteed to run
subsequently. This is huge, and
isn't generally true for other
platforms. I've got 20-year old
applications running happily day
in, day out. By and large,
everything just works, and
continues to work.
Installation Automation -
jumpstart is a huge competitive
advantage. You can trivially
deploy systems, being able to
completely reproduce a
configuration, and roll out
systems and updates effortlessly.
Lightweight virtualization -
Zones, especially sparse root
zones, allow you to consolidate
large numbers of small systems
onto a server, with minimal
overhead and without adding to
the management overhead
normally associated with adding
another system to your network.
(Note that the real advantage here
comes from the use of sparse root
zones, which not only guarantee
that the zone looks like its parent,
but mean that you don't manage
the software on the zones at all
but just manage the parent host.
Whole root zones aren't as
lightweight and don't have
anything like the same
advantages, and branded zones -
while a neat trick - don't have any
compelling advantages over other
virtualization solutions.)
SOLARIS
DISADVANTAGES
Hardware support is not
nearly as good as many
Linux or Windows
operating systems. It is
improving.
Uncompatible : It is not
recommended to run
Solaris on other
architectures such as Intel,
AMD. It is possible to
install Solaris on Intel
however, the performance
would degrade
considerably since Solaris
cannot make use of Intel
that efficiently.