TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How IO Works?

2 点作者 atif0899 个月前
I want to learn how I&#x2F;O works in a reasonable detail.<p>For instance, when I want to do something with a disk, IIRC, things that get involved are<p>- Kernel &#x2F; OS calls (maybe we can skip this) - File System - MBR &#x2F; GPT - Random v&#x2F; Sequential calls<p>I want to understand what happens in each level. Is there anything I can read to gain understanding of all of these areas?

3 条评论

prosaic-hacker9 个月前
This is not a topic that can be explained while standing on one foot. It is a multi layer cake of hand-offs of information similar to the ISO OSI model of networking (which of course is I&#x2F;O through the network.<p>At the top end is a program asking built in function or library to print some text. Many layers down is the final hardware receiving the text and displaying it. These two video will cover the lower layers<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLowKtXNTBypFWff2QjXCWuSfJDWcvE0Vm" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLowKtXNTBypFWff2QjXCW...</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLowKtXNTBypFbtuVMUVXNR0z1mu7dp7eH" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;playlist?list=PLowKtXNTBypFbtuVMUVXN...</a>
NavinF9 个月前
Related: <a href="https:&#x2F;&#x2F;www.brendangregg.com&#x2F;Perf&#x2F;linux_observability_tools.png" rel="nofollow">https:&#x2F;&#x2F;www.brendangregg.com&#x2F;Perf&#x2F;linux_observability_tools....</a><p>Usually people who ask questions like this are debugging IO performance issues. That image shows the relevant layers and the tools you use to find issues like write amplification
评论 #41304662 未加载
wmf9 个月前
I would start with an operating systems textbook or MOOC. Then you have more specific books like Practical File System Design and there are a bunch of Linux kernel books but I&#x27;m not sure which ones are good for I&#x2F;O.