青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

posts - 297,  comments - 15,  trackbacks - 0

V6:::::::::

1.3 What is the main advantage of multiprogramming?
Answer: Multiprogramming makes efficient use of the CPU by overlapping the demands for the CPU and its I/O devices from various users. It attempts to increase CPU utilization by always having something for the CPU to execute.

1.5 In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in various security problems.
a. What are two such problems?
b. Can we ensure the same degree of security in a time-shared machine as we have in a
dedicated machine? Explain your answer.
Answer:
a. Stealing or copying one’s programs or data; using system resources (CPU, memory, disk space, peripherals) without proper accounting.
b. Probably not, since any protection scheme devised by humans can inevitably be broken by a human, and the more complex the scheme, the more difficult it is to feel
confident of its correct implementation.

1.9 Describe the differences between symmetric and asymmetric multiprocessing. What are three advantages and one disadvantage of multiprocessor systems?
Answer: Symmetric multiprocessing treats all processors as equals, and I/O can be processed on any CPU. Asymmetric multiprocessing has one master CPU and the remainder CPUs are slaves. The master distributes tasks among the slaves, and I/O is usually done by themaster only. Multiprocessors can savemoney by not duplicating power supplies, housings, and peripherals. They can execute programs more quickly and can have increased reliability. They are also more complex in both hardware and software than uniprocessor systems.

1.10 What is the main difficulty that a programmer must overcome in writing an operating system for a real-time environment?
Answer: The main difficulty is keeping the operating system within the fixed time constraints of a real-time system. If the system does not complete a task in a certain time
frame, it may cause a breakdown of the entire system it is running. Therefore when writing an operating system for a real-time system, the writer must be sure that his scheduling schemes don’t allow response time to exceed the time constraint.
 
2.1 Prefetching is a method of overlapping the I/O of a job with that job’s own computation.
The idea is simple. After a read operation completes and the job is about to start operating on the data, the input device is instructed to begin the next read immediately. The CPU and input device are then both busy. With luck, by the time the job is ready for the next data item, the input device will have finished reading that data item. The CPU can then begin processing the newly read data, while the input device starts to read the following data.
A similar idea can be used for output. In this case, the job creates data that are put into a buffer until an output device can accept them. Compare the prefetching scheme with the spooling scheme, where the CPU overlaps the input of one job with the computation and output of other jobs.
Answer: Prefetching is a user-based activity, while spooling is a system-based activity.
Spooling is a much more effective way of overlapping I/O and CPU operations.

2.3 What are the differences between a trap and an interrupt? What is the use of each function?
   An interrupt is a hardware-generated change-of-flow within the system. An interrupt handler is summoned to deal with the cause of the interrupt; control is then re-turned to the interrupted context and instruction. 
   A trap is a software-generated interrupt.
   An interrupt can be used to signal the completion of an I/O to obviate the need for device polling. 
   A trap can be used to call operating system routines or to catch arithmetic errors.

V7::::::::

19.3 The Linux 2.6 kernel can be built with no virtual memory system. Explain how this feature may appeal to designers of real-time systems.
Answer: By disabling the virtual memory system, processes are guaranteed to have portions of its address space resident in physical memory.
This results in a system that does not suffer from page faults and therefore does not have to deal with unanticipated costs corresponding to paging the address space.
 The resulting system is appealing to designers of real-time systems who prefer to avoid variability in performance.




posted on 2009-03-15 13:20 chatler 閱讀(329) 評論(0)  編輯 收藏 引用 所屬分類: OS
<2009年3月>
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

常用鏈接

留言簿(10)

隨筆分類(307)

隨筆檔案(297)

algorithm

Books_Free_Online

C++

database

Linux

Linux shell

linux socket

misce

  • cloudward
  • 感覺這個博客還是不錯,雖然做的東西和我不大相關,覺得看看還是有好處的

network

OSS

  • Google Android
  • Android is a software stack for mobile devices that includes an operating system, middleware and key applications. This early look at the Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.
  • os161 file list

overall

