Anda di halaman 1dari 36

!

"

"

! #! $# !
! #
% #
! #

"

"
"

&
'&(

*$

!
!
+& "

& "
"

#
#
!

$
&
!

)"
"

!"

"

"

,
-!
#

.
"

"

/
/

"#
! #! "
"
!

"

"
,

"#

"#
.
/

/!

"

#"

"
*$

#'&(
'&(
!$
$ % $#)

1
"

!
2

& "
-!

1
"

#
!$
% $#
"

#
"

"
"$

!$
!

'&(

!!
"! !
"

! #! "

) "
# 1
"
#
"

!"
"
""

"! !
"
,

" "
"

"
"

%
!

"

%
6!

! )

"

/
)

"
!

"
$

!
"" " 1 !
! #! "
"
"! !
&

&

!"
)
"
!!,

$/

"

#
!

*$

89
(: ;
!

*$

,
!
<
2 *

%$ $# "
*$ % *
$ $8 9

$
*$

#
!

"

" "
"

"* !

"
!

"
"
"

*$

"! # ! "

!"$
"
"
"
*$

! )!

"

)!

"

$
"

"

$
!

"
"
"
"

! #! "
&
&
&

&
-$
.
*

"" " 1 !
,
"#
"#
"

$
"

!
!

"

"
/

"

"
$

$ $
! !
#
"
#

#
)'&(
%

&

"
)

"
)

$
"

!#

"

"
"
$

)
"

"

"

!
!"

!
&
"

"
"! !
#! "
"
"

$ >
"

!!

"
$

"

! !
!
#

"
"

"

"
" #
$ ! !
"

!
#
!

"

"
"

!"

-!

$
>! !

"

%2

$
#
-!

"
$

(: ;
!"
"

!
" !

!"

% #

! $#
"
"

,
-

!!

"%
& "

.(: ;/
$

"
)

!#

!
!$

"

"
!
&
"
&

"
! !

"
!
#

"

"

!#

"

"

")

""
)

"

"

#
)

"
" #
"
"#

6
!
6
6
!

!!

"

"

"

"
"

"! !
"

"

"

"

"A

"

@ #

#
'&()

"

""
) *$
0

"
-!

"

"

,
1

!!
"!
"

"%

$ #

"

""

$
" !
$
6

$$
""

#
"

"

"
%

.
! "

"

"#

!
$
"

-!
" "
-!
!#
""
!#
$
""

!"
"
"
#"# *
)
'
!
"$ ! !
,

!#

" !

!#
$
!
" "
!"
"
"
"
#

"
!
$

$
4

! *

"

"

!
4

"
&
B
&

"
!#!

#
@! $ A . ! /
"

#/

$
"
*

# "
!

)
@

$A

0
,
!

$
) $
!

*$

,$

)
!

)!
)

)
)"

!
")

,$

)
$

!
, D
*$
$
)

"

) C$
!

*$
)

$
$#

,
$
)$

*$ )
) "$

,"
) )

!"

"

)$
)1
)

*$ )
$#
)
!
$

)
$#

)
)1
)1

$
) "

)1
)
$# *$
)"
$ )
)

)
)"
)"

*$

) $*
*$

"

MS DOS execution
free memory
free memory

UNIX running multiple


program
process D
free memory

process

process C
interpreter

command
interpreter
kernel

(a)
At system startup

command
interpreter
kernel

process B
kernel

(b)
Running a program
=

#
Model Komunikasi

process A

process A

shared memory
process B

process B

kernel

(a) Message Passing

kernel

(b) Shared Memory

!
!
!

"
"

""

$
& "
-!

,$

"
)

""

)$

)
"" )1

$
!!

%
)

&
!

"

!
!

"! !

#! "

" % $

'
& " %
$
)

"

" "

"

)$

#, $

$
!

#
.
.*

/
$#

%
6

,
'

!
#,
%2

%2

,
#

& "
"
4 !

! "
) "

"!

$)

(: ;

!!

)
"

"

" !
#

"

#8 9

E < : F(: ; ,
4
6
6

!
" 89
!"
#, @6
!
!1 #
!#
# !"
"
""
"
"! "
$
@
"

!
A

@
$
$
"
$A

& "

A
89
*$
*
"

(: ;

%
Struktur layer MS-DOS

Struktur sistem UNIX

&
2?,

""
"
$
!"
$#
/
#8 9
$
" ,
,
2 ! "" "
" !#
"
)

'

#, 4 $#

% 1
" !
#
. * /) *
"" .
:/

#
*

#
" !#
*
#

!#

""
!

89
" # !"
)
"
$# 8 " $#

" !# $
! 1 #.
#

"
"
#
" !#
% !"
!
" !#

.
#

/
,

""+

# #
*

.48?/)

"
G
0

&

&

"

48?
F
F
F
F
F
F

%0
%
%
%
%
%

,
,!
,
,
,
,#

"
"
%$
1
1

G
*$
*$
*

'&(

F
F
F
F
F
F
F

%3
%0
%
%
%
%
%

,
"
,
*$
* H $#
,*
,
$#
,
1
'&(
,
,# 1

&
6

"
#

""

!#

"!

#+ 2

$
" !#

$
!

)
$

! #
*
"
# %#

"

"
!

"
%2

%2

"

) !
"#

"

!#
!#
"
! #

"

!
*

!#

#
7

&

'
Sistem OS/2

)%
2?,
"
& "
'
6

"

#, G
"
E
$
$#
&
1
*

"

@*

! #
#
"

$# A
*

$#

,
% #
'&(
! #1

"

"
*

! " '&(
#*

% #
#

"

"

4
$
6

! "

""

"

"
$#
"

"
#

)%

*
&

"
'

&

,
" " ,
)
/H

$
#

. )$ )
)+ C )+! /

)$ )
. +$
&
"
,
F
E
!
.
& % $
)G
)
" )
)
)
) !
)
/
F
2
. + I
2 + I/
'
,
#
)
)
"
)
"
)
)
"
) " "

*
&

"

<( )
- %

&

&

,'

"
1
) "
$ ,
#

"

+
)
")

"
"

"
*

)$ )

! )1

! 9

&,

'
1
1
"
1
1$
#
,
" #$
*$
*$
1

*$

$
$ .<2 /

. #

$ /

*+
.
&

" %
"/
!

"

"
"!
C$ */
, C
!
)$

H
*

"

"

)
!

.:4
)

,
8

1
""

$
"

,!
!

,
*$ ,

.8 F/ ,

#
""

#
%
" %

"
""
$

"

*.
6

,
$*
"
)
?C

/-$
"
,
" "
)
" ! "

$ "
"
"

!
! !"

"
!
$
"
(: ; # , !
# . #/)' # .$ #/)
#
. #/)!
"
# .! #/
&
" &
"
,
& "
, $ ""#
!" )
" !#
$
&
,
" %
"
& ;
'
. &/ ,
"
!#
'
0

* & ./
%2
1

")
& ;)
)
"
,

)
"
( 2

$ )
$" #
" ")
!
" ""
&
"
,
%
&
" &
"
"
)
$

4'& &
"

"

"

#1

#%
,

"

C
!
)

#
"

%
3