Yes. Just insert this command into the terminal:
cpupower frequency-set -g performance
This will not survive reboots tho, so you would have to enter this every time you reboot.
To have it set to performance and survive reboots, create a copy of and edit the file named
/etc/default/. There may be different lines named
governor=(text) in the file. Something along the lines of:
# in front of all of them but
governor=performance. So it would look something like this:
# does is it tells the software to ignore that line. So it would only look at the line that says performance. If the file doesn’t contain the
governor=performance line. Add it.
Then after editing that file, save it, and run the command
systemctl enable cpupower and you should be good to go.
As far as tuning systemd to improve boot time, I am of no help. I have never tuned my boot time before. It does look as if you can stop the lvm service from running and that will save you like 10 seconds on your boot time. I don’t know if you need lvm tho. And I know nothing about lvm, so I don’t wanna break your system.
Going from the Mint forums ( https://forums.linuxmint.com/viewtopic.php?t=282437 ), the
NetworkManager-wait-online.service is a service that “waits for NetworkManager to report an active connection (or for a 30 second timeout to expire); for the system “to be online”. This is so as to guarantee that the remainder of the startup sequence finds itself capable of communicating over the network; with, say, the NFS server with your home directory, or…” Basically, it just is there to make sure that there is an active connection to the network. It can also be stopped from running on boot with the command
sudo systemctl mask NetworkManager-wait-online.service and that should save you about 8 seconds.