SlideShare a Scribd company logo
A PAPER PRESENTATION ON
SOFTWARE ARCHITECTURE OF LINUX
WHAT IS INSIDE
            1 Introduction
            2 Need of the study of Software
              Architecture
            3 System Structure
            4 Subsystem Inspection
            5 Future Work
            6 References
INTRODUCTION

Linus B. Trovalds wrote the Linux Kernel in 1991.
Free and Open Source
A Unix compatible system
Originally developed to run on the Intel 80386
Need for the Software
Architecture Study
Enhance communication among stakeholders of the
 system
Support for earlier design decisions.
Understand transferable abstraction of a system
Software maintenance
Exploit the FOSS utilities. To extend, remove,
 change,modify functionality of an existing system.
Linux System Structure

Criticism-“Linux kernel is useless by itself,it
 participates as one layer in the overall system.”

Within the kernel layer Linux has 5 major
  subsystems.
 Process Scheduler
 Memory Manager
 Virtual File System
 Network interface
 Inter process communication
Sub System Inspection
Process Scheduler
Sub System Inspection - Process
Scheduler
It is the heart of Linux Operating System
Functions:
 Allows processes to make new copies.
 Scheduling
 Interrupt Handling
 Loading, Executing and Terminating of processes.
 Timer Management
 Support for Dynamically loaded modules.
Process Scheduler Dependencies
Sub System Inspection –Memory
Manager
Provides:
Large address space
Protection
Memory mapping
Fair access to Physical memory
Shared Memory
Memory Manager abstracts details of all hardware platforms
  into one common interface. It maps virtual addresses to
  physical memory addresses.
It also swaps out processes to allow system to execute processes
  that use more physical memory than available on the system.
Daemon threads
Memory Manager
Dependencies
Subsystem Inspection: Virtual
File System
Linux supports:
Multiple hardware devices
Multiple logical File System
Multiple Executable Formats
Homogenity
Performance
Safety
Security
Subsystem Inspection:
Virtual File System
The FS of Linux has 2 conceptual layers
 1. Device Driver Layer
 2. Virtual File system
Add new Device Driver by simply implementing the
   abstract interface,
Use of Buffer Cache for optimized Performance.
Data Transfer can takes place by
1.Polling 2.DMA 3.Interrupts
To support Virtual FS Linux has inodes.It makes all
   files appear the same to other Linux subsystems
VFS Dependencies
Subsystem Inspection:Inter Process
Communication
Concurrent Execution of processes for
 *Resource Sharing
 *Synchronization
 *Exchange of data
Linux provides following forms of IPC
-Signals
-Wait Queues
-File Locks
-Pipes and Named Pipes
System VIPC:
Interprocess Communication
Dependencies
Subsystem Inspection-
 Network Interface
 Linux supports network connections between machines and
socket communication model.

 2 types of sockets are identified
  -BSD sockets         -INET sockets
  
    BSD abstracts the communication details to a common
    interface. This provides greater portability
  
    Linux provides two transfer layer protocols
    
      UDP
    
      TCP
  
    INET sits on top of both IP and Transport Protocol.
Subsystem Inspection-Network
Interface
Three types of connections
-Serial Line connections
-Parallel Line connections
-Ethernet connections
An address Resolver (ARP)is responsible for
  converting the IP addresses into physical ones. This is
  necessary as sockets deal with IP addresses which
  cannot be directly used by hardware devices.
Subsystem Inspection-Network
Interface
Conclusion
Linux has since been ported to more computer hardware platforms than
    any other operating system.
It is a leading operating system on servers and other big iron systems
    such as mainframe computers and supercomputers more than 90% of
    today's 500 fastest supercomputers run some variant of Linux .
Linux also runs on embedded systems such as mobile phones, tablet
    computers, network routers, televisions and video game consoles the
    Android system in wide use on mobile devices is built on the Linux
    kernel.
 Typically Linux is packaged in a format known as a Linux distribution
    for desktop and server use. Some popular mainstream Linux
    distributions include Debian , Fedora and openSUSE.
Future Work
Conceptual Architecture shows few dependencies among the
components than concrete architecture
The PBS tools should be adjusted to handle the Linux source
structure. The conceptual and concrete architectures we
have presented should be refined through discussions with
the Linux developer community. After refinement, the two
models can be compared using the Reflexion model [Murphy
1995].
References
[Balasubramanian 1993]
Balasubramanian, K. and Johnson D.: "Linux Memory
  Management Overview," The Linux Kernel Hacker’s
  Guide,
