《操作系统》英文笔记(一): Introduction To OS

发布时间:2026/10/9 3:19:38

《操作系统》英文笔记(一): Introduction To OS 笔者这学期在澳科大当交流生故这学期开始在这里分享澳科大这边课程的笔记先从《操作系统》课程开始吧。What is an Operating System?Most computers have two modes of operation:kernel modeanduser mode.OS runs inkernel mode(also called supervisor mode), which hascomplete access to all hardware and can execute any instruction.Rest of software runs inuser mode, which haslimited capability.Shell or GUI is the lowest level of user mode software.The user does not have to program the hardware directly, because OS hides all the troublesome operations of the hardware.Process is a running image of a program.Users are not working with the OS directly. Whatever programs you run, it behaves as processes.How to interact with the OS?For an ordinary users:OS is a “thing” that is able for them to store programs and run programs.For programmers:OS is a piece of software that allows them to:to interact with the user, by the OS for the I/O interface.to interact with the OS itself, by the OS for the system calls.For hardware driver programmers:OS is a piece of software that allows them to host the driver programs.System CallsKernel is the core of a computer’s OS, with complete control over everything in the system.System callsare the programming interface between processes and the OS kernel. The system calls are usuallyprimitive, important, fundamental.SummaryIn summary, an OS isa piece of software;a resource manager, which manages all the physical devices,a service provider, which provides a set of programming interfaces for processes to access to the resources.ProcessProgram ≠ ProcessA process is anexecution instanceof a program.More than one process can execute the same program code.A process is notbounded to execute just one program!A process is an active entity.A process has itslocal statesconcerning the execution. E.g., which line of codes it is running, and which CPU core (if there are many) it is running on.The local states change while running.Process Relationship (Tree Hierarchy)Process StateRunning (using CPU)Ready (runnable, but temporarily stopped to let another process run)Blocked (cannot run until some external event happens)MemoryMemory HierarchyA program is fetchedfrom hard disk to main memoryby OS.When executed, instructions in the program are fetchedfrom the main memory to CPU.The hierarchy does not just fit the program execution flow, but also forstoring processes, including the states of the processes.Process are stored at different devices controlled by the OS before they get a chance to runbecause there is only a finite number of CPUs (1-2) and only a finite number of processes can be executed“really at the same time”.Global variables, local Variables, dynamically allocated memory, and program code and constantsare the things a process has to stored in memory.File SystemA file system (FS) means the way that a storage device is used.A file systemmustcontain the following components:directories;files;allocated space;free space.Thestable sideof the file system: a file system is abouthow files are stored; apart from files, many other things are stored in the disk.Thedynamic sideof the file system: a file system is also aboutthe operations which update the content of the file system.A FS is independent of an OS:If an OS supports a FS, then the OS can do whatever operations over that storage device.Else, the OS doesn’t know how to read or update the device’s content.
延伸阅读

更多相关文章

2026/10/9 3:19:38

C++优先队列priority_queue详解:从堆原理到Top-K与Dijkstra应用

优先队列(C)这个话题,我确实想好好写一篇。做了这么多年实际项目和算法实现,我一直觉得 STL 里最被低估的容器之一就是std::priority_queue。很多人对vector、map、sort熟得不能再熟,但一提到“动态取最大值/最小值”的…

2026/10/9 3:19:38

前后端分离架构下,团队协作模式如何转型?接口契约与联调实践

这些年我带过不少 Web 项目团队,发现一件特别有意思的事:很多人以为“前后端分离”只是技术架构的升级,换了框架、拆了工程、改了部署方式就完事了。可真把团队拉进去做一两个迭代之后,你会发现最痛的根本不是技术选型&#xff0c…

2026/10/9 3:19:38

HTTP协议深度解析:从400错误到HTTP/3的实战指南

1. 从一次“打不开网页”的故障说起:HTTP 不是教科书里的抽象概念,而是你每次刷新页面时都在真实运行的协议上周帮某高校实验室调试一套远程图像采集系统,设备端能稳定生成JPEG帧,但Web管理界面始终显示“加载中…”——后端日志里…

2026/10/9 4:14:41

AI广告生成技术原理与实时ROI预测应用

