操作系统知识总结

这篇博客深入探讨了操作系统的关键方面,包括内存管理中的伙伴算法、TLB缓存和COW技术,I/O处理中的中断、DMA和IOMMU,以及文件系统的MBR、FAT表和Inodes。此外,还讨论了轮询、RAID、LVM、网络协议UDP、TCP和ARP等。
摘要由CSDN通过智能技术生成

memory management

Buddy algorithm:https://blog.csdn.net/chudongfang2015/article/details/79433748
TLB(translation lookaside buffer): 不查page table,快速映射到物理地址
COW(copy on write):https://zhuanlan.zhihu.com/p/48147304

I/O

IRQ:https://blog.csdn.net/wangjianno2/article/details/50529991
串口并口和com口:https://www.jianshu.com/p/b6dd8f48142b
内存映射(MIMO)与端口映射(PortIO):https://zhuanlan.zhihu.com/p/37715216
精确中断和非精确中断(与精确异常解释应该类似):https://blog.csdn.net/hsly_support/article/details/8491289
轮询(Polling):是一种CPU决策如何提供周边设备服务的方式,又称“程控输入输出”(Programmed I/O)。轮询法的概念是:由CPU定时发出询问,依序询问每一个周边设备是否需要其服务,有即给予服务,服务结束后再问下一个周边,接着不断周而复始。
DMA(Direct memory access):https://blog.csdn.net/zinnc/article/details/79019141
IOMMU(Input/Output Memory Management Unit):https://zhuanlan.zhihu.com/p/348826888
设备的major和minor: https://nanxiao.me/linux-kernel-note-20-device-major-minor-number/
Hard Disk Perform:https://www.cnblogs.com/AmilyWilly/p/4704384.html(seek+rotation delay + transfer byte)
饥饿(starvation)是指在并发计算中,进程一直无法获得运行所需的必要资源而发生的问题[1]。排程、互斥锁算法、资源泄露(英语:Resource leak)等都可能导致饥饿,或者在被DoS攻击(如fork炸弹)时主动产生饥饿。
CFQ算法(和deadline算法有类似点):https://blog.51cto.com/alanwu/1393078
device handler和device drivers的区别:https://www.tl80.cn/article/198231
RAID:https://zhuanlan.zhihu.com/p/119452913
https://blog.csdn.net/ChenVast/article/details/77906712
LVM(逻辑卷管理):https://blog.51cto.com/u_15052541/4536500

other IO related funcs and techs

disk cache: reduce average memory access time(disk cache is a buffer in main memory for disk sectors, and contain a copy of some of the secotrs on the disk)
Rom, Ram and FLASH:https://zhuanlan.zhihu.com/p/38339306

File system

Properties:

  • long-term existence
  • sharable between process
  • structure(can be organized into hierarchical or more complex structure)

Files: created by processes,use model distk instead of RAM, persistent
(not affected by processes creation and termnation), managerd by OS
File system: The part of OS dealing with files

Disk layout P 33

sector 0 of the disk called MBR(Master boot record)
The end of MBR contains the partition table

FAT表:https://zh.wikipedia.org/zh-cn/%E6%AA%94%E6%A1%88%E9%85%8D%E7%BD%AE%E8%A1%A8

Inodes

https://www.jianshu.com/p/09c476d60dbb

Log-Structured FIle System

https://zhuanlan.zhihu.com/p/41358013
JFS(日志文件系统):https://searchsecurity.techtarget.com.cn/whatis/11-25189/

Page cache 和 Buffer cache:https://blog.csdn.net/zzhongcy/article/details/89399399

Firmwarm: a generic term for embeed software(BIOS,UEFI)
driver 和 firmwarm的区别;https://www.zhihu.com/question/22175660

network

UDP协议:https://zhuanlan.zhihu.com/p/64154915
TCP协议:https://hit-alibaba.github.io/interview/basic/network/TCP.html
ARP协议:protocol to discover link layer address

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值