Basic system tuning (on Ubuntu 20.04 of example)
  
    
      This file contains hidden or 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
    
  
  
    
  | { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
| "basics": { | |
| "name": "Ivan Levitsky", | |
| "label": "Software Engineer at Xinnor.io | Golang, Backend, Software-defined storage", | |
| "image": "", | |
| "email": "ivanlevitsky@yandex.com", | |
| "phone": "", | |
| "url": "", | |
| "summary": "Golang Developer, R&D Software Engineer, DevOps Engineer.\n\nSkilled in Golang, Linux, software defined storage, Python, Kubernetes, Ansible, Prometeus, PostgreSQL.\n\nI know how to: \n- Design, develop, implement and maintain software-defined storage;\n- Design and develop high-performance backend, control plane;\n- Create high availability storage clusters, tune system performance;\n- Design, develop and maintain infrastructure (IaC), CI/CD;\n\n\nResearcher: machine learning, forecasting, anomaly detection, storage technologies, kernel bypass techniques.", | 
  
    
      This file contains hidden or 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 update && sudo apt install git build-essential gdb lcov python3-dev python3-pip mc zsh zip unzip shellcheck astyle pkg-config ca-certificates curl gnupg lsb-release apt-transport-https ca-certificates curl software-properties-common tuned fio nvme-cli | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
| echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
| sudo apt update | |
| sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin | |
| sudo usermod -aG docker ${USER} | |
| sudo apt install qemu-guest-agent | |
  
    
      This file contains hidden or 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
    
  
  
    
  | # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="$HOME/.oh-my-zsh" | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, | |
| # to know which specific one was loaded, run: echo $RANDOM_THEME | |
| # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | 
  
    
      This file contains hidden or 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
    
  
  
    
  | [global] | |
| size=100% | |
| ioengine=libaio | |
| iodepth=64 | |
| direct=1 | |
| numjobs=1 | |
| rw=write | |
| blocksize=128K | |
| blockalign=128K | 
  
    
      This file contains hidden or 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
    
  
  
    
  | # | |
| # General setup | |
| # | |
| CONFIG_INIT_ENV_ARG_LIMIT=32 | |
| # CONFIG_COMPILE_TEST is not set | |
| CONFIG_LOCALVERSION="" | |
| # CONFIG_LOCALVERSION_AUTO is not set | |
| CONFIG_BUILD_SALT="" | |
| CONFIG_DEFAULT_HOSTNAME="(none)" | |
| CONFIG_SWAP=y | 
  
    
      This file contains hidden or 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
    
  
  
    
  | GRUB_CMDLINE_LINUX="crashkernel=1024M noquiet nosplash nomodeset default_hugepagesz=1G hugepagesz=1G transparent_hugepage=never scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y pci=noaer pcie_aspm=off intel_idle.max_cstate=0 processor.max_cstate=1 noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off" | 
  
    
      This file contains hidden or 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
    
  
  
    
  | [global] | |
| directory=/pgtest | |
| direct=0 | |
| ioengine=libaio | |
| group_reporting | |
| time_based=1 | |
| runtime=600s | |
| per_job_logs=0 | |
| [pg_data] |