Install some additional components
echo 'Ukraine/Kyiv' >/etc/timezone apt install -y intel-gpu-tools intel-media-va-driver-non-free intel-ocloc intel-opencl-icd-legacy intel-opencl-icd libdrm-intel1 libze-intel-gpu-raytracing mesa-vulkan-drivers# Intel apt install -y lm-sensors smartmontools nvme-cli mmc-utils # dsik utils apt install -y devmem2 msr-tools # for ./setPL apt install -y net-tools btop ncdu duf # some additional tools apt install -y zabbix-agent2 # in case of Zabbix monitoring apt install -y libonnxruntime1.21 python3-onnx python3-onnxruntime onnxruntime-tools # Open Neural Network Exchange
Install Docker
# USE NVMe space instead of eMMC mkdir /storage/docker/system ln -s /storage/docker/system /var/lib/docker # Docker install for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove -y $pkg; done apt update apt install ca-certificates curl install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc chmod a+r /etc/apt/keyrings/docker.asc echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null apt update apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Compile Intel drivers (optional)
apt remove -y intel-gpu-tools intel-media-va-driver-non-free intel-ocloc-legacy intel-ocloc intel-opencl-icd-legacy intel-opencl-icd libze-intel-gpu-raytracing apt install -y peg bison flex libcairo2-dev libudev-dev libprocess-cpp-dev libunwind-dev valgrind libpixman-1-dev libdw-dev libproc2-dev libkmod-dev libdrm-intel1 libdrm-dev git clone https://github.com/intel/gmmlib.git cd gmmlib/ mkdir build cd build cmake ../ make -j 4 make install cd ../.. git clone https://github.com/intel/libva.git cd libva ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu make make install cd .. git clone https://github.com/intel/libva-utils.git cd libva-utils ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu make make install cd .. git clone https://github.com/intel/media-driver.git cd media-driver/ mkdir build cd build cmake ../ make -j 4 make install cd ../.. # Intel_gpu_tools compilation is optional apt install -y peg bison flex libcairo2-dev libudev-dev libprocess-cpp-dev libunwind-dev valgrind libpixman-1-dev libdw-dev libproc2-dev libkmod-dev git clone https://gitlab.freedesktop.org/drm/igt-gpu-tools cd igt-gpu-tools meson build && ninja -C build ./meson.sh install cd ..
compile btop with Intel GPU support (optional)
apt remove -y btop apt install -y make g++ git clone https://github.com/aristocratos/btop.git cd btop/ make make install update-alternatives --install /usr/bin/btop btop /usr/local/bin/btop 1
with both Intel drivers and btop recompiled btop shows not only load on GPU but also power consumption
Download Geekbench tests
mkdir -p /storage/apps/Geekbench cd /storage/apps/Geekbench wget https://cdn.geekbench.com/Geekbench-6.4.0-Linux.tar.gz tar xvzf Geekbench-6.4.0-Linux.tar.gz rm -f Geekbench-6.4.0-Linux.tar.gz wget https://cdn.geekbench.com/GeekbenchAI-1.3.0-Linux.tar.gz tar xvzf GeekbenchAI-1.3.0-Linux.tar.gz rm -f GeekbenchAI-1.3.0-Linux.tar.gz
root@server5:/storage/apps/Geekbench/Geekbench-6.4.0-Linux# cpupower frequency-info
analyzing CPU 1:
driver: intel_pstate
CPUs which run at the same hardware frequency: 1
CPUs which need to have their frequency coordinated by software: 1
energy performance preference: balance_performance
hardware limits: 700 MHz - 3.60 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 700 MHz and 3.60 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: 1.06 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
root@server5:/storage/apps/Geekbench/Geekbench-6.4.0-Linux# cpupower frequency-set --governor performance
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
root@server5:/storage/apps/Geekbench/Geekbench-6.4.0-Linux# cpupower frequency-info
analyzing CPU 2:
driver: intel_pstate
CPUs which run at the same hardware frequency: 2
CPUs which need to have their frequency coordinated by software: 2
energy performance preference: performance
hardware limits: 700 MHz - 3.60 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 700 MHz and 3.60 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: 3.41 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Ubuntu 25.04 Geekbench 6.4.0
| Power Limits | OS Setings | Single core | Multi core | Vulkan | OpenCL | llvmpipe |
|---|---|---|---|---|---|---|
| 15/15 | powersave | 1288 | 3278 | 3899 | 4279 | |
| 15/15 | balance_performance | 1289 | 3292 | 3911 | 4293 | 330 |
| 15/15 | performance | 1291 | 3196 | 4015 | 3647 | 335 |
24.04 to 25.04
/proc/cpuinfo diff
flags : ..., pcid, ...
d. Process Context IDentifiers (PCID) is a CPU feature that
allows us to skip flushing the entire TLB when switching page
tables by setting a special bit in CR3 when the page tables
are changed. This makes switching the page tables (at context
switch, or kernel entry/exit) cheaper. But, on systems with
PCID support, the context switch code must flush both the user
and kernel entries out of the TLB. The user PCID TLB flush is
deferred until the exit to userspace, minimizing the cost.
See intel.com/sdm for the gory PCID/INVPCID details.
dmidecode diff
root@server5:/storage/backup/server5# diff dmidecode.txt dmidecode-2504-1.txt 1c1 < # dmidecode 3.5 --- > # dmidecode 3.6 4,5d3 < # SMBIOS implementations newer than version 3.5.0 are not < # fully supported by this version of dmidecode. 128c126,127 < Type: 32-bit PCI Express x1 --- > Type: PCI Express x1 > Data Bus Width: 32 bit 140c139,140 < Type: 32-bit PCI Express x1 --- > Type: PCI Express x1 > Data Bus Width: 32 bit 152c152,153 < Type: 32-bit PCI Express x1 --- > Type: PCI Express x1 > Data Bus Width: 32 bit 164c165,166 < Type: 32-bit PCI Express x1 --- > Type: PCI Express x1 > Data Bus Width: 32 bit 176c178,179 < Type: 32-bit PCI Express x1 --- > Type: PCI Express x1 > Data Bus Width: 32 bit 1359c1362 < DB 6A 7C 00 01 04 01 55 02 00 90 06 01 10 8B 20 --- > DB 6A 7C 00 01 04 01 55 02 00 90 06 01 10 80 20
