You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Extension interface provides a way to customize resource-tuner behaviour, by specifying custom resources, custom signals and features.
98
98
- Resource-tuner uses YAML based config files, for fetching information relating to resources/signals and properties.
99
99
## Contextual Classifier
100
-
- Contextual Classifier identifies usecase type based on offline trained model
101
-
- Sends signals to Resource Tuner on app opening or launching with app pid and use-case type
102
-
- Extracts use-case's further details based on app pid
103
-
- Moves focused active app's threads to "Focused" cgroup
104
-
- Move previously focused app threads to its origional group
105
-
- This is an optional module which can be enabled at compile time
100
+
The Contextual Classifier is an optional module designed to identify the static context of workloads (e.g., whether an application is a game, multimedia app, or browser) based on an offline-trained model.
101
+
102
+
**Key functionalities include:**
103
+
-**Process Event Monitoring:** Monitors process creation and termination events via Netlink.
104
+
-**Process Classification:** Classifies workloads (e.g., game, multimedia) using fastText (if enabled at build time). If fastText is not built, a default inference mechanism that always classifies the workload as an application.
105
+
-**Signal Generation:** Retrieves specific signal details based on classified workload types.
106
+
-**Cgroup Management:** Dynamically manages cgroups by moving application threads to designated cgroups.
107
+
-**Action Application:** Calls `ApplyActions` to send tuning requests and `RemoveActions` to untune for process events.
108
+
-**Configurability:** Influenced by configuration files such as `fasttext_model_supervised.bin`, `classifier-blocklist.txt`, and `ignore-tokens.txt`.
0 commit comments