English 中文(简体)
页: 1
原标题:I/O buffer cache for disk file in Linux kernel

I have a question about kernel I/O cache for disk file. As I know when write() or read() is called, there s a buffer cache in kernel space for disk file I/O operation. My question is that, is this I/O buffering only applies to disk file, or it also applies to terminal, FIFO, pipe, and sockets?

增 编

最佳回答

它被称为“一页的切”。 该网页由文档和“匿名页面”支持,由互换成。 这都是六氯环己烷虚拟记忆子系统的一部分。

它没有用于TTYs、 FIFOs、管道或地壳。 每个人都根据自身的性质进行自我缓冲;例如,你写给管道的数据必须在某个地方居住,然后再重新阅读。 但是,这种缓冲与后继系统毫无关系。

[日期]

请注意,这种缓冲完全独立于(例如)<代码>fwrite(<>提供的用户空间缓冲。 (我看到你早些时候提出了类似问题,不清楚你是否理解这一区别)。)

问题回答

暂无回答




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签