layout | title | categories | author |
---|---|---|---|
post |
How to use Power8 features |
Instances |
NicolasLM |
Power8 is a new generation of processors designed to improve performances of parallelized computations. This guide will explain how to customize the features of the processor on the go.
Power8 allows you to changes the specifications of the system on the go. You can adapt the characteristics of the CPU to your needs.
Running the command ppc64_cpu
as root you can manage the Power8 features.
If you application use a reduced number of instructions or do not do expensive IO, you can benefit from disabling threads. For example, set 8 threads per core:
sudo ppc64_cpu --smt=8
Completely disable threads:
sudo ppc64_cpu --smt=off
Our Power8 processor has 22 cores, as you can check with:
sudo ppc64_cpu --cores-present
- Number of cores present = 22
You can disable cores on the go:
sudo ppc64_cpu --cores-on=8
sudo ppc64_cpu --cores-on
- Number of cores online = 8
Do not forget to buy a second monitor dedicated to htop, otherwise you will not see any process: