What is the resident set and working set of a process
Resident set is that portion of the process image that is actually in real-memory at a particular instant. Working set is that subset of resident set that is actually needed for execution. (Relate this to the variable-window size method for swapping techniques.
Showing posts with label os interview. Show all posts
Showing posts with label os interview. Show all posts
What is the Translation Lookaside Buffer (TLB)?
What is the Translation Lookaside Buffer (TLB)?
In a cached system, the base addresses of the last few referenced pages is maintained in registers called the TLB that aids in faster lookup. TLB contains those page-table entries that have been most recently used. Normally, each virtual memory reference causes 2 physical memory accesses-- one to fetch appropriate page-table entry, & one to fetch the desired data. Using TLB in-between, this is reduced to just one physical memory access in cases of TLB-hit.
In a cached system, the base addresses of the last few referenced pages is maintained in registers called the TLB that aids in faster lookup. TLB contains those page-table entries that have been most recently used. Normally, each virtual memory reference causes 2 physical memory accesses-- one to fetch appropriate page-table entry, & one to fetch the desired data. Using TLB in-between, this is reduced to just one physical memory access in cases of TLB-hit.
What are short long and medium term scheduling
What are short long and medium term scheduling
Long term scheduler determines which programs are admitted to the system for processing. It controls the degree of multiprogramming. Once admitted, a job becomes a process.
Medium term scheduling is part of the swapping function. This relates to processes that are in a blocked or suspended state. They are swapped out of real-memory until they are ready to execute. The swapping-in decision is based on memory-management criteria.
Short term scheduler, also know as a dispatcher executes most frequently, & makes the finest-grained decision of which process should execute next. This scheduler is invoked whenever an event occurs. It may lead to interruption of one process by preemption.
Long term scheduler determines which programs are admitted to the system for processing. It controls the degree of multiprogramming. Once admitted, a job becomes a process.
Medium term scheduling is part of the swapping function. This relates to processes that are in a blocked or suspended state. They are swapped out of real-memory until they are ready to execute. The swapping-in decision is based on memory-management criteria.
Short term scheduler, also know as a dispatcher executes most frequently, & makes the finest-grained decision of which process should execute next. This scheduler is invoked whenever an event occurs. It may lead to interruption of one process by preemption.
Operating system ,OS Interview Questions
Operating system ,OS Interview Questions
* What is a COM component?
* How do you register COM component?
* What is a Raid?
* What is normalization?
* Explain hidden shares in Windows 2000.
* How do you convert a FAT into NTFS?
* How does a virus affect the computer?
* What is the latest version of the MSDOS?
* What is a distributed system?
* What you mean by deadlock?
* What is DRAM?
* What’s the difference between FAT32 and NTFS?
* What’s the difference between process and thread?
* What is page fault?
* Define root directory?
* What’s the difference between Windows and UNIX?
* What’s the difference between RAM and ROM?
* How do you configure built-in firewall in Windows XP?
* What is virtual memory?
* What are the main components of the operating system?
* What is a COM component?
* How do you register COM component?
* What is a Raid?
* What is normalization?
* Explain hidden shares in Windows 2000.
* How do you convert a FAT into NTFS?
* How does a virus affect the computer?
* What is the latest version of the MSDOS?
* What is a distributed system?
* What you mean by deadlock?
* What is DRAM?
* What’s the difference between FAT32 and NTFS?
* What’s the difference between process and thread?
* What is page fault?
* Define root directory?
* What’s the difference between Windows and UNIX?
* What’s the difference between RAM and ROM?
* How do you configure built-in firewall in Windows XP?
* What is virtual memory?
* What are the main components of the operating system?
Subscribe to:
Posts (Atom)