Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is Context switch?

Answer Posted / ragheed

When CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via a context switch.
&#61550;Context of a process represented in the PCB
&#61550;Context-switch time is overhead; the system does no useful work while switching The more complex the OS and the PCB -> longer the context switch

Time dependent on hardware support Some hardware provides multiple sets of registers per CPU -> multiple contexts loaded at once

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the window of the working set of a process?

1014


List the system calls used for process management?

1019


If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?

1050


Explain what are threads?

990


What is protection boundary?

1032


Explain what are the main families of threads?

1001


Explain the performance differences between user-space threads and kernel-supported threads.?

1131


Explain how to work unix commands on windows xp without installing unix o/s in pc?

905


Explain what is scheduling?

999


Explain similarities between thread and process?

925


How would you kill a process?

979


explain about the initial process sequence while the system boots up?

966


How to work unix commands on windows xp without installing unix o/s in pc?

956


Explain the architectural differences between user-space threads, and kernel-supported threads?

911


Tell me when should we use thread-safe "_r" library calls?

833