Increase zfs transaction timeout.
The goal here is to improve battery life by not waking up the CPU as often, but until I get the touchpad interrupt issue resolved, the difference won't be noticeable.
This commit is contained in:
parent
68ef17de4d
commit
14d80f5075
@ -5,6 +5,9 @@ set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# TODO: Maybe I should be reading hw.acpi.thermal.tz0.temperature
|
||||
# TODO: I could get the number of cores with kern.smp.cpus
|
||||
|
||||
SLEEP_INTERVAL=${SLEEP_INTERVAL:-30}
|
||||
|
||||
while true; do
|
||||
|
@ -0,0 +1 @@
|
||||
vfs.zfs.txg.timeout=20
|
@ -1,5 +1,9 @@
|
||||
# - name: Install packages
|
||||
# package:
|
||||
# name:
|
||||
# - foo
|
||||
# state: present
|
||||
- name: Install loader.conf
|
||||
copy:
|
||||
src: "files/{{ item }}_loader.conf"
|
||||
dest: "/boot/loader.conf.d/{{ item }}.conf"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- increase_transaction_timeout
|
||||
|
Loading…
x
Reference in New Issue
Block a user