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
Unknown Object (File)
Thu, Nov 21, 9:10 PM
Unknown Object (File)
Wed, Nov 20, 9:08 PM
Unknown Object (File)
Sat, Nov 16, 5:37 PM
Unknown Object (File)
Thu, Nov 14, 12:33 AM
Unknown Object (File)
Oct 6 2024, 10:33 PM
Unknown Object (File)
Oct 6 2024, 10:33 PM
Unknown Object (File)
Oct 6 2024, 10:32 PM
Unknown Object (File)
Oct 1 2024, 6:41 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.