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
Copy file name to clipboardExpand all lines: docs/rule_behavior_and_tips.md
+15-42Lines changed: 15 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,22 +22,14 @@
22
22
23
23
## Rule Priority
24
24
25
-
<details>
26
-
<summary>Click to expand</summary>
27
-
28
25
When applying rules, the program first checks **service rules** and then moves to **process rules**. This means that if
29
26
a service matches a rule, it will take precedence. If no matching service rule is found, the program then applies the
30
27
first matching process rule.
31
28
32
29
> **Note:** Only the first matching rule is applied, so the order of the rules in the configuration is important.
33
30
34
-
</details>
35
-
36
31
## Ignoring a Process
37
32
38
-
<details>
39
-
<summary>Click to expand</summary>
40
-
41
33
To ignore a process without applying any specific settings:
42
34
43
35
1. Go to the **Process Rules** tab.
@@ -47,13 +39,8 @@ To ignore a process without applying any specific settings:
47
39
48
40
This will ensure that the process is excluded from any modifications by the governor.
49
41
50
-
</details>
51
-
52
42
## Rule for All Processes
53
43
54
-
<details>
55
-
<summary>Click to expand</summary>
56
-
57
44
To apply a rule to all processes:
58
45
59
46
1. Go to the **Process Rules** tab.
@@ -62,13 +49,8 @@ To apply a rule to all processes:
62
49
4. Configure the desired settings (e.g., affinity, priority).
63
50
5. Place this rule at the bottom of the list to allow more specific rules to take precedence.
64
51
65
-
</details>
66
-
67
52
## Disabling Hyperthreading
68
53
69
-
<details>
70
-
<summary>Click to expand</summary>
71
-
72
54
To limit a process to physical CPU cores and disable the use of hyperthreaded (logical) cores:
73
55
74
56
1. Go to the **Process Rules** tab.
@@ -78,13 +60,8 @@ To limit a process to physical CPU cores and disable the use of hyperthreaded (l
78
60
79
61
This will prevent the process from using hyperthreaded cores, which can be beneficial for certain workloads.
80
62
81
-
</details>
82
-
83
63
## Using Delay to Avoid Side Effects
84
64
85
-
<details>
86
-
<summary>Click to expand</summary>
87
-
88
65
For some applications, especially games, applying settings like core affinity immediately upon startup can cause issues.
89
66
Adding a delay ensures the process has time to initialize before adjustments are applied.
90
67
@@ -96,13 +73,8 @@ Adding a delay ensures the process has time to initialize before adjustments are
96
73
97
74
This helps avoid potential problems like sound not working.
98
75
99
-
</details>
100
-
101
76
## Optimizing for Older or Single-Threaded Games
102
77
103
-
<details>
104
-
<summary>Click to expand</summary>
105
-
106
78
Older or poorly optimized games that don’t efficiently use multiple cores can stutter if run with the default core
107
79
affinity settings. To improve performance:
108
80
@@ -114,13 +86,8 @@ affinity settings. To improve performance:
114
86
115
87
This setup can help distribute the load more effectively and reduce stuttering.
116
88
117
-
</details>
118
-
119
89
## Fixing Audio Crackling Issues
120
90
121
-
<details>
122
-
<summary>Click to expand</summary>
123
-
124
91
To address audio crackling or stuttering under high CPU load, it’s recommended to increase the priority of audio-related
125
92
processes and services to ensure they have sufficient CPU resources.
126
93
@@ -143,22 +110,28 @@ usage.
143
110
144
111
### Advanced Setup: Load Distribution Across CPU Cores
145
112
146
-
For all previously added rules related to audio processes, it is recommended to configure **Affinity** to assign specific CPU cores dedicated to audio processing tasks. This helps ensure that audio processes have sufficient CPU resources, minimizing interference from other tasks.
113
+
For all previously added rules related to audio processes, it is recommended to configure **Affinity** to assign
114
+
specific CPU cores dedicated to audio processing tasks. This helps ensure that audio processes have sufficient CPU
115
+
resources, minimizing interference from other tasks.
147
116
148
-
For example, if you have a **16-thread processor with 8 cores**, you can allocate the last 2 cores (threads 12-15) for audio tasks, while the first 6 cores (threads 0-11) can be reserved for other applications.
117
+
For example, if you have a **16-thread processor with 8 cores**, you can allocate the last 2 cores (threads 12-15) for
118
+
audio tasks, while the first 6 cores (threads 0-11) can be reserved for other applications.
149
119
150
120
#### Steps:
151
121
152
122
1. For each previously configured audio process rule:
153
-
- Set **Affinity** to the last 2 cores (e.g., threads 12-15) for handling audio processing tasks.
123
+
- Set **Affinity** to the last 2 cores (e.g., threads 12-15) for handling audio processing tasks.
154
124
155
125
2. After configuring the audio processes, add a new rule for all other processes:
156
-
- Set **Process Selector** to `*`.
157
-
- Set **Affinity** to allocate the remaining CPU cores (e.g., threads 0-11) for non-audio tasks.
158
-
-**Important:** This rule must be placed **last** in the rule list, as it serves as a fallback for any processes that are not explicitly defined in previous rules.
126
+
- Set **Process Selector** to `*`.
127
+
- Set **Affinity** to allocate the remaining CPU cores (e.g., threads 0-11) for non-audio tasks.
128
+
-**Important:** This rule must be placed **last** in the rule list, as it serves as a fallback for any processes
129
+
that are not explicitly defined in previous rules.
159
130
160
-
> **Note:** Avoid modifying the **Affinity** for audio services like **AudioSrv** or **AudioEndpointBuilder**, as this may worsen performance. Adjusting the priority for these services is usually sufficient to resolve audio issues such as crackling and stuttering.
131
+
> **Note:** Avoid modifying the **Affinity** for audio services like **AudioSrv** or **AudioEndpointBuilder**, as this
132
+
> may worsen performance. Adjusting the priority for these services is usually sufficient to resolve audio issues such
133
+
> as crackling and stuttering.
161
134
162
-
This configuration helps distribute the CPU load, isolating audio processes to specific cores, ensuring smoother and more stable sound under high system load.
135
+
This configuration helps distribute the CPU load, isolating audio processes to specific cores, ensuring smoother and
0 commit comments