Skip to content

Instantly share code, notes, and snippets.

View RoyZhang7's full-sized avatar

Zhaoqi Zhang RoyZhang7

View GitHub Profile
@RoyZhang7
RoyZhang7 / example-conf.md
Last active December 12, 2025 22:28
Perf contention paper relevant
#!/bin/bash
# Periodic CPU Contention Experiment

EXPERIMENT_NAME='No Contention Baseline'
TARGET_NODE='node-3'
VICTIM_SERVICES='search'
NOISY_NEIGHBOR_TYPE='cpu'

CONTENTION_BURSTS=$(burst 0 60 1)
# By default, sudo does NOT pass the user's original PATH into the superuser process, and it gets some default PATH defined on the system.
# Following cmd pass user's PATH into sudo, replacing env with the commond you want.
sudo env PATH="$PATH" command
# Example of passing Latexmk's PATH
sudo env PATH="$PATH" latexmk -pdf -shell-escape -use-make main.tex
@RoyZhang7
RoyZhang7 / $TCP-notes.md
Last active March 8, 2022 13:37
TCP-notes

TCP notes

This gist contains all my note related to TCP.

But this file itself is only a placeholer. Nothing here.