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)
15 views
Operating System Unit-3
unit 3 notes operating system for aktu
Uploaded by
Nikita Chaudhary
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Operating System Unit-3 For Later
Download
Save
Save Operating System Unit-3 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
15 views
Operating System Unit-3
unit 3 notes operating system for aktu
Uploaded by
Nikita Chaudhary
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Operating System Unit-3 For Later
Carousel Previous
Carousel Next
Save
Save Operating System Unit-3 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 11
Search
Fullscreen
a 5 UNIT-3 Procens Concept Oe{Mhition: The program undue execution is Callid the process Th should Juaide fn the malin menor TE In occupied by CPv bb execu the Instruction. Process uall have jolloustng abbributss (hy Procens, tds Tk Is the unigus iduntificadion no. which iy e.ssigned by the 08 ak the Hime 4 proces creation. No tuo proces hove same proces id. GI Proves ata ¢ Tt contains the Gwount stats gf He process wohow It is susiding. Proteas have Niotiows stake tn cchich pavdioulan stots tt is Yesiditng ak a. porkiadaxe time this injorrration 16 provided by the procens state (ii) Pret aon Counkin’s Tk Contains the addvuus of next tstruction to be execubd. (W) Priority J Tk is the pooamdsn cahich is ausigned by the proces that fi medion vill be maintained th gunviat purpose Supls er. (yy Gund purpose Supt’ Truse aru the Sugiaboa Used by thw process to maintain information.(i) Ut of open File. + Thue aru the flW Used by or opened by the process. Thuse {ilu information will be matntained fn te List of open file attribute o} the procens (Wi st of open davies? What au all the devices used or opined by the process , thak fnjormadion will be maintained fn the List 6) open duvice abtribule othe process. Process tn Memory ; Process th a progam fn exeuukion. is sometimes known Od text section. + A process gun abso fnduds Micke | the process stack, which contains y temporary data Caudy os dunt® parameters, retwin address , Local max ioniiabl es), pee * Dota section contains global vertiables | huap | + A protena may alo tn a heap «Rate which iy memory that ja di Nawnica ty : AUotoded to process dweing nun time, Fig: Proves th memory Thu atrusbwwu of proves in mamory Th shown én figure | tA Progam beromes a Process whin an executable tile Ay Looded tnto memory.Procena stale: As the process evecutu, it changu th state. The tect of Protens Is dij by the Guwvunt activity 6} that process. A procean Moy be fn one of te following stokes 3- b News The procems to being Creald, 2 Running | Instructions ont bung executed, 3 Waiting : The proteas is waittng Jor some event to occu Couch a3 an Zo completion or surepton a signal) uy Reody +The proveas Ip usu ng to be Assigned to @ processor. 5 Terminalid: The process has pinished execution Cerminatsad) figs Biagsarn 0} proveas Atatt eesProcess Po Proves Pi Seung Interrupt or system call fa (Essences, Tah rom PCB) | eutry nterrugt ot 4 ae lt AVE Atake nS PcBy . (Rdload steia from PoBo) [Reload seh, prom PeBo) rom PLBO dle exeuttng, fy: Diagram id CPU Awiteh from Protens to proveas Protas Transition DiagramCNuo>) * Lhitially the procens will be fn the new stat , T urdve Creakion or being crealud. ——~eahtd Sy — es Yea) ¥ Once the process ts creatad , it will be moved to Reody stati. # Tn the reody stati, wu. will be mublipl no- of process. # One of EX protess willl be aductad }rorm the state and it will be dispatched /écheduled for the running stall. ch ass : oa New Reocly Run + In the running aati, Hou uaill be one process ok any ‘ebonee point o} time ¥ When protess Ys on running tab, it occupied CPU and exeuit all its fnatrudions. # I} te ey proto suguire any LO operation it will be moved to wait or Block stab. In the wait abate, the process will podorm T]o operation, Once the Tlo operation is completud , tre process will go to Teady state. if means process& Thou will be multiple no- of processes tn the walt stall, iE means the multiple proceses will purorm the tlo operation, bimulta- Neously, # When the process a fn the ready, running and block states it means process 1 residing fn the mafn memory. + Once the running process complutid its execution, it wt in the tuimination “stab. Mulkepregtamming OS Is caltgerised (nto two type *- + Non- preemptive 4 Preemptive (ehio Callid cs mulktasking) or Birme shaving Muutiprogtamming 0S Non- preemplive PreempHve 2 ai¥ Coch procems is supresented fin opexig eae sysn by a prem control Bk Pcs) a also Called a task contro! block. | Process Number | * PCB Contuins many proceas of inf* associaktd usith a ppecific process ee Rey to | nctuding these y i p nee Q) Frovess stab The ste may be Lak ol open file. | Reus, ready, punning sai ting tamirlid fer ae b) Program Counters The counter fndicatis Figs PCB thi addvuss of tru net fnatruction to be executid for ths process ©) CPU Registers s Te neq taters Voxwy fn no- and type, duperding on tu compu unit i i tndudl aceurnulators , Index 2ruglatesy stack-pointer & bral purpose wegisto, pilus any condition cod inorma- Aon. ‘he with tht progsam counter, this stots information must be Aaved ushen aan interrupt acurs, to allow be process to be continu correckly aftouvands. d) CPU scheduling {nfs The frp" frelualus provess priority » pointous to acheduling quiuis and any thor bchedulg pox amen,@ Memory Managument Inf" This thy" moy tneude auc ums ay the value a) Hu base Gnd Limit xegfatou and the tably or the segment table, fueling an the mana syston used ty as * Acceunting tn)"; This fn} feuds tu amount of cbu and sual time used, Limits, Alc No, jobs or process | No: and 0 Nn. * Lio status fn)"s This tr)" indudy the List of L/0 dwvices allocated 40 the procera, a List of open fils and soon. Process athedudiy duns Job Guin’ set gf allt processes tn the system Reody Gua § se: of alk procenses iy main memory realy & ale. waiting to execute. Device Guu $ se Gf processes waiting Jor an T10 device. # Noles Proces Migrah amorg the worrlous qu. Representation c) Provan aching et Or eee, jt Ra J Time slice eypired Child for a. ex child. walk for ai 6 tnterrup!Schedules Jn OS, Huu ae 3 difpount senedulva b Long dotm: or Tob scheduler Jt i suaponsible Jor creating and bringing te new preteen’ fnto the system, 4 Short tum on CPU schedlulak, Tt Lb susponuible je a) one of the provead fn ready stab jor scheduling on to Ent running cot. 3 Mid tun or Medium tou acheduloe Kt Us dwponsible jor suspending and resuming Ene processor. Tht job done. by mid- term Aunedulur is Cold Ene susapping. tally executed = Boda sep cut > end ftlo waiting Guu Figs addition o} mettiom boon sunedubing fo the quuuing oliagiam ¥ The long toi sehedulue executir much tus Lrquentty, + Th dom buhedulue Controls muliprog r . no ate fn memory), on ae q ey oe — #3 the dug of mulkiprogiamming ts stable, then the average rate of protess Creation must be equal to average dipartwie rate Gh procenses Leaving the sym,“The tong term ached, may need to be tnvoked , only when a Provens btaves Hu system. + Becatue of the donger tntvrval Hor cxeuution, thu Long Loum brntdulie Lan abtord to taki more time to dicide udhich presess should be selucted for executian, * St ts Important that the ong “Aviny schedule make a Corupul peluctions, & $n ginewd most procesa can be duuribed as thr L)0, bound or CPU bound. * An Lo bound is one that Apends more ofits Hme doing Lo than it ppends doing Computation, * A CBU bound proces, ginuals to vuquust frfrequentty using more 6} is Lime doing Computations. ¥ Tt important thot Ls selicts & good, Proveas mix of Lo bound and CPU bound. Ly all the process at Llo bound ther Quan Usidl almost always be empty and tne short tuum schedule uuill Hove Jit do do. 4 al processes ou Cpu bound, Ent To usoiting quivu us always be empty, divices will gp unused, ond again sytem wlll be unbalanced. The system sill but poformance wsll thus have combination Of CPU and To bounds processesScheduulvus Compaxison a mong & Long Jum Sehedulne Short tom Schedule Medium lon Scbeduloe Ir BE i a job achualn [bisa CPU Sthdul ~ |obia a procens stsapping Achedule % Speed is Lussue that short] Speed i ut Peed 1s Jastest among! Speed is in between both term Achedulin othun two. % Short ond long an ache a re the ight of IS Provids Luser contro} | St reduces the as ; progam) a dager Gf rmuliprogia trulliprogeamening 4 ME is almost abvent or | 4+ ix also minitral tr |$t Js a past o} time Shaving Minimal fn time Abating time ahaning ayclam uyptns: 5 St Adu prowess from 4k selids those pi St can re-tntroduce the process pool and Joods tnuminto ughich a ready 10 cxeu [nto mennony and txeution Mmesnory qwution |e can be Continud
You might also like
Hourglass Workout Program by Luisagiuliet 2
PDF
76% (21)
Hourglass Workout Program by Luisagiuliet 2
51 pages
12 Week Program: Summer Body Starts Now
PDF
87% (46)
12 Week Program: Summer Body Starts Now
70 pages
Read People Like A Book by Patrick King-Edited
PDF
58% (81)
Read People Like A Book by Patrick King-Edited
12 pages
Livingood, Blake - Livingood Daily Your 21-Day Guide To Experience Real Health
PDF
77% (13)
Livingood, Blake - Livingood Daily Your 21-Day Guide To Experience Real Health
260 pages
Cheat Code To The Universe
PDF
94% (79)
Cheat Code To The Universe
34 pages
Facial Gains Guide (001 081)
PDF
91% (45)
Facial Gains Guide (001 081)
81 pages
Curse of Strahd
PDF
95% (467)
Curse of Strahd
258 pages
The Psychiatric Interview - Daniel Carlat
PDF
91% (34)
The Psychiatric Interview - Daniel Carlat
473 pages
The Borax Conspiracy
PDF
91% (57)
The Borax Conspiracy
14 pages
COSMIC CONSCIOUSNESS OF HUMANITY - PROBLEMS OF NEW COSMOGONY (V.P.Kaznacheev,. Л. V. Trofimov.)
PDF
94% (214)
COSMIC CONSCIOUSNESS OF HUMANITY - PROBLEMS OF NEW COSMOGONY (V.P.Kaznacheev,. Л. V. Trofimov.)
212 pages
TDA Birth Certificate Bond Instructions
PDF
97% (284)
TDA Birth Certificate Bond Instructions
4 pages
The Secret Language of Attraction
PDF
86% (107)
The Secret Language of Attraction
278 pages
How To Develop and Write A Grant Proposal
PDF
83% (542)
How To Develop and Write A Grant Proposal
17 pages
Penis Enlargement Secret
PDF
60% (124)
Penis Enlargement Secret
12 pages
Workbook For The Body Keeps The Score
PDF
89% (53)
Workbook For The Body Keeps The Score
111 pages
Donald Trump & Jeffrey Epstein Rape Lawsuit and Affidavits
PDF
83% (1016)
Donald Trump & Jeffrey Epstein Rape Lawsuit and Affidavits
13 pages
KamaSutra Positions
PDF
78% (69)
KamaSutra Positions
55 pages
7 Hermetic Principles
PDF
93% (30)
7 Hermetic Principles
3 pages
27 Feedback Mechanisms Pogil Key
PDF
77% (13)
27 Feedback Mechanisms Pogil Key
6 pages
Frank Hammond - List of Demons
PDF
92% (92)
Frank Hammond - List of Demons
3 pages
Phone Codes
PDF
79% (28)
Phone Codes
5 pages
36 Questions That Lead To Love
PDF
91% (35)
36 Questions That Lead To Love
3 pages
How 2 Setup Trust
PDF
97% (307)
How 2 Setup Trust
3 pages
The 36 Questions That Lead To Love - The New York Times
PDF
94% (34)
The 36 Questions That Lead To Love - The New York Times
3 pages
100 Questions To Ask Your Partner
PDF
78% (36)
100 Questions To Ask Your Partner
2 pages
Satanic Calendar
PDF
25% (56)
Satanic Calendar
4 pages
The 36 Questions That Lead To Love - The New York Times
PDF
95% (21)
The 36 Questions That Lead To Love - The New York Times
3 pages
Jeffrey Epstein39s Little Black Book Unredacted PDF
PDF
75% (12)
Jeffrey Epstein39s Little Black Book Unredacted PDF
95 pages
14 Easiest & Hardest Muscles To Build (Ranked With Solutions)
PDF
100% (8)
14 Easiest & Hardest Muscles To Build (Ranked With Solutions)
27 pages
1001 Songs
PDF
69% (72)
1001 Songs
1,798 pages
Operating System Handwritten Notes of Module 1,2,3,4,5
PDF
88% (8)
Operating System Handwritten Notes of Module 1,2,3,4,5
78 pages
The 4 Hour Workweek, Expanded and Updated by Timothy Ferriss - Excerpt
PDF
23% (954)
The 4 Hour Workweek, Expanded and Updated by Timothy Ferriss - Excerpt
38 pages
Zodiac Sign & Their Most Common Addictions
PDF
63% (30)
Zodiac Sign & Their Most Common Addictions
9 pages
Unit-3 OS
PDF
No ratings yet
Unit-3 OS
24 pages
OS unit 2,3
PDF
No ratings yet
OS unit 2,3
26 pages
OS Unit 3 Part 1
PDF
No ratings yet
OS Unit 3 Part 1
17 pages
Unit - III CPU Scheduling
PDF
No ratings yet
Unit - III CPU Scheduling
10 pages
OSY Unit-3 Notes
PDF
No ratings yet
OSY Unit-3 Notes
18 pages
Ospp Chap02 Part2
PDF
No ratings yet
Ospp Chap02 Part2
10 pages
OSY ASSIGNMENT 4 Micro Project
PDF
No ratings yet
OSY ASSIGNMENT 4 Micro Project
16 pages
DocScanner 18 Sept 2024 3-58 PM
PDF
No ratings yet
DocScanner 18 Sept 2024 3-58 PM
4 pages
Unit 3 Operating System
PDF
No ratings yet
Unit 3 Operating System
20 pages
POS-UNIT-II (1)
PDF
No ratings yet
POS-UNIT-II (1)
31 pages
Tejal Petkar Se It 45 Os Notes
PDF
No ratings yet
Tejal Petkar Se It 45 Os Notes
19 pages
Chapter - 2 Os
PDF
No ratings yet
Chapter - 2 Os
40 pages
Lecture 1 and 2 - Processes
PDF
No ratings yet
Lecture 1 and 2 - Processes
31 pages
OS Unit 2
PDF
No ratings yet
OS Unit 2
35 pages
Chapter 2-Process-And-Threads 241127 070507
PDF
No ratings yet
Chapter 2-Process-And-Threads 241127 070507
48 pages
Unit 2
PDF
No ratings yet
Unit 2
65 pages
Module - II KTU
PDF
No ratings yet
Module - II KTU
18 pages
Operating System: Concurrent Process
PDF
No ratings yet
Operating System: Concurrent Process
59 pages
3 Mod2
PDF
No ratings yet
3 Mod2
10 pages
CH 3
PDF
No ratings yet
CH 3
45 pages
Operating System Concepts: The Process
PDF
No ratings yet
Operating System Concepts: The Process
6 pages
Chapter2 - Processes and Threads
PDF
No ratings yet
Chapter2 - Processes and Threads
96 pages
Os Module 2
PDF
No ratings yet
Os Module 2
103 pages
OS Assignment
PDF
No ratings yet
OS Assignment
16 pages
OS PPT
PDF
No ratings yet
OS PPT
98 pages
Proces U-Ahea: Docs Ho Many
PDF
No ratings yet
Proces U-Ahea: Docs Ho Many
16 pages
OS Lecture2
PDF
No ratings yet
OS Lecture2
25 pages
Chapter 3 Process
PDF
No ratings yet
Chapter 3 Process
42 pages
Operating System
PDF
No ratings yet
Operating System
43 pages
Processes: Bilkent University Department of Computer Engineering CS342 Operating Systems
PDF
No ratings yet
Processes: Bilkent University Department of Computer Engineering CS342 Operating Systems
79 pages
Os Assignmnt 1
PDF
No ratings yet
Os Assignmnt 1
10 pages
10 Os
PDF
No ratings yet
10 Os
149 pages
Revision 02 _ Class Notes
PDF
No ratings yet
Revision 02 _ Class Notes
51 pages
Week 03 Lecture Chapter 3
PDF
No ratings yet
Week 03 Lecture Chapter 3
22 pages
CPU Scheduling Part-1
PDF
No ratings yet
CPU Scheduling Part-1
23 pages
Presentation 27584 Content Document 20241118101754PM (2)
PDF
No ratings yet
Presentation 27584 Content Document 20241118101754PM (2)
94 pages
OS_report
PDF
No ratings yet
OS_report
15 pages
Unit 2 Process.pptx (1)
PDF
No ratings yet
Unit 2 Process.pptx (1)
94 pages
Os Process and Memory Management
PDF
No ratings yet
Os Process and Memory Management
55 pages
Dr. Vinay Trivedi_Lec02_UCS303_ENC456
PDF
No ratings yet
Dr. Vinay Trivedi_Lec02_UCS303_ENC456
6 pages
Operating Systems Module 2
PDF
No ratings yet
Operating Systems Module 2
34 pages
UNIT 2 Notes-OS
PDF
No ratings yet
UNIT 2 Notes-OS
52 pages
Os Unit 2
PDF
No ratings yet
Os Unit 2
60 pages
PROCESS and STATES (Autosaved) (Autosaved)
PDF
No ratings yet
PROCESS and STATES (Autosaved) (Autosaved)
21 pages
Lecture 3 OS
PDF
No ratings yet
Lecture 3 OS
33 pages
M2S1-SUPPLEMENTARY1
PDF
No ratings yet
M2S1-SUPPLEMENTARY1
9 pages
Unit Ii - Process Management
PDF
No ratings yet
Unit Ii - Process Management
35 pages
Process Management
PDF
100% (1)
Process Management
43 pages
Gate ShortNotes
PDF
No ratings yet
Gate ShortNotes
22 pages
Unit2pdf__2021_12_20_09_37_38
PDF
No ratings yet
Unit2pdf__2021_12_20_09_37_38
72 pages
Lecture2 OS Processes and Threads
PDF
No ratings yet
Lecture2 OS Processes and Threads
52 pages
ch02-Process Management
PDF
No ratings yet
ch02-Process Management
32 pages
Osy Chapter 03
PDF
No ratings yet
Osy Chapter 03
13 pages
Unit 2-1
PDF
No ratings yet
Unit 2-1
116 pages
DocScanner Apr 29, 2023 10-53 AM
PDF
No ratings yet
DocScanner Apr 29, 2023 10-53 AM
31 pages
Process Management
PDF
No ratings yet
Process Management
9 pages
3 Process
PDF
No ratings yet
3 Process
38 pages