Skip to content

Instantly share code, notes, and snippets.

View ivanlevitsky's full-sized avatar

Ivan Levitsky ivanlevitsky

View GitHub Profile
{
"$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.",
@ivanlevitsky
ivanlevitsky / envprepare.txt
Last active September 30, 2022 13:14
envprepare
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
# 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
[global]
size=100%
ioengine=libaio
iodepth=64
direct=1
numjobs=1
rw=write
blocksize=128K
blockalign=128K
@ivanlevitsky
ivanlevitsky / kernel_config_arm64.txt
Created May 8, 2021 19:10
Linux kernel config ARM64 (kver 5.1 or higher)
#
# 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
@ivanlevitsky
ivanlevitsky / kernel_boot_perf_parameters_x86_intel.txt
Last active August 27, 2024 19:04
Kernel boot perfomance parameters for x86 Intel Platform
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"
@ivanlevitsky
ivanlevitsky / fio_pg_bench_conf.txt
Last active March 18, 2021 08:54
PostgreSQL IO-imitation by FIO
[global]
directory=/pgtest
direct=0
ioengine=libaio
group_reporting
time_based=1
runtime=600s
per_job_logs=0
[pg_data]