Introducing: Free/Open Source Software Distributed Systems Real Time Systems and Multimedia Systems

Similar documents
Chapter 20: Multimedia Systems

Chapter 20: Multimedia Systems. Operating System Concepts 8 th Edition,

Chapter 19: Real-Time Systems. Operating System Concepts 8 th Edition,

Free as in Freedom A step towards Software freedom. Salahaddin University By: Amanj Sherwany

Module 16: Distributed System Structures. Operating System Concepts 8 th Edition,

Module 16: Distributed System Structures

MONTHLY TEST MAY 2017 QUESTION BANK FOR AVERAGE STUDENTS. Q.2 What is free software? How is it different from Open Source Software?

Distributed System Chapter 16 Issues in ch 17, ch 18

Chapter 17: Distributed Systems (DS)

Module 15: Network Structures

Chapter 01: Introduction to Linux

Distributed Systems. Overview. Distributed Systems September A distributed system is a piece of software that ensures that:

Agenda. Introduction Market trend and application 1394 Market Analysis Data 1394 and industry Applications. Other Technologies USB DVI

History of Unix, Linux and the Open Source

Lecture 9: MIMD Architecture

OPEN SOURCE SOFTWARE

Topic 1- The Basic Knowledge of Open Source and Free Software

Using Kollective with Citrix Virtual Desktop Infrastructure (VDI)

Distributed Systems COMP 212. Lecture 18 Othon Michail

Lecture 9: MIMD Architectures

Delivering Effective Solutions in the Age of Open Source Technology

Lecture 11: Networks & Networking

Intro to FOSS. What is FOSS?

Introduction to Operating System

Distributed Multimedia Systems. Introduction

SMD149 - Operating Systems - Multiprocessing

Overview. SMD149 - Operating Systems - Multiprocessing. Multiprocessing architecture. Introduction SISD. Flynn s taxonomy

HETEROGENOUS COMPUTE IN A QUAD CORE CPU

HKG18-TR01: Open Source Philosophy. Daniel Lezcano

CS420: Operating Systems

Linux Applications and Software Licensing. Linux System Administration COMP2018 Summer 2017

