4+1 View of Architecture What does Linux have? Linux subsystems - - PowerPoint PPT Presentation

4 1 view of architecture what does linux have
SMART_READER_LITE
LIVE PREVIEW

4+1 View of Architecture What does Linux have? Linux subsystems - - PowerPoint PPT Presentation

4+1 View of Architecture What does Linux have? Linux subsystems Process Scheduler (PS) responsible for supporting multitasking by deciding which user process executes. Memory Manager (MM) provides a separate memory space for


slide-1
SLIDE 1

4+1 View of Architecture

slide-2
SLIDE 2

What does Linux have?

  • Linux subsystems

– Process Scheduler (PS) – responsible for supporting multitasking by deciding which user process executes. – Memory Manager (MM) – provides a separate memory space for each user process. – File System (FS)– provides access to hardware devices – Network Interface (NI)– encapsulates access to network devices

slide-3
SLIDE 3
  • Linux subsystems

– Inter Process Communication (IPC)– allows user processes to communicate with other processes

  • n the same computer

– Initialization (Init)– responsible for initializing the rest of the linux kernel with appropriate usr configured settings – Library (Lib)– the kernel core which stores the routines that are used by other subsystems for their running.

slide-4
SLIDE 4

Linux

Linux MM Init PS NI IPC FS Lib

slide-5
SLIDE 5

File System Broken Down

File System System Call Interface Executable Formats Virtual File System File Quota Buffer Cache Device Drivers Logical File System

slide-6
SLIDE 6

How do these sub-systems interact?

FS MM NI PS Init IPC Lib

slide-7
SLIDE 7

Breakdown of FS

Sys Call Interface Executable File Format Virtual FS Device Driver Buffer Cache File Quota Logical FS MM PS IPC NI Lib Init

slide-8
SLIDE 8

Logical View

Linux MM Init PS NI IPC FS Lib

slide-9
SLIDE 9

File System Broken Down –Logical View

File System System Call Interface Executable Formats Virtual File System File Quota Buffer Cache Device Drivers Logical File System

slide-10
SLIDE 10

Process View

FS MM NI PS Init IPC Lib

slide-11
SLIDE 11

Breakdown of FS – Process View

Sys Call Interface Executable File Format Virtual FS Device Driver Buffer Cache File Quota Logical FS MM PS IPC NI Lib Init

slide-12
SLIDE 12

4 + 1 view

  • Philippe Kruchten, Rational Software, Architectural Blueprints - The 4+1

View Model of Software Archtecture, IEEE Software, 1995

– Use case view – Logical view – Process view – Implementation view – Deployment view

slide-13
SLIDE 13

Logical View Process View Development View Physical View

Use cases

slide-14
SLIDE 14

4+1 view

slide-15
SLIDE 15

What do the views do?

  • logical view talks about the decomposition of the system into its

constituent modules

  • process view captures the execution time components and how they

interact

  • physical view which describes the relationship between the software

components and the hardware

  • development view deals with development time issues like files,

people

  • illustrated by a few selected use cases, or scenarios
slide-16
SLIDE 16

Split

To-Lower To-Upper Merge Main Config Stdio Split To-Lower Merge To-Upper

Process View Logical View KEY Filter Component Pipe Connector Attachment Module X Y X Uses Y

C&C and module views

  • f the Capitalize
  • System. The simple system

illustrated here accepts as stream of characters as input and produces a new stream

  • f characters identical to

the original but with upper-case and lowercase characters alternating

slide-17
SLIDE 17

Home Work

Look at every diagram you see from this perspective

Computer Science and Engineering, IIT Kanpur