我无法基于当前输入生成符合要求的博文。原因如下:项目标题“MiniMax 将参展纽约广告周”属于企业公关/市场活动类信息,本质是一条新闻通稿式短讯,不含任何可拆解的技术点、实操路径、原理机制、工具链或用户可复现的动作;项目正文…

2026/10/9 4:14:41

AI模型微调实战:LoRA与QLoRA技术解析

我无法基于当前输入生成符合要求的博文。原因如下:项目标题“Mistral CEO 发文表兴奋”缺乏明确的技术领域、具体事件背景、可操作内容或实际问题指向;项目正文为空,无任何原始描述可供理解上下文;关键词与摘要描述均为空&#xf…

2026/10/9 4:14:41

后端进阶实战:事务、缓存、并发、部署的关键设计避坑指南

写这个系列写到第三篇,我明显感觉沉淀下来的东西越来越偏"实务"了。前两篇聊的多是语法和框架层面的零散记忆,这篇我想换个角度,把这些年真正在项目里反复用到、也反复踩过坑的概念重新梳理一遍。说是知识点总结,其实就…

2026/10/9 4:14:41

基于SpringBoot的船舶维保管理系统设计与实践

船舶维保管理系统这个题目,这几年在毕业设计里出现频率相当高。用的人多,说明这个方向确实能打:业务场景明确、流程闭环完整、前后端都有足够的发挥空间,而且跟真实的工业信息化场景贴合得很紧。我前后帮朋友公司搭过类似的船队维…

2026/10/9 4:14:41

写Prompt总翻车?把任务、对象、依据、交付说清楚

搭 AI 对话工具到现在,我前前后后写了不下几百条 prompt,从最开始只会丢一句"帮我写个文案",到后来能稳定产出我要的东西,中间踩过的坑真的能写一本小册子。今天不聊那些花里胡哨的"万能公式",就聊…

2026/10/8 10:03:18

Jev+Agent接管浏览器:browser-use实战与jev-ultrafast性能优化

1. 从“Jev”说起:为什么我要把Agent接进浏览器“Jev”这个词最近在圈子里出现的频率越来越高,很多人第一次听到会以为是某个新模型的名字,其实它更像是一种思路——把Jev模型的能力当作底座,通过Agent的方式去接管浏览器&#xf…

2026/10/8 10:03:20

多智能体集群实战:DeepAgents编排、MCP与A2A协议及Skills体系

1. 从"单兵作战"到"集群协同":多智能体编排到底在解决什么问题如果你最近在折腾 Agent 相关的东西,大概率会有一种感觉:单个 Agent 能做的事情,其实很快就摸到天花板了。你给它一个提示词,挂几个工…

2026/10/8 6:05:44

无源低通滤波器设计实战:从RC到LC,手把手教你避开那些坑

/* MD / 富文本中的 .toc(含博客园搬家等嵌套结构);.toc-box 在侧栏,不受影响 */#content_views .toc,/* 编辑器常在目录前后插入空 p(:empty 仍占 20px),一并去掉避免顶空隙 */#content_views.markdown_views > p:empty:has(+ .toc),#content_views.markdown_views …

2026/10/9 0:04:27

毕业论文初稿完成后首次进行AIGC疑似度自查的摸底与分流策略

毕业论文初稿完成后首次进行AIGC疑似度自查的摸底与分流策略当数万字的学位论文初稿经历开题、实验、问卷与多轮文献梳理最终成形时,绝大多数研究生都会面临一道全新的形式审查关卡:AIGC 疑似度排查。在高校毕业审核流程中,盲审前的文本检测通…

2026/10/9 0:04:27

食堂节能改造源头工厂,商用厨房设备焕新方案广受好评

商用厨房作为餐饮经营、单位供餐的核心后勤阵地,其设备配置、动线规划与运维体系直接决定后厨作业效率、运营成本与合规性。从基础的灶具、制冷存储设备,到油烟净化、水处理等配套系统,每一个环节的合理性都与食品安全、能耗管控、消防安全挂…

还想了解更多?直接咨询顾问

免费诊断 + 免费方案 + 透明报价。

全国咨询热线400-8866-253
免费获取方案
☎咨询二维码 ☎ ↑