[Chapter 3 Process]Practice 3.3 Discuss three major complications that concurrent processing adds to an operating system.
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.的更多相关文章
- [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 ...
- [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 ...
- [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 ...
- [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. 答案: 内核在进行进程上下文切换时, 首 ...
- [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. 答案: 长期调度决定哪些进程进 ...
- [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 ...
- [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 处 ...
- book-rev8 Chapter 0 Operating system interfaces
Chapter 0 第0章 Operating system interfaces 操作系统接口 The job of an operating system is to share a comput ...
- 《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 ...
随机推荐
- Android广播机制简介
为什么说Android中的广播机制更加灵活呢?这是因为Android中的每个应用程序都可以对自己感兴趣的广播进行注册,这样该程序就只会接收到自己所关心的广播内容,这些广播可能是来自于系统的,也可能是来 ...
- Java中的异常-Throwable-Error-Exception-RuntimeExcetpion-throw-throws-try catch
今天在做一个将String转换为Integer的功能时,发现Integer.parseInte()会抛出异常NumberFormatException. 函数Integer.parseInt(Stri ...
- Mono addin 学习笔记 5 TypeExtensionPoint
1. Attribute声明方式 定义扩展点: [TypeExtensionPoint]public interface ICommand{ void Run();} 定义扩展: [Ex ...
- QlikView TEXT控件固定显示图片
QlikView 的Text控件不仅可以用来展示文本也可以用来展示图片. 数据表 2个列,一个是 关联字段(Country),另外一个保存图片物理路径. TEXT控件固定显示图片 ,编辑控件表达式 = ...
- zedboard如何从PL端控制DDR读写(五)
有了前面的一堆铺垫.现在终于开始正式准备读写DDR了,开发环境:VIVADO2014.2 + SDK. 一.首先要想在PL端通过AXI去控制DDR,我们必须要有一个AXI master,由于是测试,就 ...
- 浅析Linux下的/etc/profile、/etc/bashrc、~/.bash_profile、~/.bashrc文件
转自:http://www.ahlinux.com/shell/20239.html 0x01 /etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行,并从/e ...
- 通知 Notification
1. NotificationManager ma=(NotificationManager) context.getSystemService(context.NOTIFICATION_SERVIC ...
- Flex_控件
1.Text控件 外观: 代码: <?xml version="1.0" encoding="utf-8"?> <s:Application ...
- tableview的顶部有一部分空白区域,并不是Cell的解决方法。
self.automaticallyAdjustsScrollViewInsets = false:
- 【228】◀▶ Excel 函数说明
官方帮助:Excel 函数(按字母顺序列出) 官方帮助:Excel 函数(按类别列出) 参考:EXCEL常用函数大全 01 N_ELEMENTS 表达式或者变量的元素个数. 02 DEFSYS ...