Common sense and real time executives

W. E. Drissel
{"title":"Common sense and real time executives","authors":"W. E. Drissel","doi":"10.1145/259965.259978","DOIUrl":null,"url":null,"abstract":"Commercial real-time operating systems are complex and feature-laden. Size and complexity require extensive adaptation and long learning times. For the most common real-life requirements, one can write a real-time executive in one afiernoon in any language. Figures 1 and 2 contrast two views of the world of real time systems that of the operating system salesman and that of the author. Commercial products must have every known feature: pre-emptive scheduler, native OS file access, time slicing, message passing, dynamic task creation, priorities, memory allocation, event queues and flags, semaphores, mailboxes, time and calendar functions, etc. Adaptation to your system is required to prevent the kernel from occupying all available memory. This means sysgening and mastering yards of documentation in which ordinary words are used with extraordinary precision and there are significant penalties for misunderstanding. Contempcmq products may have over 50 “system calls” each requiring register setups and/or a communication block with manifold parameters and options. Horror stories abound of hundreds of man-hours spent in study of manuals, adaptation and cusPermisaion h. copy without fee ail or part of this material is granted, provided that the copies are not made or distributed for direct commercial advantage, the ACM copyright notice and the title of the publication and its date appear, and notice is given that copying is by p+mniasion of the Association for Computing Machine~. To copy otherwise, or to repubhsh, rquires a fee and/or spec~lc perndasion. @1991 ACM 0-89791-462-7/90/0200-0001 $1.50 tomizing without reaching a stable, useful foundation for development of the real system. The principal gain we seek from the employment of a real time executive is multi-tasking. I suspect that this term is poorly understood even among programmers. If you have a uniprocessor, its program location counter can be at only one location at any time. Consequently, for some people multi-tasking is a deep mystery. Stripped to its simplest terms, multi-tasking is the ability of a computer program to do more than one thing at a time whe,n observed from outside the computer using human time scale, Consider, for example, a simple multi-tasking system which polls a telemetry link, prints alarms on a logging printer and updates a wallboard display. When the telemetry link doesn’t have input ready, the CPU must be made available to the part of the program which sends characters to the logger. When the printer is busy printing a line, the CPU must be available to update the wallboard. Now, to a human watching the system, all three things seem to be progressing at once even though in a microsecond time scale only one task is occupying the CPU. If this is the only reason you need a real time executive, you can write your own in one afternoon in any language.","PeriodicalId":391657,"journal":{"name":"FORTH '90 and '91","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1991-03-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"FORTH '90 and '91","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/259965.259978","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Commercial real-time operating systems are complex and feature-laden. Size and complexity require extensive adaptation and long learning times. For the most common real-life requirements, one can write a real-time executive in one afiernoon in any language. Figures 1 and 2 contrast two views of the world of real time systems that of the operating system salesman and that of the author. Commercial products must have every known feature: pre-emptive scheduler, native OS file access, time slicing, message passing, dynamic task creation, priorities, memory allocation, event queues and flags, semaphores, mailboxes, time and calendar functions, etc. Adaptation to your system is required to prevent the kernel from occupying all available memory. This means sysgening and mastering yards of documentation in which ordinary words are used with extraordinary precision and there are significant penalties for misunderstanding. Contempcmq products may have over 50 “system calls” each requiring register setups and/or a communication block with manifold parameters and options. Horror stories abound of hundreds of man-hours spent in study of manuals, adaptation and cusPermisaion h. copy without fee ail or part of this material is granted, provided that the copies are not made or distributed for direct commercial advantage, the ACM copyright notice and the title of the publication and its date appear, and notice is given that copying is by p+mniasion of the Association for Computing Machine~. To copy otherwise, or to repubhsh, rquires a fee and/or spec~lc perndasion. @1991 ACM 0-89791-462-7/90/0200-0001 $1.50 tomizing without reaching a stable, useful foundation for development of the real system. The principal gain we seek from the employment of a real time executive is multi-tasking. I suspect that this term is poorly understood even among programmers. If you have a uniprocessor, its program location counter can be at only one location at any time. Consequently, for some people multi-tasking is a deep mystery. Stripped to its simplest terms, multi-tasking is the ability of a computer program to do more than one thing at a time whe,n observed from outside the computer using human time scale, Consider, for example, a simple multi-tasking system which polls a telemetry link, prints alarms on a logging printer and updates a wallboard display. When the telemetry link doesn’t have input ready, the CPU must be made available to the part of the program which sends characters to the logger. When the printer is busy printing a line, the CPU must be available to update the wallboard. Now, to a human watching the system, all three things seem to be progressing at once even though in a microsecond time scale only one task is occupying the CPU. If this is the only reason you need a real time executive, you can write your own in one afternoon in any language.
常识和实时管理人员
商业实时操作系统非常复杂且功能丰富。规模和复杂性需要广泛的适应和长时间的学习。对于最常见的现实需求,一个人可以在一个下午用任何语言编写一个实时执行程序。图1和图2对比了实时系统世界的两种观点,一种是操作系统销售员的观点,另一种是作者的观点。商业产品必须具备所有已知的功能:抢占式调度器、本机操作系统文件访问、时间切片、消息传递、动态任务创建、优先级、内存分配、事件队列和标志、信号量、邮箱、时间和日历功能等。需要适应您的系统,以防止内核占用所有可用内存。这意味着要整理和掌握大量的文档,在这些文档中,普通单词的使用非常精确,而且误解会受到严重的惩罚。contcmq产品可能有超过50个“系统调用”,每个调用都需要寄存器设置和/或具有多种参数和选项的通信块。许可h.允许免费复制本材料的全部或部分,前提是复制不是为了直接的商业利益而制作或分发,必须有ACM版权声明、出版物名称和出版日期,并注明复制是由计算机协会授权进行的。以其他方式复制或重新发布,需要支付费用和/或版权。在没有达到一个稳定的、有用的实际系统开发基础的情况下,实现了一触即发。我们从雇用实时执行人员中寻求的主要好处是多任务处理。我怀疑即使是程序员对这个术语的理解也很差。如果你有一个单处理器,它的程序位置计数器在任何时候只能在一个位置。因此,对一些人来说,一心多用是一个谜。从最简单的术语来看,多任务是计算机程序一次做多件事的能力,从计算机外部使用人类时间尺度观察,例如,考虑一个简单的多任务系统,它轮测遥测链路,在日志打印机上打印警报并更新墙板显示。当遥测链路没有准备好输入时,必须使CPU对向记录器发送字符的程序部分可用。当打印机正忙着打印一行时,CPU必须可用来更新墙板。现在,对于一个观察系统的人来说,这三件事似乎同时进行,即使在微秒的时间尺度上只有一个任务占用了CPU。如果这是你需要实时执行的唯一原因,你可以在一个下午用任何语言写一份自己的执行。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信