加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux-kernel – 找不到pdflush线程?

发布时间:2020-12-14 02:25:45 所属栏目:Linux 来源:网络整理
导读:我刚刚发现我的 Linux上没有pdflush,v2.6.38.但是当我做的时候 ps uax | grep flush 表明: root 269 0.1 0.0 0 0 ? S 13:05 0:04 [flush-8:0] 我的内核是: Linux yonggang-laptop 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011 i686 i68
我刚刚发现我的 Linux上没有pdflush,v2.6.38.但是当我做的时候
ps uax | grep flush

表明:

root       269  0.1  0.0      0     0 ?        S    13:05   0:04 [flush-8:0]

我的内核是:

Linux yonggang-laptop 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:18:14 UTC 2011 i686 i686 i386 GNU/Linux

似乎[flush8:0]是pdflush的替代品.有没有人有关于[flush-8:0]线程如何工作以及8:0是什么意思的更多信息?我知道在旧版本中,pdflush线程的数量是2-8,并且它随系统回写工作负载而变化.我希望[flush-8:0]线程做类似的事情.另外,如果没有pdflush线程,为什么/ proc / sys / vm / nr_pdflush_threads仍然存在?

谢谢,

解决方法

刷新过程负责将数据从临时磁盘刷新到永久磁盘.它可以替代旧的pdflush,就像你提到的那样,声称响应时间要快得多. The numbers you see refer to the block device it is monitoring.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读