搜索

  •  

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            国产一区二区| 一本色道久久综合亚洲精品不| 在线看日韩av| 黄色亚洲在线| 在线不卡a资源高清| 好吊视频一区二区三区四区| 国内成+人亚洲| 最新日韩中文字幕| 一区二区免费在线播放| 亚洲你懂的在线视频| 午夜亚洲伦理| 久久一区二区三区四区| 欧美成人自拍视频| 亚洲欧洲日本mm| 亚洲第一页中文字幕| 一区二区三区精品久久久| 亚洲欧美日韩国产中文| 久久久久国产一区二区三区| 欧美另类一区| 国产午夜精品在线| 日韩天堂在线观看| 午夜在线精品| 亚洲高清视频在线观看| 亚洲天堂激情| 欧美高潮视频| 国产亚洲欧洲一区高清在线观看| 亚洲精品九九| 久久精品免费看| 欧美成人国产一区二区| 欧美jjzz| 一区二区三区蜜桃网| 午夜在线一区| 欧美高清在线| 国内精品一区二区| 亚洲天堂av在线免费观看| 久久国产免费| 亚洲精品在线免费观看视频| 久久久久久久久综合| 国产精品国产精品国产专区不蜜| 亚洲国产精品免费| 久久精品国产精品亚洲精品| 99视频+国产日韩欧美| 久久综合国产精品| 国产日本亚洲高清| 午夜精品视频在线| 亚洲视频在线观看视频| 欧美日韩精品久久久| 在线看日韩av| 麻豆精品视频在线观看视频| 中文在线不卡视频| 欧美电影免费观看大全| 在线不卡欧美| 能在线观看的日韩av| 欧美一区二区视频观看视频| 国产精品网站在线| 亚洲欧美精品suv| 一区二区三区 在线观看视| 欧美精品18videos性欧美| 一区二区在线看| 美女网站在线免费欧美精品| 欧美亚洲一区二区三区| 亚洲天堂男人| 国产精品久久7| 亚洲女同在线| 午夜精品亚洲一区二区三区嫩草| 国产精品一区二区你懂得| 香蕉av777xxx色综合一区| 亚洲专区一二三| 国产精品午夜春色av| 久久精品91| 久久人人97超碰精品888| 91久久夜色精品国产九色| 美女黄毛**国产精品啪啪| 久久夜色精品国产欧美乱| 亚洲人成毛片在线播放女女| 欧美高清在线精品一区| 欧美高清视频免费观看| 亚洲精品免费看| 一级成人国产| 国产一区二区三区久久 | 欧美不卡高清| 日韩视频免费看| 一本色道88久久加勒比精品 | 欧美亚洲免费在线| 欧美一级久久久| 在线观看日韩国产| 欧美激情在线| 国产精品欧美激情| 蜜臀久久99精品久久久久久9| 久久久亚洲精品一区二区三区 | 国产精品久久久久三级| 久久久久国产免费免费| 老司机免费视频一区二区三区| 亚洲精选91| 亚洲欧美久久久| 亚洲欧洲午夜| 西瓜成人精品人成网站| 亚洲人成在线播放| 亚洲欧美日韩一区二区三区在线观看 | 亚洲女女女同性video| 黑人操亚洲美女惩罚| 亚洲欧洲综合另类| 国产日韩欧美视频| 亚洲每日在线| 91久久精品日日躁夜夜躁国产| 亚洲性人人天天夜夜摸| 亚洲日本中文字幕| 久久精品欧洲| 亚洲欧美日韩一区在线| 欧美va天堂va视频va在线| 久久爱www久久做| 欧美日韩人人澡狠狠躁视频| 免费观看不卡av| 国产欧美丝祙| 亚洲少妇在线| 在线亚洲观看| 欧美大片va欧美在线播放| 久久久久久网| 国产色产综合色产在线视频 | 美女主播一区| 久久偷看各类wc女厕嘘嘘偷窃| 欧美特黄一级| 亚洲人成免费| 91久久综合| 美女免费视频一区| 免费久久精品视频| 在线观看欧美精品| 欧美在线黄色| 久久久综合精品| 黄色日韩在线| 美日韩丰满少妇在线观看| 欧美电影电视剧在线观看| 亚洲国产精品嫩草影院| 蜜臀av性久久久久蜜臀aⅴ| 欧美jizz19性欧美| 亚洲激情网站| 欧美激情乱人伦| 亚洲黄色性网站| 99国产精品国产精品久久 | 国产亚洲精品久久久| 亚洲欧美视频一区| 久久精品理论片| 黄色日韩网站| 免费在线亚洲| 亚洲三级色网| 亚洲一区免费| 国产日韩av一区二区| 久久精品国产亚洲一区二区| 久久久五月婷婷| 午夜在线一区二区| 欧美va天堂va视频va在线| 欧美成人午夜免费视在线看片| 国产一区二区三区在线观看免费| 亚洲综合色丁香婷婷六月图片| 亚洲一二三区视频在线观看| 欧美日韩中文字幕在线视频| 日韩一二在线观看| 亚洲欧美综合| 国外成人网址| 农夫在线精品视频免费观看| 亚洲精品影视在线观看| 午夜欧美理论片| 影音先锋国产精品| 欧美日韩mp4| 欧美一区激情| 亚洲国产裸拍裸体视频在线观看乱了中文 | 久久一区精品| 国产欧美日本| 欧美一区二区三区在线播放| 国产精品一区二区三区四区| 午夜精品在线| 欧美成人激情视频| 中文久久乱码一区二区| 国产欧美综合在线| 男女激情视频一区| 亚洲一区二区三区中文字幕 | 亚洲国产影院| 欧美一区二区精品| 亚洲国产导航| 国产精品嫩草久久久久| 久久夜色精品国产欧美乱| 日韩午夜在线播放| 欧美成人r级一区二区三区| 一本色道久久88亚洲综合88| 国产日韩欧美一区二区三区在线观看| 久热精品视频在线免费观看 | 亚洲丝袜av一区| 男人天堂欧美日韩| 欧美一区二区三区四区高清| 99精品欧美一区二区蜜桃免费| 黄网动漫久久久| 国产精品日日摸夜夜摸av| 欧美精品久久99| 久久久久久夜| 亚洲欧美日韩视频一区| 99亚洲一区二区| 亚洲精品社区| 欧美激情影音先锋| 欧美国产日本韩| 另类图片综合电影|