I bought a new computer last year and it has been running rather slow since install. Just wanted to go through the journey which has been a relief to get fixed.
Finding a good profiler
I found “System profiler and benchmark” (http://hardinfo.berlios.de/HomePage). Which found some interesting results for CPU performance (the command line tool lscpu does the same thing). The processor is a quad core 3.4GHz processor so the intro screen looks fine. But the processors section shows that the processors aren’t running at full speed (the second image below).
This is confirmend using lscpu
$lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Stepping: 7 CPU MHz: 1600.000 BogoMIPS: 6784.14 Virtualisation: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K
Solution – Granola
After a bit of searching around I found this post). Which points me to Granola some nice power saving software which controls CPU frequencies. The client software monitors how much power is being used (below). And give an overview of power savings – this data feeds into the project website to show how much power the software is saving globally.
Installation is quite simple, the instructions are for Quantal :
- Check you are running Quantal (The links below are for that release – 12.10 Quantal) (running lsb_release -a)
- Download the DEBs: granola_5.0.15-0quantal1_amd64.deb, granola-gui_5.0.15-0quantal1_amd64.deb
- Install the debs, I just click on them but you can use sudo dpkg -i granola_5.0.15*.deb in the download directory to install form the command line).
- To start granola run it as root (sudo granola)
- You can launch the GUI program which is installed in Accessories > Granola
- Edit > Preferences > Switch to “Highest Power” (see screen below)
Unfortunately to fix my problem I need to set my computer to highest power – which isn’t really in the spirit of the project – but the GUI tool and associated software do give the the option to change the settings at will. So as long as I remember to switch over then there are still contributions to be made.
Afterwards, lscpu shows a better result:
$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Stepping: 7 CPU MHz: 3401.000 BogoMIPS: 6784.14 Virtualisation: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-7