device/main/linux-postmarketos-allwinner: Switch to CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL (MR 3720)

Schedutil is a CPU scheduler that is designed to be more efficient than other schedulers, such as the conservative scheduler, in terms of energy consumption.
This is because schedutil uses information about the utilization of individual CPU cores to make more intelligent decisions about when and how to scale the frequency of the CPU.
This can help to reduce the overall power consumption of the device, which can be particularly beneficial for battery-powered devices.
Additionally, schedutil can also help to improve the overall performance of the device by ensuring that the CPU is able to operate at its maximum frequency when needed.

In my personal testing I haven't seen any noticable impact on power consumption, while the performance does certainly noticeably increase
Note: This is only a change in the aarch64 configuration as the armv7 configuration already used the schedutil scheduler as default.

[ci:skip-build]: Already built successfully in CI
This commit is contained in:
Jan Jasper de Kroon 2022-12-12 13:50:31 +01:00 committed by Newbyte
parent 1bb85eecbd
commit 2707def9f8
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ _flavor=postmarketos-allwinner
_config="config-$_flavor.$CARCH"
pkgname=linux-$_flavor
pkgver=6.1.0_rc7_git20221205
pkgrel=1
pkgrel=2
_tag="orange-pi-6.1-20221205-1151"
pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)"
arch="aarch64 armv7"
@ -84,7 +84,7 @@ package() {
sha512sums="
f947f76e29f9ffe77583af9fe6fb985afd86e6da48111ded26ee5ef0796e7a4afc9aca8d2598f0eaed69c9022d21a972d922fd540ea878125417b887b3388d31 linux-postmarketos-allwinner-orange-pi-6.1-20221205-1151.tar.gz
82b413a6385a733660d423a51fe10711d6f624e04b270d2516ff52320530d416a3f9abacea2c571ef831d1006c9090821271120eddff5f136a177e5059e7e416 config-postmarketos-allwinner.aarch64
74663ef36af38c977d831563bce9952f4d88cecdfa420ac41f9155fc6ae5d9de1027c29e6a9d333378b00af63e4facf6a3659dc49e878a6a17b1a9d209dba9aa config-postmarketos-allwinner.aarch64
16e1fd952f65cccd41876fe66924b5a3182bd46f5fc7e97d677083e5a952e0e0e751b4ab38639b653626b80823215b1e325ecfe93a9cb27bb749acf9292ac99e config-postmarketos-allwinner.armv7
126e0a65e04f22f14eac1281a69000d9d5b107ed8fd1b52f37e812751f55e6c45b0240ceac61c9d95ae7f0543aaf9d96b85a8532baf59283c077b9945e615367 0001-dts-add-dontbeevil-pinephone-devkit.patch
1dc710f5abacdd5698169d5e985efeca8114986c774c3d65e89812d08ceb3db5ebdc6dd64dd76a262c761f3bfc3ffb6bc237fd5236bd1f89c5975d12e42eda04 0002-dts-add-pinetab-dev-old-display-panel.patch

View file

@ -550,8 +550,8 @@ CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y