Skip to content

Instantly share code, notes, and snippets.

View write-histogram-grafana-panel.json
{
"cards": {
"cardPadding": null,
"cardRound": null
},
"color": {
"cardColor": "#bf1b00",
"colorScale": "sqrt",
"colorScheme": "interpolateRdYlGn",
"exponent": 0.25,
View dashboard.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
View raw-cpu.json
{
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": {
"__name__": "node_cpu",
"colo_id": "28",
"colo_name": "sea01",
@bobrik
bobrik / README.md
Last active Mar 1, 2018
KPTI Redis benchmark on bare metal
View README.md

Redis KPTI benchmark

Other benchmarks make me sad. People run them in the cloud where VMs can migrate between different hosts on reboots and use old kernels. Here we use bare metal with the same recent kernel to remove extra variables and measure KPTI impact and KPTI impact only.

Setup

  • Kernel: 4.14.11
@bobrik
bobrik / README.md
Last active Jul 6, 2020
CFS hiccups
View README.md
View alloc-0.11.0.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View after.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View randread.fio
[global]
direct=1
runtime=30m
group_reporting
time_based
[randread]
rw=randread
size=1g
bs=4k
View conntrack-burn.pl
#!/usr/bin/perl -w
# Original source: https://lkml.org/lkml/2016/12/7/114
# Changesd to ping the whole 8.8.x.x subnet to produce lots of entries.
my $subnet = '8.8';
use Socket;
use Symbol;
use NetAddr::IP::Lite;
View build.log
[21:13:21] [build] dpkg-buildpackage -rfakeroot -us -uc -b
[21:13:21] [build] dpkg-buildpackage: info: source package bcc
[21:13:21] [build] dpkg-buildpackage: info: source version 0.3.0-1
[21:13:21] [build] dpkg-buildpackage: info: source distribution unstable
[21:13:21] [build] dpkg-buildpackage: info: source changed by Brenden Blanco <bblanco@gmail.com>
[21:13:21] [build] dpkg-source --before-build bcc-0.3.0
[21:13:21] [build] dpkg-buildpackage: info: host architecture amd64
[21:13:22] [build] fakeroot debian/rules clean
[21:13:22] [build] dh clean --buildsystem=cmake --parallel
[21:13:22] [build] dh_testdir -O--buildsystem=cmake -O--parallel
You can’t perform that action at this time.