小编Ank*_*rni的帖子

块大小和IO之间的关系是什么?

我最近一直在阅读有关磁盘的信息,这让我产生了 3 个不同的疑问。而且我无法将它们链接在一起。我混淆的三个不同术语是block size,IOPerformance

当我遇到该语句时,我正在slashroot 上阅读有关超级块的信息

如果您的文件系统具有较大的块大小,则将执行较少的 IOPS。

由此我明白,如果我想读取 1024 KB 的数据,块大小为 4KB/4096B 的磁盘(比如 A)将比块大小为 64KB 的磁盘(比如 B)需要更多的 IO。

现在我的问题是磁盘 A 需要多少 IO?

据我了解,读取此数据所需的 IO 请求数量也取决于每个 IO 请求的大小。

  • So who is deciding what is the size of the IO request? Is it equal to the block size? 有人说您的应用程序决定了 IO 请求的大小,这似乎很公平,但是操作系统如何将单个请求划分为多个 IO。 There must be a limit after which the request splits in more then one IO. How to find that limit ? …

performance filesystems hard-drive io

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

filesystems ×1

hard-drive ×1

io ×1

performance ×1