Lecture Topics. Announcements. Today: Advanced Scheduling (Stallings, chapter ) Next: Deadlock (Stallings, chapter

Solace JMS Broker Delivers Highest Throughput for Persistent and Non-Persistent Delivery

Lecture 9: MIMD Architectures

Multiprocessor and Real- Time Scheduling. Chapter 10

Distributed Operating Systems Spring Prashant Shenoy UMass Computer Science.

CS108 Software Systems: UNIX. Fall 2011

FAQ FOR VMWARE SERVER 2 - AUGUST, 2008

Design and Test Solutions for Networks-on-Chip. Jin-Ho Ahn Hoseo University

Department of Computer Science Institute for System Architecture, Operating Systems Group REAL-TIME MICHAEL ROITZSCH OVERVIEW

MOC 6420A: Fundamentals of Windows Server 2008 Network and Applications Infrastructure

Envivio Mindshare Presentation System. for Corporate, Education, Government, and Medical

Veloce2 the Enterprise Verification Platform. Simon Chen Emulation Business Development Director Mentor Graphics

CS370 Operating Systems

CS4513 Distributed Computer Systems

Foundations of Software Engineering. Lecture 24: Open Source Claire Le Goues

High Performance Computing Course Notes Course Administration

Next-Generation Cloud Platform

Lecture 17: Distributed Multimedia

When Do Real Time Systems Need Multiple CPUs?

MULTIPROCESSORS AND THREAD-LEVEL. B649 Parallel Architectures and Programming

Module 20: Multi-core Computing Multi-processor Scheduling Lecture 39: Multi-processor Scheduling. The Lecture Contains: User Control.

MULTIPROCESSORS AND THREAD-LEVEL PARALLELISM. B649 Parallel Architectures and Programming

i-vu Pro v6.5 client, server, operating system, and database requirements

Distributed Operating Systems Fall Prashant Shenoy UMass Computer Science. CS677: Distributed OS

Ethics. Ethics. Ethics. Ethics. The issue of software ownership. The issue of software ownership. Programmers and the Hacker mentality.

Enterprise Linux vs. Embedded Linux

Diffusion TM 5.0 Performance Benchmarks

9/8/2016. Characteristics of multimedia Various media types

Introduction to Operating Systems. Note Packet # 1. CSN 115 Operating Systems. Genesee Community College. CSN Lab Overview

This slide is relevant to providing either a single three hour training session or explaining how a series of shorter sessions focused on per chapter

Communication in Distributed Systems

Mobile Application Support

Chapter 3 Computer Software

2- Computer Essentials

KEY BENEFITS OF A TIKILIVE NETWORK

THE IMPACT OF E-COMMERCE ON DEVELOPING A COURSE IN OPERATING SYSTEMS: AN INTERPRETIVE STUDY

Distributed Systems - I

Open Source Software. International Open Access Week at the

Linux multi-core scalability

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

Embedded Systems. 6. Real-Time Operating Systems

Kaspersky Security Center 10

Dr Markus Hagenbuchner CSCI319 SIM. Distributed Systems Chapter 4 - Communication

LINUX INTERNALS & NETWORKING Weekend Workshop

Chapter 1: Introduction

HPCA 18. Reliability-aware Data Placement for Heterogeneous memory Architecture

Fundamentals of Windows Server 2008 Network and Applications Infrastructure

Fouad Riaz Bajwa. Co-Founder & FOSS Advocate FOSSFP - ifossf International Free and open Source Software Foundation, MI, USA.

Scaling-Out with Oracle Grid Computing on Dell Hardware

238P: Operating Systems. Lecture 14: Process scheduling

Client Server & Distributed System. A Basic Introduction

Open Source Licensing: An Overview

Free & Open Source Software: The Academic Future

3. Quality of Service

ECE519 Advanced Operating Systems

The Collaboration Cornerstone

Outline. Distributed Computing Systems. The Rise of Distributed Systems. Depiction of a Distributed System 4/15/2014

T Multimedia Programming. Different Operating Systems and their Multimedia Support

Session: Oracle RAC vs DB2 LUW purescale. Udo Brede Quest Software. 22 nd November :30 Platform: DB2 LUW

The basic knowledge of open source and free software- Topic 1 & OSS in perspective- Topic 2. Parastoo Mohagheghi, 26 August 2010.

CPU Scheduling. Operating Systems (Fall/Winter 2018) Yajin Zhou ( Zhejiang University

Introduction to Distributed Systems. INF5040/9040 Autumn 2018 Lecturer: Eli Gjørven (ifi/uio)

Open Source Call Centres

IST346. Data Storage

Technology solution provider focused on Video and Test Orchestration solution Developing a Video Solution for Enterprise / Surveillance Application

Introduction Distributed Systems

02 - Distributed Systems

Open Source Development. Ely Levy Yair Yarom

OFA Developer Workshop 2014

Transcription:

Introducing: Free/Open Source Software Distributed Systems Real Time Systems and Multimedia Systems Rahmat M. Samik Ibrahim VauLSMorg 1 Ver. 2013 05 14 rev 02

References 1 (Cut&Pasted) 2 Beberg, Distributed Systems: Computation With a Million Friends (and a few Foes), EE380, Stanford University, 2008. FSF, What is Free Software, www.gnu.org, accessed on 12 May 2013. Haridi, Introduction to Distributed Systems Jayaswal, Administerting Data Centers, Wiley, 2001.

References 2 (Cut&Pasted) 3 Microchip, Concepts of Real Time Systems, WebSeminar, accessed on 10 May 2013. OSI, The Open Source Definition, www.opensource.org, accessed on 12 May 2013. Silberschatz, et.al., Operating Systems Concepts, 9th Ed, 2012., Wikipedia: The Free Encyclopedia, Wikipedia Foundation, accessed on 12 13 May 2013.

Topics Free/Open Source Software Distributed Systems Real Time Systems Multimedia Systems 4

Topic #1 Free/Open Source Software Topic #1: Free/Open Source Software Topic #2: Distributed Systems Topic #3: Real Time Systems Topic #4: Multimedia Systems 5

Sub Agenda Introduction License Free Software Open Source Software Free Software vs. Open Source Software Popular F/OSS Licenses Success Stories 6

Guess: are these following free? 7 Microsoft Windows Microsoft Internet Explorer Mozilla Firefox GNU/Linux LibreOffice Public Domain Shareware Freeware

Is it Free Software IF you can: use for non commercial usage only. download it from the internet for free. have the source code of the software charge a fee to development charge a fee to distribute use it for illegal activities 8

License 9 A license agreement is needed for using a software (do s and don't s): Can you use it? Can you copy and redistribute it? Can you modify it? Can you transfer the license? Is it viral? allows derivative works only when licensed identically to the original

Free Software about liberty FREE like in free speech not like FREE in free gift A matter of the users' freedom to run, copy, distribute, study, change and improve the software. 10

Four Essential Freedoms 0) To run the program, for any purpose. 1) To study how the program works, and adapt it to your needs (needs source code). 2) To redistribute copies/ help neighbor. 3) To improve the program, and release the improvements to the public, so that the whole community benefits (needs source code). 11

