在进程间通信中FIFO是用的文件系统进行进程间的通信?gvfsd-smb-brows是什么样

时间:2018-01-29 13:14:01   浏览:次   点击:次   作者:   来源:   立即下载

貌似不会通过文件系统传输。

man fifo

A FIFO special file (a named pipe) is similar to a pipe, except that it is

accessed as part of the file system. It can be opened by multiple processes

for reading or writing. When processes are exchanging data via the FIFO, the

kernel passes all data internally without writing it to the file system.

Thus, the FIFO special file has no contents on the file system; the file

system entry merely serves as a reference point so that processes can access

the pipe using a name in the file system.用Google翻译了①下,注意这句话:

kernel passes all data internally without writing it to the file system.

既然没有对文件系统的读写操作,当然不费时。

cpu占用高是个bug。

解决方法:

但凡问CPU为什么这么高的,请给①下perf数据。最简单的方法是:

sudo perf top

收起

相关推荐

相关应用

平均评分 0人
  • 5星
  • 4星
  • 3星
  • 2星
  • 1星
用户评分:
发表评论

评论

  • 暂无评论信息