3.3  Original version of Apple's mobile iOS operating system provied no means of concurrent processing. Discuss three major complications that concurrent processing adds to an operating system.

答案:此问题不太熟悉, 应该是问向操作系统中加入并发处理后的三个主要并发症是什么。 在网上搜索了一下, 得到了一个答案。

  1. The OS has to keep track of the main memory address space allocated to each process so that a process does not affect or harm other processes data. This is a necessay , for example, a virus may try to destroy or modify other process data.

  操作系统必须追踪分配给每一个进程的主要内存地址空间, 因此一个进程就不会去影响或者损坏其他进程的数据。 这是必要的, 例如, 一个病毒会试图破坏和修改其他进程的数据。

  2. Switching from one process to another process leads to time overhead(时间开销), this requires storing the current register values and loading the register values of the next process from its PCB(program Control Block).

  从一个进程切换到另一个进程的时候会导致时间开销, 并需要存储当前进程的寄存器值并且从PCB中读取下一个进程的寄存器的值。

  3. If a running process requires large space in memory then other processs needs to be dumped back to hard disk which again leads to time overhead.

  如果一个正在运行的进程需要更大的内存空间, 那么因其他进程就需要被放回硬盘也会导致时间开销。

another answer form internet:

  1.A method of time sharing must be implemented to allow each of several processes to have access to the system. This method involves the preemption of processes that do not voluntarily give up the CPU(by using a system call, for instance) and the kernel being reentrant(so more than one process may be executing kernel code concurrently).

  2.Processes and system resources must have protections and must be protected from each other. Any given process must be limited in the amount of memory it can user and the operations it can perform on devices like disks. 

  3.Care must be taken in the kernel to prevent deadlocks between processes, so processes aren't wating for each other's allocated resources.

[Chapter 3 Process]Practice 3.3 Discuss three major complications that concurrent processing adds to an operating system.的更多相关文章

  1. [Chapter 3 Process]Practice 3.12 Including the initial parent process, how many processes are created by the program shown in Figure 3.32?

    3.12 Including the initial parent process, how many processes are created by the program shown in Fi ...

  2. [Chapter 3 Process]Practice 3.5 When a process creates a new process using the fork() operation

    3.5 When a process creates a new process using the fork() operation, which of the following state is ...

  3. [Chapter 3 Process]Practice 3.2 Including the initial parent process, how many processes are created by the program shown in Figure?

    3.2 Including the initial parent process, how many processes are created by the program shown in Fig ...

  4. [Chapter 3 Process]Practice 3.9 Describe the actions token by a kernel to content-switch between processes.

    3.9 Describe the actions token by a kernel to content-switch between processes. 答案: 内核在进行进程上下文切换时, 首 ...

  5. [Chapter 3 Process]Practice 3.8: Describe the differences among short-term, medium-term, long-term scheduling

    3.8 Describe the differences among short-term, medium-term, and longterm scheduling. 答案: 长期调度决定哪些进程进 ...

  6. [Chapter 3 Process]Practice 3.4 Describe what happens when a context switch occurs if the new context is already loaded into one of the register sets.

    3.4 The Sun UltraSPARC processor has multiple register sets. Describe what happens when a context sw ...

  7. [Chapter 3 Process]Practice 3.1 相关知识:进程创建、fork函数

    3.1 Using the program shown in the Figure3.30, explain what the output will be at LINE A 答案:LINE A 处 ...

  8. book-rev8 Chapter 0 Operating system interfaces

    Chapter 0 第0章 Operating system interfaces 操作系统接口 The job of an operating system is to share a comput ...

  9. 《modern operating system》 chapter 5 Input and output 注意事项

    Input / Output It should also provide an interface between the devices and the rest of the system th ...

随机推荐

  1. sudo执行脚本找不到环境变量

    sudo执行脚本找不到变量 问题 当普通用户下,设置并export一个变量,然后利用sudo执行echo命令,能得到变量的值,但是如果把echo命令写入脚本,然后再sudo执行脚本,就找不到变量,未能 ...

  2. day5_常用模块

    本节大纲: 模块介绍 time &datetime模块 random os sys shutil json & picle shelve xml处理 yaml处理 configpars ...

  3. goldengate 参数之GETTRUNCATES | IGNORETRUNCATES --转载

    GETTRUNCATES | IGNORETRUNCATESValid ForExtract and ReplicatDescriptionUse the GETTRUNCATESand IGNORE ...

  4. (Hibernate进阶)Hibernate基本原理(一)

    在开始学hibernate之前,一直就有人说:Hibernate并不难,无非是对JDBC进一步封装.一句不难,难道是真的不难还是眼高手低? 如果只是停留在使用的层面上,我相信什么技术都不难,看看别人怎 ...

  5. saybyeto2015

    不知不觉一年又结束了,还是打算在最后一天写个总结. 今年换了工作,改变不可谓不多. 技术方面,看的书主要是 <Angularjs权威指南> <JavaScript设计模式与开发实践& ...

  6. java中的类型比较

    Java 里的既可以比较基本类型也可以比较引用类型. 对于基本类型,Java 的==比较值比较 对于引用类型,Java 的==比较了引用的是否为同一个对象(比较内存地址), 也就是说这两个变量是否都指 ...

  7. Python之路【第十七篇】:Django【进阶篇 】

    Python之路[第十七篇]:Django[进阶篇 ]   Model 到目前为止,当我们的程序涉及到数据库相关操作时,我们一般都会这么搞: 创建数据库,设计表结构和字段 使用 MySQLdb 来连接 ...

  8. Spring项目解决Post乱码

    Java EE解决Post乱码:在web.xml中加入: <filter> <filter-name>encodingFilter</filter-name> &l ...

  9. Eclipse相关设置

    eclipse 默认设置的换行长度, 格式化代码后,同一个方法里面参数也经常被,换行,非常难看. 1.Java代码打开Eclipse的Window菜单,然后 Preferences->Java- ...

  10. perl中的运算符

    字符计算的运算符