Commit f2439a7
committed
feat(thp): disable transparent huge pages for DDE daemon services
1. Add dde-thp-disable script to disable THP at cgroup level before service startup
2. Integrate as ExecStartPre in dde-lock, dde-system-daemon, and dde-session-daemon services
3. Update Makefile and Debian packaging to install the script to /usr/libexec/
Log: Disable THP for DDE daemon processes to optimize memory behavior
feat(thp): 禁用 DDE 守护进程的透明大页
1. 新增 dde-thp-disable 脚本,在服务启动前通过 cgroup 禁用 THP
2. 将脚本作为 ExecStartPre 集成到 dde-lock、dde-system-daemon 和 dde-session-daemon 服务中
3. 更新 Makefile 和 Debian 打包规则,将脚本安装到 /usr/libexec/
Log: 为 DDE 守护进程禁用透明大页以优化内存行为
PMS: TASK-3900431 parent 2e39d84 commit f2439a7
6 files changed
Lines changed: 26 additions & 0 deletions
File tree
- debian
- misc
- systemd/services
- system
- user
- thp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments