我刚刚发现我的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仍然存在?
谢谢,
flush过程负责将数据从临时磁盘刷新到永久磁盘。 它是一个替代旧的pdflush ,就像你提到的那样,声称更快的响应时间。 您看到的数字是指正在监视的块设备 。