pdflush was used and it would spawn more
pdflush threads if all current
pdflush threads were busy for a second (read from The Linux Page Cache and pdflush).
pdflush has been replaced by per-backing-device threads that are named
flush-MAJOR (read from Linux 2 6 32 - Linux Kernel Newbies).
Is there a way to spawn multiple
flush-MAJOR threads for a single backing device?
I am currently writing a large amount of data to a disk and while this is happening I am seeing the
[flush-8:32] process at almost 100% cpu in
top. I am wondering if there is a way to spawn more
flush-MAJOR threads for a particular device that has a heavy I/O load. I don't know if it will help performance, but I would like to see what it does.
I saw evidence that multiple flusher threads per device should be supported in Flushing out pdflush:
After review of the first attempt, Jens added functionality of having multiple flusher threads per device based on the suggestions of Andrew Morton.
But I have no idea how to make this happen or if it happens automatically and I am missing it.
I am running RHEL 6.4 with a 2.6.32-358.el6.x86_64 kernel.