fix: Further reduce BTRFS resource allocations

This commit is contained in:
Kyle Gospodnetich 2024-09-16 09:12:12 -07:00 committed by GitHub
parent 193c7614f7
commit 606694634c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,11 +6,16 @@ EnvironmentFile=-/etc/conf.d/btrfs-dedup
ExecStart=/usr/bin/btrfs-dedup %f
ExecReload=/usr/bin/btrfs-dedup --powerchange
PIDFile=/run/btrfs-dedup/%i.pid
MemoryAccounting=yes
MemoryHigh=1G
MemoryMax=2G
MemorySwapMax=500M
CPUAccounting=true
Nice=19
CPUSchedulingPolicy=batch
IOSchedulingClass=best-effort
IOSchedulingPriority=7
OOMScoreAdjust=1000
CPUWeight=30
CPUQuota=100%
CPUQuota=50%
IOWeight=30