http://www.redhat.com:8080/hypernews/get/memory/memory.html
[Tanuan 1998]
Tanuan,M.: "An Introduction to the Linux Operating System
  Architecture", http://www.grad.math.uwaterloo.ca/~mcta
Sahun Siddiqi,Meyer Tanaun,Ivan Bowman:
“Concrete Architecture of Linux”
LINUX- powerful. open source. secure

More Related Content

PDF
File System Hierarchy
PPTX
Linux file system
PPT
Linux architecture
PPT
Linux file system
PDF
Presentation aix performance updates & issues
PDF
Advance linux presentation_0702011
PDF
Introduction to Ubuntu
PDF
Linux introduction
File System Hierarchy
Linux file system
Linux architecture
Linux file system
Presentation aix performance updates & issues
Advance linux presentation_0702011
Introduction to Ubuntu
Linux introduction

What's hot (20)

PPTX
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
PPTX
Kernel module in linux os.
PPT
Case study linux
PPTX
Linux fundamentals
PDF
Quick Guide with Linux Command Line
PPTX
Bash Shell Scripting
PDF
Spectrum Scale Best Practices by Olaf Weiser
PDF
PDF
Platz da! Platz schaffen auf dem Domino Server - Vortrag von Ulrich Krause be...
PPT
Introduction to Linux Kernel by Quontra Solutions
PDF
A practical guide to buildroot
PDF
Shell scripting
PPTX
Linux booting Process
PDF
Introduction to the linux command line.pdf
PPT
Linux command ppt
PDF
Architecture Overview: Kubernetes with Red Hat Enterprise Linux 7.1
PPTX
Linux kernel
PDF
Red Hat Linux Certified Professional step by step guide Tech Arkit
PPTX
Linux basic commands
Ansible Tutorial For Beginners | What Is Ansible And How It Works? | Ansible ...
Kernel module in linux os.
Case study linux
Linux fundamentals
Quick Guide with Linux Command Line
Bash Shell Scripting
Spectrum Scale Best Practices by Olaf Weiser
Platz da! Platz schaffen auf dem Domino Server - Vortrag von Ulrich Krause be...
Introduction to Linux Kernel by Quontra Solutions
A practical guide to buildroot
Shell scripting
Linux booting Process
Introduction to the linux command line.pdf
Linux command ppt
Architecture Overview: Kubernetes with Red Hat Enterprise Linux 7.1
Linux kernel
Red Hat Linux Certified Professional step by step guide Tech Arkit
Linux basic commands
Ad

Similar to linux software architecture (20)

PPTX
Linux@assignment ppt
PPTX
Linux os
PPTX
os linux
PDF
Linux kernel Architecture and Properties
PPSX
linux kernel overview 2013
PPT
linux system and network administrations
PDF
Linux kernel architecture
PPTX
Cha-2- Software Maintenance Part-2.gghgpptx
PDF
CS8493-OS-Unit-5.pdf
PDF
Linux for embedded_systems
PDF
Cs8493 unit 5
PPT
Linux architecture
PDF
Linux kernel architecture
PDF
Linux Tech Info with lot's of information
PPTX
Operating Systems & Applications
PPT
PPTX
introduction to Linux operating system .pptx
PPTX
Linux – an introduction
PDF
Architecture Of The Linux Kernel
PDF
Architecture Of The Linux Kernel
Linux@assignment ppt
Linux os
os linux
Linux kernel Architecture and Properties
linux kernel overview 2013
linux system and network administrations
Linux kernel architecture
Cha-2- Software Maintenance Part-2.gghgpptx
CS8493-OS-Unit-5.pdf
Linux for embedded_systems
Cs8493 unit 5
Linux architecture
Linux kernel architecture
Linux Tech Info with lot's of information
Operating Systems & Applications
introduction to Linux operating system .pptx
Linux – an introduction
Architecture Of The Linux Kernel
Architecture Of The Linux Kernel
Ad

Recently uploaded (20)

PDF
Insiders guide to clinical Medicine.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Classroom Observation Tools for Teachers
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
master seminar digital applications in india
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Institutional Correction lecture only . . .
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Lesson notes of climatology university.
Insiders guide to clinical Medicine.pdf
TR - Agricultural Crops Production NC III.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Classroom Observation Tools for Teachers
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
master seminar digital applications in india
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
2.FourierTransform-ShortQuestionswithAnswers.pdf
Pharma ospi slides which help in ospi learning
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
O5-L3 Freight Transport Ops (International) V1.pdf
PPH.pptx obstetrics and gynecology in nursing
Institutional Correction lecture only . . .
STATICS OF THE RIGID BODIES Hibbelers.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Final Presentation General Medicine 03-08-2024.pptx
human mycosis Human fungal infections are called human mycosis..pptx
01-Introduction-to-Information-Management.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Lesson notes of climatology university.

