Solaris Overview Toos

Embed Size (px)

Citation preview

  • 7/24/2019 Solaris Overview Toos

    1/21

    Huimei Lu

    [email protected]

    Chapter1 Solaris Overview

    Feature andarchitecture

  • 7/24/2019 Solaris Overview Toos

    2/21

    2

    Outline

    Introduction to SolarisIntroduction to Solaris

    Solaris Kernel Features

    Solaris Kernel Architecture

    Solaris 10 Features

    Perforance and !racin" !ools

  • 7/24/2019 Solaris Overview Toos

    3/21

    #

    $ntroduction

    %hat is Solaris&Sun Microsystems, Inc.

    A complete operating environment, built on a modular,

    dynamic kernelSO'( Solaris Operatin" 'nvironent

    3 major components:

    ) SunOS- te kernel) !indo"ing # desktop environment, $%& de'ault, Open!indo"s still

    included. (nome, )%&

    ) Open *et"orking $omputing

  • 7/24/2019 Solaris Overview Toos

    4/21*

    A brief histor+

    ,S- /$123 Sun /$ 0.4

    1# SunOS 1.0

    12 SunOS *.1.#12 Solaris 2.0

    1 Solaris 4

    2000 Solaris 8

    2001 Solaris 9

    2005 Solaris 10

  • 7/24/2019 Solaris Overview Toos

    5/215

    Outline

    $ntroduction to Solaris

    Solaris Kernel FeaturesSolaris Kernel Features

    Solaris Kernel Architecture

    Solaris 10 Features

    Perforance and !racin" !ools

  • 7/24/2019 Solaris Overview Toos

    6/216

    Solaris Kernel Features

    -+naic

    7ultithreaded 8ernel

    Preeptive 8ernel

    7ultithreaded Process 7odel

    7ultiple Schedulin" Classes

    Including real-time support

  • 7/24/2019 Solaris Overview Toos

    7/214

    Solaris Kernel Features 9Cont:d;

    !i"htl+ $nte"rated File S+ste < =irtual7eor+

    =irtual File S+ste

    6*(bit 8ernel 3+-bit and -bit application support

    >esource 7ana"eent

    Service 7ana"eent < Fault ?andlin"

    $nte"rated /etwor8in"

  • 7/24/2019 Solaris Overview Toos

    8/21

    !he 6*(bit >evolution

  • 7/24/2019 Solaris Overview Toos

    9/21

    Outline

    $ntroduction to Solaris

    Solaris Kernel Features

    Solaris Kernel ArchitectureSolaris Kernel Architecture

    Solaris 10 Features

    Perforance and !racin" !ools

  • 7/24/2019 Solaris Overview Toos

    10/2110

    Solaris 8ernel Architecture

  • 7/24/2019 Solaris Overview Toos

    11/2111

    Outline

    $ntroduction to Solaris

    Solaris Kernel Features

    Solaris Kernel Architecture

    SolarisSolaris 1010 FeaturesFeatures

    Perforance and !racin" !ools

  • 7/24/2019 Solaris Overview Toos

    12/2112

    Solaris 10 9!he headline "rabbers;

    Solaris Containers 9ones;Solaris -+naic !racin" 9dtrace;Predictive Self ?ealin"

    System Management rame"orkault Management ArcitectureProcess >i"hts 7ana"eentPreier 6 support

    OptiiBed 6*(bit Opteron support 96*;etab+te File s+ste 9FS;... and uch3 uch ore

  • 7/24/2019 Solaris Overview Toos

    13/211#

    Outline

    $ntroduction to Solaris

    Solaris Kernel Features

    Solaris Kernel Architecture

    Solaris 10 Features

    PerformancePerformanceand Tracing Toolsand Tracing Tools

  • 7/24/2019 Solaris Overview Toos

    14/21

    1*

    Perforance and tracin" !ools

    Process stats cputrack - per-processor hw counters pargs process arguments

    pflags process flags

    pcred process credentials

    pldd process's library dependencies

    psig process signal disposition pstack process stack dump

    pmap process memory map

    pfiles open files and names

    prstat process statistics

    ptree process tree ptime process microstate times

    pwdx process working directory

    Process control pgrep grep for processes pkill kill processes list

    pstop stop processes

    prun start processes

    prctl view/set process resources

    pwait wait for process preap reap a zombie process

  • 7/24/2019 Solaris Overview Toos

    15/21

  • 7/24/2019 Solaris Overview Toos

    16/21

    16

    Perforance and tracin" !ools 9Cont:d;

    #ystem stats

    acctcom process accounting

    busstat us hardware counters

    cpustat $P% hardware counters

    iostat !& ()# statistics

    kstat display kernel statistics

    mpstat processor statistics

    netstat network statistics

    nfsstat nfs server stats sar kitchen sink utility

    vmstat virtual memory stats

  • 7/24/2019 Solaris Overview Toos

    17/21

    14

    -trace D -+naic !racin"

    Sealess3globalview of the s+ste frouser(level thread to 8ernel

    /ot reliant on pre(deterined tracepoints3 but dynamic instrumentation

    -ata aggregation at source iniiBespost processin" reEuireents

    ,uilt for live use onproductions+stes

  • 7/24/2019 Solaris Overview Toos

    18/21

    1

    -trace 9Cont:d;

    'ase(of(use and instant "ratificationen"enders serious h+pothesis testin"

    $nstruentation directed b+ hi"h(level controllan"ua"e 9not unli8e A%K or C; for eas+scriptin" and coand line use

    Coprehensive probe covera"e andpowerful data

    ana"eent allow for concise answers toarbitrar+ Euestions

  • 7/24/2019 Solaris Overview Toos

    19/21

    1

    7odular -ebu""er ( db91;

    Solaris db91; replaces adb91; and crash917;

    Allows for eainin" a live3 runnin" s+ste3 as well aspost(orte 9dup; anal+sis

    Solaris db91; adds...

    &/tensive support 'or debugging o' processes 0etc0cras and adb removed

    Symbol in'ormation via compressed typed data

    %ocumentation

    7-, -evelopers uide mdb implements a ric A1I set 'or "riting custom dcmds

    1rovides a 'rame"ork 'or kernel code developers to integrate "it mdb24

  • 7/24/2019 Solaris Overview Toos

    20/21

    20

    >eferences

    Gi 7auro3 >ichard 7c-ou"all. Solaris $nternals(Core KernelCoponents. Sun 7icros+stes Press3 2000

    >ichard 7c-ou"all3 Gi 7auro3 SOHA>$S!7KernelPerforance3 Observabilit+ < -ebu""in". !utorial at/'/$:05.

    Solaris 10 %hat:s /ew3 Sun 7icros+stes Press3 -eceber2005

  • 7/24/2019 Solaris Overview Toos

    21/21

    21

    'nd

    I [email protected]