The Open Source Definition (1) Free Redistribution Source Code Derived Works Integrity of The Author's Source Code No Discrimination Against Persons or Groups 12

The Open Source Definition (2) No Discrimination Against Fields of Endeavor Distribution of License License Must Not Be Specific to a Product License Must Not Restrict Other Software License Must Be Technology Neutral 13

Free = Open Source? All religions are one!? Free Software (FSF, 1985) four point definition Open Source Software (OSI, 1998) ten point definition guarantee a certain set of freedoms. but, different words convey different ideas 14

Free Software vs. Open Source 15 Open Source Software a development methodology non free software is a sub optimal solution. Free Software: a social movement non free software is a social problem Free software is the solution!

Popular F/OSS Licenses 16 Apache License 2.0 BSD 3 Clause "New" or "Revised" license Common Development and Distribution License GNU General Public License (GPL) MIT license GNU Library or "Lesser" General Public License (LGPL) Microsoft Public License Mozilla Public License 2.0 Nokia Open Source License PHP License 3.0

Success Stories (1) 17 Red Hat Founded in 1993 Product: Red Hat Enterprise Linux F/OSS for the enterprise community The Fedora Project sponsor the first one billion dollar FOSS company (2012) Minority owners: Intel, Netscape (Mozilla), HP, IBM, Dell, Novell.

Success Stories (2) 18 Ubuntu Linux/Canonical Ltd. Founded in 2004 A fork of Debian with a 6 months release cycle Most popular Linux Distribution for desktop/laptop A distribution for laymen A US$ 30 million company (2009)

End of Topic #1 Free/Open Source Software 19

Topic #2 Distributed Systems Topic #1: Free/Open Source Software Topic #2: Distributed Systems Topic #3: Real Time Systems Topic #4: Multimedia Systems 20

Sub Agenda Introduction Definition Issues Distributed Operating Systems Network Model Robustness Design Issues Consolidation 21

A Distributed System is collection of loosely coupled processors interconnected by a communications network Silberschatz et. al. one in which the failure of a computer you didn't even know existed can render your own computer unusable. Leslie Lamport. 22

A Distributed System is 23 a set of nodes, connected by a network, which appear to its users as a single coherent system. Haridi Clients & Servers

Cleaning 8 Windows 24

Cleaning By 4 25

How about this? 26

Why Distributed Systems? Resource Sharing Computation Speedup 27 Spreading the load Reliability Most everything is now connected One is down, others can take over Communication

Central vs. Distributed SLA Untrusted systems Reliable Unstable Homogeneous Heterogeneous Trusted Distrusted Cost=Money Cost=Time 28

Issues Improve Scalability Reliability Tandem System Inherent Distribution 29 Concurency: web/mail server

Types of Distributed OS Network Operating Systems Distributed Operating Systems 30 Users are aware of multiplicity of machines (more difficult) Users are not aware of multiplicity of machines

Distributed Operating Systems Data Migration Computation Migration Process Migration 31 Load balancing Computation speedup HW/SW preferences Remote Data Access

Wide Area Network 32

ISO Network Model 33

TCP/IP vs OSI ISO model 34

Robustness 35 Failure Detection Heatbeat protocol: I am UP/Are you UP? Failure Types: host, link, loss Reconfiguration Notify host/link/loss failure Reconfigure to avoid host/link/loss

The Two Generals' Problem How can G1 synchronize with G2? How can G1 be sure that G2 has received the message? How can G2 be sure that G1 knows that G2 has received the message? GENERAL #1 36 ENEMY GENERAL #2

Design Issue Transparency the distributed system should appear as a conventional, centralized system to the user Fault tolerance the distributed system should continue to function in the face of failure Scalability as demands increase, the system should easily accept the addition of new resources to accommodate the increased demand Consider Hadoop open source programming framework for processing large datasets in distributed environments (based on Google search indexing) Clusters a collection of semi-autonomous machines that acts as a single system 37

