diff --git a/README.md b/README.md index ad325297..99daa4d9 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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` @@ -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: diff --git a/auto-cpufreq-installer b/auto-cpufreq-installer index 131ec5d2..514edd5e 100755 --- a/auto-cpufreq-installer +++ b/auto-cpufreq-installer @@ -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 ;; diff --git a/auto_cpufreq/core.py b/auto_cpufreq/core.py index 878c5f0c..1a1adb5a 100644 --- a/auto_cpufreq/core.py +++ b/auto_cpufreq/core.py @@ -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") @@ -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") diff --git a/bin/auto-cpufreq b/bin/auto-cpufreq index 3832abd8..4f7f41ce 100755 --- a/bin/auto-cpufreq +++ b/bin/auto-cpufreq @@ -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() diff --git a/scripts/cpufreqctl.sh b/scripts/cpufreqctl.sh index 76ca0aac..8818d581 100755 --- a/scripts/cpufreqctl.sh +++ b/scripts/cpufreqctl.sh @@ -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 ]