GATE Unlock25 Offer Get flat 25% & FREE Extension Join the new Foundation batches for GATE, ESE*, & PSUs 2024 ➤ Subscribe today: unacademy.com/goal/gate-cs-it/NVLIA/subscribe?referral_code=VDEEP10
You told about job queue and you also told us that Job queue holds the pcb of processes which are in new state. So therefore we can conclude that pcb of processes in new state exists and the pcb is stored in main memory.
00:10 Process Scheduling and CPU Scheduling are important topics in Operating System. 04:11 Subscription benefits for Depression Preparations 10:22 Process scheduling involves managing processes in different states 14:22 Discussing Process Scheduling and Types of Schedulers 20:50 Process scheduling in the operating system 23:46 Process Scheduling involves Short Term and Long Term Schedulers 29:11 Memory management for processes by medium term scheduler 32:04 Understanding Process Scheduling and Types of Schedulers 38:06 Process scheduling involves suspending and resuming processes. 41:15 Understanding PCF and process scheduling 46:46 CPU scheduling and types of schedulers 49:30 Process scheduling involves long term and medium term schedulers 55:52 Data structure problem-solving tips
If the PCB were kept in secondary memory, it would be too slow for the operating system to access. In some cases, the PCB may be swapped out to secondary memory if main memory is low. However, the PCB is typically kept in main memory as much as possible. Am I correct sir ?
When a process is created (for example, by executing a new program), it enters the "new" state. At this point, the operating system may allocate some resources for the process, but it doesn't create a full PCB yet.
Every process has pcb... In new state it's pcb present in the job queue..... If it's get ready then it is moved to next queue.... But every queue is present in os only
When a process is created, the operating system allocates memory for its PCB in the main memory. This allocation allows the operating system to efficiently access and manage the process's control block during its execution. Storing PCBs in main memory ensures fast and direct access to process information, which is essential for the efficient management of processes by the operating system. By-Abhinav
@@ishratkaur1605 both the queues and the PCBs are kept are kept in the main memory, but in different sections of the memory. The ready queue,s wait queues consists of only processes.
@@ishratkaur1605 For example, a shopkeeper maintains a ledger of his inventory, while all the stuff and the ledger are kept inside the shop, the ledger is under the shopkeeper's authority and in the ledger he writes which items are placed on which shelf. Here the shop is the main memory, the shopkeeper is OS and the shelves are the queues and the items kept on the shelves are the processes. Hope this analogy helps you understand.
hi, job scheduler contains processes or pcb's/, because text book and other reference books are specifying the same of having job queue in secondary memory and job queue will have the processes itself. The processes are brought into main memory by swap in and then the corresponding PCB are appended to the ready queue for execution. can anybody clarify this doubt please?
Prices rising by 10% on 30th April'23 11:59 PM Flat 25% off & up to 4 Months Extra*! Save up to 53% Subscribe Now - unacademy.com/goal/gate-cs-it/NVLIA/subscribe?plan_type=iconic Unacademy GATE & ESE Ultra Combat 23rd April at 11:00 AM Enroll Now: unacademy.com/scholarship/ULTRACOMBATGATEESE
New: The process that is just being created. The Program Control Block is already being made but the program is not yet loaded in the main memory. The program remains in the new state until the long term scheduler moves the process to the ready state (main memory).
bro 10:20 sir told that all the process which are in new state remains in job queue .And job queue remains in main memory's Os part. So Can we say PCB will created when the process in new state and kept in main memory Os part(in Job queue) ?
@@i_am_wiz that means you are saying pcb of new state processes are maintained in secondary storage?? But i used to know that pcb of processes are maintained in kernel space of os which is in main memory.
sir I have a doubt all the processes are there in queue data strucure so schedulars can onlu run the process came first it cannot decide of it's own rght?? or it can??
GATE Unlock 20 Offer Get 20% off & edge closer to acing your exam preparation, with the new All Star batches for GATE, ESE*, & PSUs 2024/25 Starting on 12 May’23 Subscribe Now - unacademy.com/goal/gate-cs-it/NVLIA/subscribe?plan_type=plus
insan ke paida(process create New) hote ke sath hi kaal apne bhese(PCB create) pr beth ke uske piche lag jata hai..or vo uska picha jb tak nhi chhodta jab tk ki vo mar(terminate) nhi jata....fr vo bich me kuch b q na kra kre(waiting suspand ready running)🤣
00:10 Process Scheduling and CPU Scheduling are important topics in Operating System. 04:11 Subscription benefits for Depression Preparations 10:22 Process scheduling involves managing processes in different states 14:22 Discussing Process Scheduling and Types of Schedulers 20:50 Process scheduling in the operating system 23:46 Process Scheduling involves Short Term and Long Term Schedulers 29:11 Memory management for processes by medium term scheduler 32:04 Understanding Process Scheduling and Types of Schedulers 38:06 Process scheduling involves suspending and resuming processes. 41:15 Understanding PCF and process scheduling 46:46 CPU scheduling and types of schedulers 49:30 Process scheduling involves long term and medium term schedulers 55:52 Data structure problem-solving tips
GATE Unlock25 Offer
Get flat 25% & FREE Extension
Join the new Foundation batches for GATE, ESE*, & PSUs 2024
➤ Subscribe today: unacademy.com/goal/gate-cs-it/NVLIA/subscribe?referral_code=VDEEP10
never seen such a great teacher on youtube.... this is called quality content that is free...
Your lectures are addictive like a web series
Vo to result hi btyega tera
@@AyanAnsari-wc3zp khatam 🤣
@@AyanAnsari-wc3zp Brutal DUDE
Oo Bhai 🤣😀
what's your gate rank?
You told about job queue and you also told us that Job queue holds the pcb of processes which are in new state. So therefore we can conclude that pcb of processes in new state exists and the pcb is stored in main memory.
Operating system would never have this much interesting 🙏🙏 thnks to u sir
Seriously
Starts 7:15
akshay bhai OP !!
I first search for start time comment. Thnx
00:10 Process Scheduling and CPU Scheduling are important topics in Operating System.
04:11 Subscription benefits for Depression Preparations
10:22 Process scheduling involves managing processes in different states
14:22 Discussing Process Scheduling and Types of Schedulers
20:50 Process scheduling in the operating system
23:46 Process Scheduling involves Short Term and Long Term Schedulers
29:11 Memory management for processes by medium term scheduler
32:04 Understanding Process Scheduling and Types of Schedulers
38:06 Process scheduling involves suspending and resuming processes.
41:15 Understanding PCF and process scheduling
46:46 CPU scheduling and types of schedulers
49:30 Process scheduling involves long term and medium term schedulers
55:52 Data structure problem-solving tips
this is the best lecture of process state diagram so far
I fall in love with your teaching style. Love you from Agra. 👆
one of the most engaging and best educator, thank you sir!
If the PCB were kept in secondary memory, it would be too slow for the operating system to access. In some cases, the PCB may be swapped out to secondary memory if main memory is low. However, the PCB is typically kept in main memory as much as possible.
Am I correct sir ?
you are having very in depth knowledge of the subject. amazing.
9:22 Scheduling queues
17:35 Types of Schedulers
again sir gave his best . Love you so much sir for such a great lectures .
I am not interested in any subject no more... Which is not being taught by Visva Sir...😄 ✨✨🧨
When a process is created (for example, by executing a new program), it enters the "new" state. At this point, the operating system may allocate some resources for the process, but it doesn't create a full PCB yet.
Sir,I have one question:
1. Where is the present when the process is in suspended state??
Swap Space
Every process has pcb...
In new state it's pcb present in the job queue..... If it's get ready then it is moved to next queue....
But every queue is present in os only
Its really happy learning
I am really thankful for YOU...sir
When a process is created, the operating system allocates memory for its PCB in the main memory. This allocation allows the operating system to efficiently access and manage the process's control block during its execution. Storing PCBs in main memory ensures fast and direct access to process information, which is essential for the efficient management of processes by the operating system.
By-Abhinav
When process is in running state or suspended state , where the pcb is kept , like in which queue
PCBs aren't kept in any queue, they reside in the main memory section which is reserved by OS
@@shivamkumar-eq3sl But these queues also reside in main meory ...
@@ishratkaur1605 both the queues and the PCBs are kept are kept in the main memory, but in different sections of the memory. The ready queue,s wait queues consists of only processes.
@@ishratkaur1605 For example, a shopkeeper maintains a ledger of his inventory, while all the stuff and the ledger are kept inside the shop, the ledger is under the shopkeeper's authority and in the ledger he writes which items are placed on which shelf. Here the shop is the main memory, the shopkeeper is OS and the shelves are the queues and the items kept on the shelves are the processes. Hope this analogy helps you understand.
@@ishratkaur1605 job queue is maintained in secondary storage and ready queue in main memory.
Yes I m excited 😆😄☺
hi,
job scheduler contains processes or pcb's/, because text book and other reference books are specifying the same of having job queue in secondary memory and job queue will have the processes itself. The processes are brought into main memory by swap in and then the corresponding PCB are appended to the ready queue for execution.
can anybody clarify this doubt please?
Prices rising by 10% on 30th April'23 11:59 PM
Flat 25% off & up to 4 Months Extra*! Save up to 53%
Subscribe Now - unacademy.com/goal/gate-cs-it/NVLIA/subscribe?plan_type=iconic
Unacademy GATE & ESE Ultra Combat
23rd April at 11:00 AM
Enroll Now: unacademy.com/scholarship/ULTRACOMBATGATEESE
Great sir
New: The process that is just being created. The Program Control Block is already being made but the program is not yet loaded in the main memory. The program remains in the new state until the long term scheduler moves the process to the ready state (main memory).
bro 10:20 sir told that all the process which are in new state remains in job queue .And job queue remains in main memory's Os part. So Can we say PCB will created when the process in new state and kept in main memory Os part(in Job queue) ?
@@sdeBack1 process arent kept in queue only their pcb
@@sdeBack1 Job queue is in secondary memory, not in main memory
@@i_am_wiz that means you are saying pcb of new state processes are maintained in secondary storage??
But i used to know that pcb of processes are maintained in kernel space of os which is in main memory.
Sir TOC bhi padha dijiye pls🙏🙏
sir I have a doubt all the processes are there in queue data strucure so schedulars can onlu run the process came first it cannot decide of it's own rght?? or it can??
can we do swapping manually.... if yes how and what will be its effect?
GATE Unlock 20 Offer
Get 20% off & edge closer to acing your exam preparation, with the new All Star batches for
GATE, ESE*, & PSUs 2024/25 Starting on 12 May’23
Subscribe Now - unacademy.com/goal/gate-cs-it/NVLIA/subscribe?plan_type=plus
starts at 6:49
Thank you Sir ☺️
how long term schedular max the degree of multiprogramming?can anyone pls explain .
sir why it is dangerous if process goes from running to suspended ready state?
Lecture 1,2 ke notes hi h t kya telegram pr
aur lecture ke notes nhi mil rhe
what is the difference between process in a new state and a program
Thank You
you are amazing sir
sir new state present in secondary memory or main memory?
When a process is created (initialized or installed), the operating system creates a corresponding process control block.
Do proccesses in 'New' State have PCB's ?
24:10 Memes😁 bor nhi hone dete sir💙
Are short term scheduler and dispatcher same.
Sir said, short term schedular selects process but dispatcher moves it from ready to running state.
@@priyasharmax I got it, tutorials point have an article and they have written that they are same , so I got confused. Tq
Newly created PROCESS mustnhave P.C.B , which is stored in the O.S itself.
A pcb created in kernel whenever new process is started and stored in MM in OS's private section......
@@lsdxsaurabh2798 But Kernel Space and OS's private section in Main Memory is the same.
@@ishratkaur1605 yeah
If PCB in a new state then it is in hardisk
yes
In javatpoint, i read that long term as well as reduce the degree of multi-programming, so what is the ans of ques at 53:00??
U luk like my gf
if the question was who controls degree of multiprogramming then it would be both, in this case answer should be mid-term programming only
insan ke paida(process create New) hote ke sath hi kaal apne bhese(PCB create) pr beth ke uske piche lag jata hai..or vo uska picha jb tak nhi chhodta jab tk ki vo mar(terminate) nhi jata....fr vo bich me kuch b q na kra kre(waiting suspand ready running)🤣
❤️🙏
7:19 yosh
But job queue resides in secondary memory , ???!? Am I wrong ??
No every que resides in main memory's OS part .
sir dispatcher ke bare me aapne bataya nahi tha bas itna he bataya tha ke context switch ko hone ke leya softer use bas itna he bataya tha
25:48
in which queue PCB of suspended state store?
PCB Is prop of OS SO in OS part of the main memory ...so no queue for PCB"s
sir it happens with me sometime when i go back to the game which i have been using it start from zero and do not start where i left??
but your progress in game will be saved like where u left last time ..
6:56 lecture starts
Sir data structure ka all video hindi me v dijiye sir c programming ka v sir os ka v video hindi me v provide kijye sir
what about the people who dont know hindi , we also need good education right?
@@knowcode6374 if you don't understand hindi then how you get that he is seeking for hindi ciurse..........
It not about the language. Majority of the cases most of the people knew English than hindi.
Video Start From 7:00
6:50 video starts here
A PCB created in Kernel whenever a new process is started........
21:00 44:00
40:00
43:44
Shreya Mishra
Me i never ever play game in mobile
🤨🤨
24:09 😂😂😂👌👌👌
00:10 Process Scheduling and CPU Scheduling are important topics in Operating System.
04:11 Subscription benefits for Depression Preparations
10:22 Process scheduling involves managing processes in different states
14:22 Discussing Process Scheduling and Types of Schedulers
20:50 Process scheduling in the operating system
23:46 Process Scheduling involves Short Term and Long Term Schedulers
29:11 Memory management for processes by medium term scheduler
32:04 Understanding Process Scheduling and Types of Schedulers
38:06 Process scheduling involves suspending and resuming processes.
41:15 Understanding PCF and process scheduling
46:46 CPU scheduling and types of schedulers
49:30 Process scheduling involves long term and medium term schedulers
55:52 Data structure problem-solving tips
25:57