Skip to content

Instantly share code, notes, and snippets.

View ipolyzos's full-sized avatar
🏠
Working from home

Ioannis Polyzos ipolyzos

🏠
Working from home
View GitHub Profile

Notes on Scheduler Tracing in GoLang

$ export GODEBUG=schedtrace=1000

*scheddetail*: setting schedtrace=X and scheddetail=1 causes the scheduler to emit
detailed multiline info every X milliseconds, describing state of the scheduler,
processors, threads and goroutines.

*schedtrace*: setting schedtrace=X causes the scheduler to emit a single line to standard
error every X milliseconds, summarizing the scheduler state.
@tammersaleh
tammersaleh / frontend-packaging.sh
Last active July 22, 2018 21:22
etcd frontend server
#!/usr/bin/env bash
set -e -x
# /var/vcap/packages/frontend
cp -a frontend/* ${BOSH_INSTALL_TARGET}
cd ${BOSH_INSTALL_TARGET}
/var/vcap/packages/ruby_2.4.1/bin/bundle install \
@umpirsky
umpirsky / ubuntu-raid.sh
Last active April 15, 2024 00:53
Install Ubuntu on RAID 0 and UEFI/GPT system
# http://askubuntu.com/questions/505446/how-to-install-ubuntu-14-04-with-raid-1-using-desktop-installer
# http://askubuntu.com/questions/660023/how-to-install-ubuntu-14-04-64-bit-with-a-dual-boot-raid-1-partition-on-an-uefi%5D
sudo -s
apt-get -y install mdadm
apt-get -y install grub-efi-amd64
sgdisk -z /dev/sda
sgdisk -z /dev/sdb
sgdisk -n 1:0:+100M -t 1:ef00 -c 1:"EFI System" /dev/sda
sgdisk -n 2:0:+8G -t 2:fd00 -c 2:"Linux RAID" /dev/sda