Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
14 views
differnce betweeen
All difference between of ACN
Uploaded by
sr5824241
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save differnce betweeen For Later
Download
Save
Save differnce betweeen For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
14 views
differnce betweeen
All difference between of ACN
Uploaded by
sr5824241
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save differnce betweeen For Later
Carousel Previous
Carousel Next
Save
Save differnce betweeen For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 14
Search
Fullscreen
Features Multiprogramming | Multitasking Basic It allows multiple | A supplementary of the programs to utilize | multiprogramming the CPU | system also allows for simultaneously. user interaction. Mechanis | Based on the context} Based on the time- m switching sharing mechanism. mechanism. Objective | It is useful for It is useful for running reducing/decreasing multiple processes at theCPU idle time and| same time, effectively increasing increasing CPU and throughput as much | system throughput. as possible. Execution | When one job or/In a _ multiprocessing process completes its | system, multiple execution or switches | processes can operate to an I/O task in a | simultaneously by multi-programmed allocating the CPU for a system, the system | fixed amount of time. momentarily suspends that process. It selects another process from the process scheduling pool (waiting queue) to run. CPU In a multiuser | In a single-user Switching | environment, the | environment, the CPU CPU switches | switches between the between processes of various programs/processes | programs. quickly. Timing It takes maximum | It takes minimum time to time to execute the process. execute the process.Parameters Paging Segmentation Individual In Paging, we break a [In the case of Memory process address space | Segmentation, we break into blocks known as | a process address space pages. into blocks known as sections/segments. Memory Size |The pages are blocks | The _ sections/segments of fixed size. are blocks of varying sizes. Accountability The OS divides the available memory into individual pages. The compiler _ mainly calculates the size of individual segments, their actual address as well as virtual address. ‘Speed This technique is comparatively much faster in accessing memory. This technique is comparatively much slower in ing memory than Paging. Size The available memory determines the individual page sizes. The user determines the individual segment sizes. Fragmentation The Paging technique may underutilize some of the pages- thus The Segmentation technique may not use some_of the memoryProcess Thread Definition A process is a A thread is a lightweight program under process that can be execution i.e, an active | managed independently program. by a scheduler, Running Processes run in Threads within the same mechanism | separate memory process run in a shared spaces. memory space. Process is heavy It is a lightweight process Concept weight and any and a segment of a program is in process. execution. PCB The process has its Thread has Parents’ PCB, own Process Control | its own Thread Control Block, Stack, and Block, and Stack and Address Space. common Address space. Context Context switching Context switching Switching between the process between threads of the is more expensive same process is less expensive Dependency | Processes are Threads are dependent independent. Controlling | Process is controlled Threads are controlled by by the operating system. programmer in a programSr. Long Term Scheduler Short Term Scheduler No 1 It is job scheduler Itis CPU scheduler 2 It selects processes from job | It sclects processes from pool and loads them into | ready queue which are ready memory for execution to execute and allocates CPU to one of them 3. | Access job pool and ready} Access ready queue and queue CPU 4 |It executes much less| It executes frequently. It frequently. It executes when | executes when CPU is memory has space to | available for allocation accommodate new process. 5 Speed is less than short term | Speed is fast scheduler 6 | It controls the degree of It provides lesser control multiprogramming over degree of multiprogramming 7 It chooses a good process It chooses a new process for that is a mix-up of input/output bound and CPU bound. a processor quite frequently.Parameter Command Line Graphic User Interface(CLI) Interface(GUI) Definition | Interaction is by | Interaction with devices is by typingcommands | graphics and —_visual components and icons Understan | Commands need to | Visual indicators and icons ding be memorized are easy to understand Memory | Less memory is | More memory is required as required for storage | visual components are involved. Working | Use of keyboard for | Use of mouse for interaction Speed commands makes | makes it slow CLI quicker. Resources | Only keyboard Mouse and keyboard both used can be used Accuracy | High Comparatively low Flexibility | Command line | Structure and design can interface does not | change with updates change, remains same over timeShort Job First (SJF) Shortest Remaining Time (SRTN) It is anon-preemptive algorithm. It is a preemptive algorithm. It involves less overhead than SRJF. Tt involves more overheads than SJF. It leads to comparatively lower throughput. It leads to increased throughput as execution time is less. It minimizes the average waiting time for each process. It may or may not minimize the average waiting time for each process. It involves lesser number of context switching. It involves higher number of context switching. Short processes are executed Shorter processes run fast and first and then followed by longer processes show poor longer processes. response time. Linux Unix Linux is an example of Open | Unix is an operating system that is very ‘What is it? | Source software development and| popular in universities, companies, big Free Operating System (OS). | enterprises etc. Linu can be freely distributed, downloaded frecly, distributed Cost through magazines, Books etc. | Different flavors of Unix have different * ‘There are priced versions for cost structures according to vendors Linux also, but they are normally ‘cheaper than Windows. Unix operating systems were developed mainly for mainframes, servers and Everyone. From home usersio | Workstations except OSX, Which is User developers and computer designed for everyone. The Unix nals He environment and the client-server enthusiasts all program model were essential elements in the development of the InternetLinux kemel is developed by the Three bigest distributions are Solaris (Oracle), AIX (IBM) & HP-UX Hewlett Manufacturer | community. Linus Torvalds Packard. And Apple Makes OSX, an oversees things. unix based os.. Tink can Be installed on a Wide |r par operating eystem is used in Variety of computer hardware, | 7 Operating systerm “ internet servers, workstations & PCs. ranging from mobile phones, thle tcrcand video game | Backbone of the majority of finance Usage comput infastructure and many 24x365 high consoles, to mainframes and al ccluts supercomputers. ty solutions. Tinux is developed By Open Source development ie. through : ‘into-various Development | sharing and collaboration of code Ueix epstems ore vetlowe oy and and features through forums ete * favors, mostly developed by Distribution | and itis distributed by various | ATT s well as various commercial oe vendors and non-profit organizations, Linux typically provides wo GUIs, KDE and Gnome. But there} Initially Unix was a command based OS, cut ‘are millions of alternatives such | but later a GUI was created called as LXDE, Xfce, Unity, Mate, | Common Desktop Environment. Most tw, ect. distributions now ship with Gnome, Fie Ext, Ee, Exid, is, ReiserFS, ie system Xfs, Burfs, FAT, FAT32, NTFS | jf, gpfs, hfs, hfs*, ufs, xfs, zfs format BASH (Bourne Again Selyis | __ - Text mode the Linux default shell. It can Originally the Bourne Shell. Now it's compatible with many others including interface BASH, Kom &C. ba |, | Some free for development use (Solarisy Price Free but support is available for a | 9 support is available for a price. Tinux has had about 60-100 Viruses listed till date. None of | A rough estimate of UNIX viruses is Security them actively spreading between 85 -120 viruses reported till nowadays. date.Paging ‘Paging divides the computers primary memory into fixed-size units called page frames, and the program's address space ‘into pages of the same size. Segmentation Segmentation is the only memory management technique that does not provide the user's program with a ‘linear and contiguous address space.” The — hardware memory ‘unit maps pages to frames. management ‘Segments are areas of memory that usually correspond to a logical grouping of information such as a code procedure or a data array. ‘The physical memory ean be allocated om a page basis while the address space appears ‘contiguous, Segments require hardware support im the form of asegment tablewhich usually contains the physical address of the segment in memory, its size, and other data such as access pratection bits and status ‘Pages are used for swapping or managing memory. ‘Small pieces called segments are used for memory management. ‘Page is indicated by its number and offset, Segment is indicated by segment number and its offset ‘Page table is formed ‘Segment table is formed, ‘Do not support user's view of memory. CRITERIA LINUX, User interface Linux typically provides Jnitially Unix was a command two GUIs, KDE and OS, but later a GUI was Gnome. But there are Common millions of alternatives Environment. Most such as LXDE, Xfee, istributions now ship with Unity, Mate, twm, ect. JName of Provider | Redhat, Ubantuu, Fedora sx, Solaris, All LINUX Low: AS it is GUI based [Migh: As it is command based processing time is more as irect interpretation —_of | JProcessing speed | compare to UNIX. is done so it takes [None of than actively & spreading nowadays,Multitasking ‘Multiprogramming, T [The process of executing multiple numbers of tasks simultaneously or concurrently is known as multitasking. The process of exccuting multiple numbers of Programs simultaneously or concurrently is ‘known as multiprogramming. ‘2 | Task is smallest unit of operation. ‘Program is larger unit of operation. 3 _| Tasks de not contain programs. Program may contain muliple numbers oF tasks. 7 _| User interaction i= provided. Thee is no wer Gnlevaction to individual program. 3 [lim multitasking there are two types of labels, i. Foreground and Background, Tn muliiprogramming there are only programs. © | Wutihzes CPU ctiicicatly. Tr wllizes CPU as well as UO devices ‘Contiguous memory allocation faked memory allocation ‘Contiguous allocation requires that cach file ‘occupy a set of contiguous blacks on the disk. ‘Data structures are coanevied by a seties oF nades. Directory contains filename, starting block number and offset Dircclory contains filename, pointer to starting block and ending block Suffers from external fragmentation There isno external fragmentation ‘Very dififtclt to find contiguous blocks af space “Any free blocks can be added to a chain: ‘Support direct access ‘Cannot suppor direct access Size of fie declared at sat Size of file need not be declared atsiart. Tnsertions and deletions are difficult. Tnsertions and deletions can be done easily.‘Memory space required for pointer Iedivides the physical memoryinto frames and program's address space into same size pages. Segmentati It divides the Computer's physical memory and program's address space into segments. Page is always of fixed block size. Segments of variable size. The size of the page is specified by the hardware. The size of the segment is specified by the user. It may lead to internal fragmentation as the page is of fixed block size. It may lead to External fragmentation as the memory is filled with the variable sized blocks. Page table is used to map pages with frames from memory. Segment table is used to map segments with physical memory. Page table contains page number | Segment table contains segment and frame number. number, length of segment and base address of segment from memory. Invisible to Programmer Visible to programmer Paging consist of Staticlinking & | Segment consist of Dynamic dynamic loading Linking & Dynamic Loading ‘A page is of physical unit A page is of logical unitPre-emptive Scheduling Non Pre-emptive Scheduling Even if CPU is allocated to one process, CPU can be preempted to other process if other process is having higher priority or some other fulfilling criteria. ‘Once the CPU has been allocated to a process the process keeps the CPU until it releases CPU either by terminating or by switching to waiting state. Throughput is less Throughput is high. ‘Only the processes having higher Processes having any priority can get scheduled. Ittreats all process as equal Algorithm design is complex. Algorithm design is simple Circumstances for preemptive (i) Process switch from running to ready state {ii) Process switch from waiting to ready state Circumstances for Non-preemptive Process switches from running to waiting state Process terminates For eg: Round Robin, Priority Algorithms For e.g.: FCFS AlgorithmMonolithic OS Microkeme!l OS ‘The entire 0.5. is placed inside the kernel ‘Only bare minimum code is placed inside the kernel (only basic memory management and Inter Process Communication code) It runs asa single large process. Here the kernel is broken down into processes called as servers As all the services are placed inside the kemel, they have a single address space ‘As services (Servers provide services) are separated they have different address spaces itis easy to implement/code itis tough to implement/code Performance is high (As kernel can invoke any function directly as everything is placed in the keel} Less Secure (if one service fails, entire system crashes) Jowers the performance) Performance is low (AS servers are separated, so to invoke services from other servers IPClInter Process Communication) is needed which requires kernel's permission and thus increases access time and More Secure (Even if one service crashes, others can function properly because of separation) aSr. Monolithic operating Microkernel operating No. system structure system structure L_| Kernel size is large Kemel size is small 2 | OS is complex to design OS is easy to design, install and implement 3_| Fast execution Slow execution: 4° ‘| All operating system services [Kemel provides only IPC are included in kernel and low level 5 [No message passing, no |It requires message passing context switching required | and context switching while kemel is performing jobs. 6 | Ttis hard to extend Itis easy to extend
You might also like
GCE Advanced Level - ICT - OPERATING SYSTEM
PDF
100% (1)
GCE Advanced Level - ICT - OPERATING SYSTEM
28 pages
Open Source Software - Question Bank (Anna University - Coimbatore)
PDF
87% (15)
Open Source Software - Question Bank (Anna University - Coimbatore)
35 pages
Osy Diff
PDF
No ratings yet
Osy Diff
5 pages
GUI (Graphical User Interface)
PDF
No ratings yet
GUI (Graphical User Interface)
24 pages
Overview of PC Operating System: LI Xiang Telecommunication Division, NMC, China E-Mail: Lixiang@cma - Gov.cn
PDF
No ratings yet
Overview of PC Operating System: LI Xiang Telecommunication Division, NMC, China E-Mail: Lixiang@cma - Gov.cn
19 pages
@vtucode - in BCS515C Module 1 PDF
PDF
No ratings yet
@vtucode - in BCS515C Module 1 PDF
31 pages
Introduction To Unix1
PDF
No ratings yet
Introduction To Unix1
65 pages
OS
PDF
No ratings yet
OS
8 pages
Osy Diff PDF
PDF
No ratings yet
Osy Diff PDF
2 pages
Os Case Study
PDF
No ratings yet
Os Case Study
9 pages
Linux Case Study
PDF
No ratings yet
Linux Case Study
13 pages
Ca2
PDF
No ratings yet
Ca2
8 pages
OSS 2marks With Answer
PDF
100% (3)
OSS 2marks With Answer
39 pages
Unix Operating Systems
PDF
No ratings yet
Unix Operating Systems
11 pages
Wk1b Linux Operating System
PDF
No ratings yet
Wk1b Linux Operating System
19 pages
Lec 3
PDF
No ratings yet
Lec 3
21 pages
Adewale
PDF
No ratings yet
Adewale
59 pages
UNIX Internals: Rohit Jnagal
PDF
No ratings yet
UNIX Internals: Rohit Jnagal
36 pages
Linux Internals and Networking
PDF
100% (1)
Linux Internals and Networking
177 pages
Os File
PDF
No ratings yet
Os File
57 pages
Case Study - LinuxSystem - Rollno04
PDF
No ratings yet
Case Study - LinuxSystem - Rollno04
27 pages
A Case Study On The Linux System: Dipika Upadhaya ROLLNO:04/076
PDF
No ratings yet
A Case Study On The Linux System: Dipika Upadhaya ROLLNO:04/076
27 pages
Os PPT
PDF
No ratings yet
Os PPT
30 pages
Operating System Basic Concepts
PDF
No ratings yet
Operating System Basic Concepts
19 pages
Os Important Topic
PDF
No ratings yet
Os Important Topic
16 pages
Mca - 301: Linux Programming: Objectives
PDF
100% (1)
Mca - 301: Linux Programming: Objectives
17 pages
Linux Material
PDF
No ratings yet
Linux Material
111 pages
Os 1
PDF
No ratings yet
Os 1
32 pages
Operating System
PDF
No ratings yet
Operating System
3 pages
LEC 3
PDF
No ratings yet
LEC 3
21 pages
1.10 Hardware Requirements For Linux Fedora
PDF
No ratings yet
1.10 Hardware Requirements For Linux Fedora
5 pages
Unix Architecture
PDF
No ratings yet
Unix Architecture
14 pages
Case Study : Linux Operating System
PDF
No ratings yet
Case Study : Linux Operating System
8 pages
Unix
PDF
No ratings yet
Unix
16 pages
chapter 1 unix
PDF
No ratings yet
chapter 1 unix
19 pages
LINUX MODULE-1 - New
PDF
No ratings yet
LINUX MODULE-1 - New
66 pages
Linux Basic
PDF
No ratings yet
Linux Basic
37 pages
UNIX Mod1@AzDOCUMENTS - in
PDF
No ratings yet
UNIX Mod1@AzDOCUMENTS - in
31 pages
Introduction To UNIX
PDF
No ratings yet
Introduction To UNIX
39 pages
season-0-ep-06-os
PDF
No ratings yet
season-0-ep-06-os
20 pages
Ch1.IntroductionToUNIX 31 (1)
PDF
No ratings yet
Ch1.IntroductionToUNIX 31 (1)
31 pages
pankaj (3)
PDF
No ratings yet
pankaj (3)
4 pages
Basics of Operating Systems: Drnmpatel Associate Professor Computer Engineering Department BVM Engineering College
PDF
No ratings yet
Basics of Operating Systems: Drnmpatel Associate Professor Computer Engineering Department BVM Engineering College
63 pages
OSY-PT1
PDF
No ratings yet
OSY-PT1
26 pages
Operating Systems
PDF
No ratings yet
Operating Systems
62 pages
OS Full Notes
PDF
No ratings yet
OS Full Notes
42 pages
LGLinux 1 PDF
PDF
No ratings yet
LGLinux 1 PDF
149 pages
Qadiyani Shubhat Ke Jawabat - 1 by SHEIKH ALLAH WASAYA
PDF
No ratings yet
Qadiyani Shubhat Ke Jawabat - 1 by SHEIKH ALLAH WASAYA
208 pages
Sns College of Technology Sns College of Technology Sns College of Technology Sns College of Technology
PDF
No ratings yet
Sns College of Technology Sns College of Technology Sns College of Technology Sns College of Technology
41 pages
Red Hat and Debianare Are Popular Distributions From Commercial and Noncommercial
PDF
No ratings yet
Red Hat and Debianare Are Popular Distributions From Commercial and Noncommercial
19 pages
Sajal Sanjana PDF
PDF
No ratings yet
Sajal Sanjana PDF
7 pages
The Linux System: Speaker: Bilal Ahmad
PDF
No ratings yet
The Linux System: Speaker: Bilal Ahmad
39 pages
Linux Operatig System
PDF
No ratings yet
Linux Operatig System
20 pages
Assignment Cs 1 (1) 3 (1) 4
PDF
No ratings yet
Assignment Cs 1 (1) 3 (1) 4
25 pages
RTOS Material
PDF
No ratings yet
RTOS Material
21 pages
Linux Operatig System
PDF
No ratings yet
Linux Operatig System
21 pages
Data Storytelling
PDF
No ratings yet
Data Storytelling
15 pages
DOC-20241211-WA0015.
PDF
No ratings yet
DOC-20241211-WA0015.
14 pages
DOC-20241210-WA0002.
PDF
No ratings yet
DOC-20241210-WA0002.
9 pages
DOC-20241206-WA0004.
PDF
No ratings yet
DOC-20241206-WA0004.
16 pages
DOC-20241209-WA0002.
PDF
No ratings yet
DOC-20241209-WA0002.
13 pages
DWM CHP4 Question
PDF
No ratings yet
DWM CHP4 Question
1 page
DWM CHP2 QB solution
PDF
No ratings yet
DWM CHP2 QB solution
9 pages
DWM CHP1 NOTES
PDF
No ratings yet
DWM CHP1 NOTES
25 pages
Dwm Chp2 Notes
PDF
No ratings yet
Dwm Chp2 Notes
21 pages
Acn Chapter 5 w19 w23
PDF
No ratings yet
Acn Chapter 5 w19 w23
23 pages
OSY MSBTE CHP4
PDF
No ratings yet
OSY MSBTE CHP4
10 pages
ACN MSBTE CHP2
PDF
No ratings yet
ACN MSBTE CHP2
8 pages
Chapter 5 Ans w19 w23
PDF
No ratings yet
Chapter 5 Ans w19 w23
20 pages