Skip to content

Commit 9026ded

Browse files
committed
feat: Reduce CPU & IO priority of updates from game mode
1 parent 5a4d643 commit 9026ded

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

system_files/deck/shared/usr/lib/systemd/system/ublue-update-force.service

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ Description=Force Universal Blue Update Oneshot Service
55
Type=oneshot
66
ExecStart=/usr/bin/ublue-update --force
77
RemainAfterExit=no
8+
Nice=19
9+
CPUSchedulingPolicy=batch
10+
IOSchedulingClass=best-effort
11+
IOSchedulingPriority=7
12+
OOMScoreAdjust=1000
13+
CPUWeight=30
14+
CPUQuota=300%
15+
IOWeight=30

0 commit comments

Comments
 (0)