摘要: **1. Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4,999. The drive is currently serving a request at cylinder 2,150, and the previous 阅读全文
posted @ 2021-12-01 23:31 z0gSh1u 阅读(1052) 评论(0) 推荐(0) 编辑
摘要: 1. Contrast the performance of the three techniques for allocating disk blocks (contiguous, linked, and indexed) for both sequential and random file a 阅读全文
posted @ 2021-12-01 23:30 z0gSh1u 阅读(812) 评论(0) 推荐(0) 编辑
摘要: 1. Consider a file system in which a file can be deleted and its disk space reclaimed while links to that file still exist. What problems may occur if 阅读全文
posted @ 2021-12-01 23:29 z0gSh1u 阅读(900) 评论(0) 推荐(0) 编辑
摘要: 1. Assume we have a demand-paged memory. The page table is held in registers. It takes 8 milliseconds to service a page fault if an empty page is avai 阅读全文
posted @ 2021-12-01 23:24 z0gSh1u 阅读(1947) 评论(2) 推荐(0) 编辑
摘要: 8.1 – 请指出内部碎片与外部碎片的区别。 内部碎片是已经分配给进程的、比进程所需内存多出的部分,存在于分区内部,但是不能使用; 外部碎片是没有被分配出去的小的内存片段,却因不连续,而无法联合起来组成更大的内存片段分配给某个进程的部分。 8.3 – 给定6个内存分区:300KB、600KB、350 阅读全文
posted @ 2021-12-01 23:18 z0gSh1u 阅读(2436) 评论(0) 推荐(1) 编辑
摘要: **1 - Consider the traffic deadlock depicted in the following Figure. Show that the four necessary conditions for deadlock indeed hold in this example 阅读全文
posted @ 2021-12-01 23:15 z0gSh1u 阅读(1951) 评论(0) 推荐(0) 编辑
摘要: 1 - The first known correct software solution to the critical-section problem for two processes was developed by Dekker. The two processes, P0 and P1, 阅读全文
posted @ 2021-12-01 23:05 z0gSh1u 阅读(1882) 评论(0) 推荐(0) 编辑
摘要: **1 - Discuss how the following pairs of scheduling criteria conflict in certain settings. CPU utilization and response time Average turnaround time a 阅读全文
posted @ 2021-12-01 22:50 z0gSh1u 阅读(1869) 评论(0) 推荐(0) 编辑
摘要: 1 - Provide two programming examples in which multithreading does not provide better performance than a single-threaded solution. 一种是以串行操作为主的程序,例如对数字图 阅读全文
posted @ 2021-12-01 13:24 z0gSh1u 阅读(1205) 评论(0) 推荐(0) 编辑
摘要: 1 - Describe the actions taken by a kernel to context-switch between processes. 当进行上下文切换时,内核会将旧进程状态保存在其PCB中,然后加载经调度而要执行的新进程的上下文。上下文包括CPU寄存器的值、进程状态和内存管 阅读全文
posted @ 2021-12-01 13:23 z0gSh1u 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 1 - The services and functions provided by an operating system can be divided into two main categories. Briefly describe the two categories, and discu 阅读全文
posted @ 2021-12-01 13:22 z0gSh1u 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 1 - What are the three main purposes of an operating system? ① 操作系统是一个资源管理器,它管理计算机硬件; ② 操作系统为应用程序提供运行的基础; ③ 操作系统充当计算机用户和计算机硬件的中介。 2 - We have stressed 阅读全文
posted @ 2021-12-01 13:21 z0gSh1u 阅读(444) 评论(0) 推荐(0) 编辑