Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix multiple typos as reported by typos #410

Merged
merged 1 commit into from
Jul 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ In case you encounter any problems with `auto-cpufreq-installer`, please [submit

**Please note:** If you want to install auto-cpufreq daemon, do not run `auto-cpufreq --install` otherwise you'll run into an issue: [#91](https://github.com/AdnanHodzic/auto-cpufreq/issues/91), [#96](https://github.com/AdnanHodzic/auto-cpufreq/issues/96).

Instead run `systemctl start auto-cpufreq` to start the service. Run `systemctl status auto-cpufreq` to see the status of service, and `systemctl enable auto-cpufreq` for service to persist running accross reboots.
Instead run `systemctl start auto-cpufreq` to start the service. Run `systemctl status auto-cpufreq` to see the status of service, and `systemctl enable auto-cpufreq` for service to persist running across reboots.

## Configuring auto-cpufreq

Expand All @@ -96,7 +96,7 @@ Or if you installed auto-cpufreq using [Snap package](https://github.com/AdnanHo

Please note! In order to have access to `power_helper.py` script, first clone auto-cpufreq git repo (`git clone https://github.com/AdnanHodzic/auto-cpufreq.git`), navigate to directory where `power_helper.py` script resides by running: `cd auto-cpufreq/auto_cpufreq`

After this step, all necessary changes will still be made automatically. However, if you wish to perform additonal "manual" settings this can be done by following instructions explained in next step.
After this step, all necessary changes will still be made automatically. However, if you wish to perform additional "manual" settings this can be done by following instructions explained in next step.

### 2: auto-cpufreq config file

Expand Down Expand Up @@ -171,7 +171,7 @@ Necessary changes are temporarily made to the system which are lost with system

### Install - auto-cpufreq daemon

Necessary changes are made to the system for auto-cpufreq CPU optimizaton to persist across reboots. Daemon is deployed and then started as a systemd service. Changes are made automatically and live stats are generated for monitoring purposes.
Necessary changes are made to the system for auto-cpufreq CPU optimization to persist across reboots. Daemon is deployed and then started as a systemd service. Changes are made automatically and live stats are generated for monitoring purposes.

`sudo auto-cpufreq --install`

Expand Down Expand Up @@ -202,11 +202,11 @@ If daemon has been installed, live stats of CPU/system load monitoring and optim
**Q:** If after installing auto-cpufreq you're (still) experiencing:
* high CPU temperatures
* CPU is not scaling to minimum/maximum frequencies
* suboptimal CPU peformance
* suboptimal CPU performance

**A:** If you're using `intel_pstate` CPU management driver consider changing it to: `acpi-cpufreq`.

This can be done by editting `/etc/default/grub` file and appending `intel_pstate=disable` to `GRUB_CMDLINE_LINUX_DEFAULT` line, followed by `sudo update-grub`
This can be done by editing `/etc/default/grub` file and appending `intel_pstate=disable` to `GRUB_CMDLINE_LINUX_DEFAULT` line, followed by `sudo update-grub`

Example line change:

Expand Down
2 changes: 1 addition & 1 deletion auto-cpufreq-installer
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ elif [ -f /etc/os-release ];then
;;
opensuse)
detected_distro "OpenSUSE"
echo -e "\nDetected an OpenSUSE ditribution\n\nSetting up Python environment\n"
echo -e "\nDetected an OpenSUSE distribution\n\nSetting up Python environment\n"
zypper install -y python38 python3-pip python3-setuptools python3-devel gcc dmidecode
completed
;;
Expand Down
4 changes: 2 additions & 2 deletions auto_cpufreq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def deploy_daemon_performance():
# check that performance is in scaling_available_governors
with open("/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors") as available_governors:
if "performance" not in available_governors.read():
print("\"perfomance\" governor is unavailable on this system, run:\n"
print("\"performance\" governor is unavailable on this system, run:\n"
"sudo sudo auto-cpufreq --install\n\n"
"to install auto-cpufreq using default \"balanced\" governor.\n")

Expand Down Expand Up @@ -1090,7 +1090,7 @@ def sysinfo():
# psutil current freq not used, gives wrong values with offline cpu's
minmax_freq_per_cpu = psutil.cpu_freq(percpu=True)

# max and min freqs, psutil reports wrong max/min freqs whith offline cores with percpu=False
# max and min freqs, psutil reports wrong max/min freqs with offline cores with percpu=False
max_freq = max([freq.max for freq in minmax_freq_per_cpu])
min_freq = min([freq.min for freq in minmax_freq_per_cpu])
print("\n" + "-" * 30 + " Current CPU stats " + "-" * 30 + "\n")
Expand Down
2 changes: 1 addition & 1 deletion bin/auto-cpufreq
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def main(config, daemon, debug, install, install_performance, live, log, monitor
elif log:
deprecated_log_msg()
elif debug:
# ToDo: add status of GNOME Power Profile servie status
# ToDo: add status of GNOME Power Profile service status
config_info_dialog()
root_check()
cpufreqctl()
Expand Down
2 changes: 1 addition & 1 deletion scripts/cpufreqctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function set_frequency () {
set_driver
if [ $DRIVER = 'pstate']
then
echo "Unavaible function for intel_pstate"
echo "Unavailable function for intel_pstate"
return
fi
if [ -z $CORE ]
Expand Down