Fill $vmname and $username with yours.
- gcloud compute ssh $vmname -- tmux -u new-session -A -s main
- git clone https://github.com/ozaki-r/dotfiles
- cd dotfiles
- sh setup.sh
- sudo apt install zsh
- sudo passwd $username
- chsh
- /usr/bin/zsh
まえがき | |
1章 イントロダクション | |
1.1 システムパフォーマンス | |
1.2 職種 | |
1.3 作業 | |
1.4 分析の視点 | |
1.5 パフォーマンスエンジニアリングの難しさと面白さ | |
1.5.1 主観的な性質 | |
1.5.2 複雑さ |
#!/usr/bin/python | |
import httplib2 | |
import os | |
import sys | |
import json | |
from googleapiclient.discovery import build | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
from google.auth.transport.requests import Request |
ip link add name tx-veth0 type veth peer name tx-veth1 | |
ip netns add af_xdp | |
ip link set tx-veth1 netns af_xdp | |
ip link add name rx-veth0 type veth peer name rx-veth1 | |
ip link set rx-veth1 netns af_xdp | |
ip link set up dev tx-veth0 | |
ip link set up dev rx-veth0 | |
ip a add 10.0.1.2/24 dev tx-veth0 | |
ip a add 10.0.2.2/24 dev rx-veth0 |
Fill $vmname and $username with yours.
#!/bin/sh | |
if [ $# -lt 2 ]; then | |
echo "usage: $0 name zone [time]" | |
exit 1 | |
fi | |
# TODO: check if authenticated and suggest 'gcloud auth login' | |
name=$1 |
commit d8aa69b7abe780ed6778e23e3f68713f71d13d99 | |
Author: Ryota Ozaki <ozaki-r@iij.ad.jp> | |
Date: Fri Aug 23 13:33:58 2019 +0900 | |
Restore vmstat | |
diff --git a/tests/net/net_common.sh b/tests/net/net_common.sh | |
index 8b1790f9c5a..e224047b76c 100644 | |
--- a/tests/net/net_common.sh | |
+++ b/tests/net/net_common.sh |
commit a0b8622b34a7a865eee497dbb8e844f0e39383dd | |
Author: Ryota Ozaki <ozaki.ryota@gmail.com> | |
Date: Tue Aug 13 12:04:03 2019 +0900 | |
fix tcp panic | |
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c | |
index c89dc0f4d57..fc0a7a3fd9d 100644 | |
--- a/sys/kern/uipc_socket.c | |
+++ b/sys/kern/uipc_socket.c |
# $NetBSD: GENERIC,v 1.386 2014/04/21 16:35:38 chs Exp $ | |
# | |
# GENERIC machine description file | |
# | |
# This machine description file is used to generate the default NetBSD | |
# kernel. The generic kernel does not include all options, subsystems | |
# and device drivers, but should be useful for most applications. | |
# | |
# The machine description file can be customised for your specific | |
# machine to reduce the kernel size and improve its performance. |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="Content-Style-Type" content="text/css"> | |
<title></title> | |
<meta name="Generator" content="Cocoa HTML Writer"> | |
<meta name="CocoaVersion" content="1404.34"> | |
<style type="text/css"> | |
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px Courier; color: #000000; -webkit-text-stroke: #000000} |