Flushing out pdflush
Flushing out pdflush
Posted Apr 4, 2009 20:59 UTC (Sat) by nix (subscriber, #2304)In reply to: Flushing out pdflush by mjcoder
Parent article: Flushing out pdflush
crazy number.
Posted Apr 5, 2009 0:09 UTC (Sun)
by knobunc (guest, #4678)
[Link] (8 responses)
Posted Apr 5, 2009 11:56 UTC (Sun)
by nix (subscriber, #2304)
[Link] (7 responses)
A thread pool would surely be better (for something like this, anyway, in
Posted Apr 5, 2009 14:27 UTC (Sun)
by i3839 (guest, #31386)
[Link] (6 responses)
A thread pool would only be better if you would otherwise allocate too many threads per device. But if you allocated too many, there's nothing that prevents having a too high number of threads in the pool either, so it's just shuffling the problem around.
Posted Apr 5, 2009 18:27 UTC (Sun)
by nix (subscriber, #2304)
[Link] (5 responses)
Posted Apr 6, 2009 11:44 UTC (Mon)
by i3839 (guest, #31386)
[Link] (4 responses)
Posted Apr 6, 2009 19:31 UTC (Mon)
by nix (subscriber, #2304)
[Link]
Posted Apr 17, 2009 12:41 UTC (Fri)
by axboe (subscriber, #904)
[Link] (2 responses)
It's mostly to satisfy the people getting annoyed when looking at the ps output. An idle kernel thread is essentially free. Of course if you have 10000 logical disks in your system, you'll probably appreciate not spending memory on the threads at least.
Posted Apr 17, 2009 22:29 UTC (Fri)
by nix (subscriber, #2304)
[Link] (1 responses)
(Also, kernel threads still need a kernel stack: that's 8Kb of memory you
Posted Apr 17, 2009 23:43 UTC (Fri)
by njs (subscriber, #40338)
[Link]
But anyway, yeah, for ordinary systems the memory usage matters a little but not much.
Flushing out pdflush
Flushing out pdflush
which the full complement will only be needed in extreme situations).
There are several thread pools in the kernel (pdflush) or out-of-tree
patches (fs-cache's slow-work threads) already. It's quite doable.
Flushing out pdflush
Flushing out pdflush
containing only /usr is only going to be written to during a package
upgrade). Why devote a thread to it which will be idle nearly all the
time?
Flushing out pdflush
Flushing out pdflush
Flushing out pdflush
Flushing out pdflush
huge numbers of even idle processes tended to slow down the PID allocator
horribly.
won't see again. Not much by modern standard perhaps...)
Flushing out pdflush