운영체제 연습문제 3장
- 최초 등록일
- 2010.09.29
- 최종 저작일
- 2010.04
- 7페이지/
한컴오피스
- 가격 1,000원
![할인쿠폰받기](/images/v4/document/ico_det_coupon.gif)
소개글
운영체제 연습문제 3장 조선대학교 이준 교수님꺼!!
목차
없음
본문내용
3.1 Describe the differences among short-term, medium-term, and longterm
scheduling.
Answer:
• Short-term (CPU scheduler)—-selects from jobs in memory those
jobs that are ready to execute and allocates the CPU to them.
• Medium-term—-used especially with time-sharing systems as an
intermediate scheduling level. A swapping scheme is implemented
to remove partially run programs from memory and reinstate them
later to continue where they left off.
• Long-term (job scheduler)—-determines which jobs are brought into
memory for processing.
The primary difference is in the frequency of their execution. The shortterm
must select a new process quite often. Long-term is usedmuch less
often since it handles placing jobs in the system and may wait a while
for a job to finish before it admits another one.
15
16 Chapter 3 Processes
3.2 Describe the actions taken by a kernel to context-switch between processes.
Answer: In general, the operating system must save the state of the
currently running process and restore the state of the process scheduled
to be run next. Saving the state of a process typically includes the
values of all the CPU registers in addition to memory allocation. Context
switches must also perform many architecture-specific operations,
including flushing data and instruction caches.
3.3 Consider the RPC mechanism. Describe the undesirable circumstances
that could arise from not enforcing either the "at most once" or "exactly
once" semantics.Describe possible uses for amechanism that had neither
참고 자료
없음