Last active
February 19, 2024 20:37
-
-
Save bave/75dfd4ad0104ad8d6ed0a26ce5b03d10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get dist-upgrade | |
sudo apt-get install htop | |
sudo apt-get install build-essential | |
sudo apt-get install libncurses-dev | |
sudo apt-get install libssl-dev | |
sudo apt-get install bc | |
sudo apt-get install linux-source | |
sudo -s | |
apt-get install linux-source-X.X.X | |
cd /usr/src | |
tar xvjf linux-source-X.X.X.tar.bz2 | |
cd linux-source-X.X.X | |
cp /boot/config-X.X.X-XX-generic .config | |
make oldconfig | |
make menuconfig | |
General setup ---> | |
Timers subsystem ---> | |
[*] Full dynticks system on all CPUs by default (except CPU 0) | |
Local version - append to kernel release | |
"name new signature" | |
CONFIG_RCU_FAST_NO_HZ=y | |
CONFIG_CPU_FREQ=n | |
make -j 4 | |
make modules_install | |
make install | |
sudo vi /etc/default/grub | |
- GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=1,2,3 nohz_full=1,2,3" | |
sudo update-grub | |
sudo reboot | |
dmesg | grep NO_HZ | |
- [ 0.000000] NO_HZ: Full dynticks CPUs: 1-3 | |
ToDo | |
- check "Documentation/timers/NO_HZ" https://lwn.net/Articles/549593/ | |
- check "full tickless operation" https://lwn.net/Articles/549580/ | |
- kernel config | |
- CONFIG_RCU_FAST_NO_HZ=y | |
- grub | |
- rcu_nocbs=1,2,3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment