4.4-final: 28 bioset threads on small notebook

From: Pavel Machek
Date: Sat Feb 20 2016 - 12:40:43 EST



On Fri 2015-12-11 09:08:41, Mike Snitzer wrote:
> On Fri, Dec 11 2015 at 5:49am -0500,
> Pavel Machek <pavel@xxxxxx> wrote:
>
> > Hi!
> >
> > I know it is normal to spawn 8 threads for every single function,
> ...
> > but 28 threads?
> >
> > root 974 0.0 0.0 0 0 ? S< Dec08 0:00 [bioset]
> ...
>
> How many physical block devices do you have?
>
> DM is doing its part to not contribute to this:
> dbba42d8a ("dm: eliminate unused "bioset" process for each bio-based DM device")
>
> (but yeah, all these extra 'bioset' threads aren't ideal)

Still there in 4.4-final.

Block devices:
259 blkext
7 loop
8 sd
9 md
11 sr
43 nbd
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
251 device-mapper
252 bcache
253 pktcdvd
254 mdp


--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html