Consistency Is locally cached copy of the data consistent with the master copy? Client initiated approach 38 Client initiates a validity check Server checks whether the local data are consistent with the master copy Server initiated approach Server records, for each client, the (parts of) files it caches When server detects a potential inconsistency, it must react

Data Center Consolidation (1) 39

Data Center Consolidation (2) 40

Data Center Consolidation (3) 41

Data Center Consolidation (4) 42

Data Center Consolidation (5) 43

End of Topic #2 Distributed Systems 44

Topic #3 Real Time Systems Topic #1: Free/Open Source Software Topic #2: Distributed Systems Topic #3: Real Time Systems Topic #4: Multimedia Systems 45

Sub Agenda Introduction Characteristics Implementation Schedulling 46

Real Time Systems (RTS) A real-time system requires that results be produced within a specified deadline period. An embedded system is a computing device that is part of a larger system (i.e., automobile, airliner). A safety-critical system is a real-time system with catastrophic results in case of failure. A hard real-time system guarantees that real-time tasks be completed within their required deadlines. A soft real-time system provides priority of real-time tasks over non realtime tasks. 47

RTS Characteristics Single purpose & Small size Inexpensively mass produced Specific timing requirements Designed using system on a chip (SOC) strategy SOC allows the CPU, memory, memory management unit, and attached peripheral ports (i.e., USB) to be contained in a single integrated circuit Not all features found in a standard system 48

RTS Examples 49

RTS Processes 50 Tasks/Processes Have priority Have deadlines Higher priority tasks PREEMPT lower ones (Priority Based Preemption)

Implementing RTS 51 RTS must provide: Preemptive, priority-based scheduling Preemptive kernels Latency must be minimized

RTS CPU Schedulling Periodic processes require the CPU at specified intervals (periods) p is the duration of the period d is the deadline by when the process must be serviced t is the processing time 52

Priority Schedulling 53 P2 has a higher priority than P1

Preemption Example 54

End of Topic #3 Real Time Systems 55

Topic #4 Multi Media Systems Topic #1: Free/Open Source Software Topic #2: Distributed Systems Topic #3: Real Time Systems Topic #4: Multimedia Systems 56

Sub Agenda Introduction Delivery Characteristics Streaming Compression QoS Delivery Methods 57

Introduction 58 Multimedia data includes audio and video clips (i.e., MP3 and MPEG files) live webcasts Multimedia data may be delivered to desktop PC s handheld devices

Media Delivery 59 Data must be accessed with specific timing requirements. Eg. video must be displayed at 24 30 frames per second. Multimedia video data must be delivered at a rate which guarantees 24 30 frames/second Continuous media data is data with specific rate requirements

Characteristics 60 Multimedia files can be quite large Continuous media data may require very high data rates Multimedia applications may be sensitive to timing delays during playback of the media

Streaming 61 Streaming is delivering a multimedia file from a server to a client typically the deliver occurs over a network connection. There are two different types of streaming: Progressive download the client begins playback of the multimedia file as it is delivered. The file is ultimately stored on the client computer. Real time streaming the multimedia file is delivered to but not stored on the client s computer.

Real Time Streaming 62 There are two types of real time streaming: Live streaming used to deliver a live event while it is occurring On demand streaming used to deliver media streams such as movies, archived lectures, etc. The events are not delivered in real time.

Compression 63 Because of the size and rate requirements of multimedia systems, multimedia files are often compressed into a smaller form MPEG Compression: MPEG 1 352 X 240 @ 30 frames/second MPEG 2 Used for compressing DVD and high definition television (HDTV) MPEG 4 Used to transmit audio, video, and graphics. Can be delivered over slow connections (from 56 Kbps)

QoS Guaranteeing QoS has the following effects in a computer system: CPU processing Scheduling File systems Network protocols Levels: 64 Best effort service Soft QoS Hard QoS

Delivery Methods 65 Three general methods for delivering content from a server to a client across a network: Unicasting the server delivers the content to a single client. Broadcasting the server delivers the content to all clients, regardless whether they want the content or not. Multicasting the server delivers the content to a group of receivers who indicate they wish to receive the content

End of Topic #4 Multimedia Systems 66

EOF Thank You! 67