Page MenuHomeFreeBSD

Don't start grouptaskqueue threads for unused grouptaskqueues
Needs RevisionPublic

Authored by kmacy on Aug 28 2017, 2:19 AM.
Tags
None
Referenced Files
F107753808: D12142.diff
Fri, Jan 17, 11:39 PM
Unknown Object (File)
Thu, Jan 16, 12:56 AM
Unknown Object (File)
Tue, Jan 14, 4:13 AM
Unknown Object (File)
Tue, Jan 7, 9:34 PM
Unknown Object (File)
Dec 9 2024, 4:23 AM
Unknown Object (File)
Nov 21 2024, 9:10 PM
Unknown Object (File)
Nov 20 2024, 9:08 PM
Unknown Object (File)
Nov 16 2024, 5:37 PM

Details

Summary

Defer starting grouptaskqueue threads until the first time a grouptask is associated with the group.

This keeps iflib from cluttering ddb ps when there are no iflib drivers in the system.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 11273

Event Timeline

Only launch as many threads as we actually need
@sbruno dedicated branch vs iflib/ithread_dispatch called iflib/pollution reduction

This revision is now accepted and ready to land.Sep 5 2017, 12:29 AM

@shurd does this still work or should it be abandoned?

May as well abandon it until/unless there's interest. I don't think there's much gain for the added complexity.

This revision now requires changes to proceed.Sep 25 2024, 9:52 PM

@krzysztof.galazka_intel.com can you rebase this on main?

Did autocompletion tricked you, or am I really the target of your message? I'm not sure if @kmacy will be happy with me messing with his patch.

@krzysztof.galazka_intel.com can you rebase this on main?

Did autocompletion tricked you, or am I really the target of your message? I'm not sure if @kmacy will be happy with me messing with his patch.

Sorry I was looking at another review and got the wires crossed, for some reason I thought this was an Intel patch but I was looking at something else.

@krzysztof.galazka_intel.com can you rebase this on main?

Did autocompletion tricked you, or am I really the target of your message? I'm not sure if @kmacy will be happy with me messing with his patch.

Sorry I was looking at another review and got the wires crossed, for some reason I thought this was an Intel patch but I was looking at something else.

No problem. I was thinking about adding some way of dynamic control of number of threads in taskqgroup while working on https://reviews.freebsd.org/D46062 but it seemed to make things overcomplicated for tasks not critical for traffic performance.