linux software architecture

  • 1. A PAPER PRESENTATION ON SOFTWARE ARCHITECTURE OF LINUX
  • 2. WHAT IS INSIDE 1 Introduction 2 Need of the study of Software Architecture 3 System Structure 4 Subsystem Inspection 5 Future Work 6 References
  • 3. INTRODUCTION Linus B. Trovalds wrote the Linux Kernel in 1991. Free and Open Source A Unix compatible system Originally developed to run on the Intel 80386
  • 4. Need for the Software Architecture Study Enhance communication among stakeholders of the system Support for earlier design decisions. Understand transferable abstraction of a system Software maintenance Exploit the FOSS utilities. To extend, remove, change,modify functionality of an existing system.
  • 5. Linux System Structure Criticism-“Linux kernel is useless by itself,it participates as one layer in the overall system.” Within the kernel layer Linux has 5 major subsystems.  Process Scheduler  Memory Manager  Virtual File System  Network interface  Inter process communication
  • 7. Sub System Inspection - Process Scheduler It is the heart of Linux Operating System Functions:  Allows processes to make new copies.  Scheduling  Interrupt Handling  Loading, Executing and Terminating of processes.  Timer Management  Support for Dynamically loaded modules.
  • 9. Sub System Inspection –Memory Manager Provides: Large address space Protection Memory mapping Fair access to Physical memory Shared Memory Memory Manager abstracts details of all hardware platforms into one common interface. It maps virtual addresses to physical memory addresses. It also swaps out processes to allow system to execute processes that use more physical memory than available on the system. Daemon threads
  • 11. Subsystem Inspection: Virtual File System Linux supports: Multiple hardware devices Multiple logical File System Multiple Executable Formats Homogenity Performance Safety Security
  • 12. Subsystem Inspection: Virtual File System The FS of Linux has 2 conceptual layers 1. Device Driver Layer 2. Virtual File system Add new Device Driver by simply implementing the abstract interface, Use of Buffer Cache for optimized Performance. Data Transfer can takes place by 1.Polling 2.DMA 3.Interrupts To support Virtual FS Linux has inodes.It makes all files appear the same to other Linux subsystems
  • 14. Subsystem Inspection:Inter Process Communication Concurrent Execution of processes for *Resource Sharing *Synchronization *Exchange of data Linux provides following forms of IPC -Signals -Wait Queues -File Locks -Pipes and Named Pipes System VIPC:
  • 16. Subsystem Inspection- Network Interface Linux supports network connections between machines and socket communication model.  2 types of sockets are identified -BSD sockets -INET sockets  BSD abstracts the communication details to a common interface. This provides greater portability  Linux provides two transfer layer protocols  UDP  TCP  INET sits on top of both IP and Transport Protocol.
  • 17. Subsystem Inspection-Network Interface Three types of connections -Serial Line connections -Parallel Line connections -Ethernet connections An address Resolver (ARP)is responsible for converting the IP addresses into physical ones. This is necessary as sockets deal with IP addresses which cannot be directly used by hardware devices.
  • 19. Conclusion Linux has since been ported to more computer hardware platforms than any other operating system. It is a leading operating system on servers and other big iron systems such as mainframe computers and supercomputers more than 90% of today's 500 fastest supercomputers run some variant of Linux . Linux also runs on embedded systems such as mobile phones, tablet computers, network routers, televisions and video game consoles the Android system in wide use on mobile devices is built on the Linux kernel. Typically Linux is packaged in a format known as a Linux distribution for desktop and server use. Some popular mainstream Linux distributions include Debian , Fedora and openSUSE.
  • 20. Future Work Conceptual Architecture shows few dependencies among the components than concrete architecture The PBS tools should be adjusted to handle the Linux source structure. The conceptual and concrete architectures we have presented should be refined through discussions with the Linux developer community. After refinement, the two models can be compared using the Reflexion model [Murphy 1995].
  • 21. References [Balasubramanian 1993] Balasubramanian, K. and Johnson D.: "Linux Memory Management Overview," The Linux Kernel Hacker’s Guide, http://www.redhat.com:8080/hypernews/get/memory/memory.html [Tanuan 1998] Tanuan,M.: "An Introduction to the Linux Operating System Architecture", http://www.grad.math.uwaterloo.ca/~mcta Sahun Siddiqi,Meyer Tanaun,Ivan Bowman: “Concrete Architecture of Linux”
  • 22. LINUX- powerful. open source. secure