Skip to content

Instantly share code, notes, and snippets.

View satoru-takeuchi's full-sized avatar

Satoru Takeuchi satoru-takeuchi

View GitHub Profile
@satoru-takeuchi
satoru-takeuchi / rook_and_cephadm_performance_comparison.md
Last active October 1, 2023 02:59
rook and cephadm performance comparison

What is measured

The elapsed time to create 1 MON, 1 MGR, and 1 OSD Ceph cluster in one node. All container is in local host.

result

  • rook
    • launching a one node k8s cluster by kubeadm: 84s
    • launching a rook/ceph cluster on top of this k8s cluster: 64s
import numpy as np
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
x, y = np.loadtxt("0.txt", unpack=True)
ax.scatter(x,y,c="red",s=1)
x, y = np.loadtxt("1.txt", unpack=True)
#!/usr/bin/python3
import sys
import time
import os
NLOOP=100000
if len(sys.argv) < 2:
print("使い方: {} <nproc>".format(sys.argv[0]))
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#define NLOOP_FOR_ESTIMATION 1000000000UL
・毎度ながら深い話にアレな「やってみた」考察で元気をもらいました!休憩雑談も楽しませていただきましたw
・楽しい会をありがとうございました。
・楽しかったです。ぜひまたお願いします。
・運営大変お疲れ様でした。楽しい会でした。ありがとうございます!
・いつもながら、盛り沢山ですし、LTではもったいない発表ばかりです。運営側の負担もあるかとは思いますが、開催回数を増やしてもいいのかもしれません。オンラインになってお手軽さがましたような気がするし。
・retrageさんのCloud-Hypervisor絡みのお話が色々知りたかったことがあって面白かったです
・毎回どうもありがとうございます、、いつか発表側に回りたい。
・普段聞けない & 多岐に渡る内容が多く、理解できる範囲は限られていても楽しかったです。ありがとうございました。
・どの発表もおもしろ/興味深かったです!!
・一回の開催で2回もUEFIネタが出てきてちょっと驚きました. To 主催者の方へ: 開催ありがとうございました.
皆さんスゲー
非常に面白く参考になりました。
おもしろかったです
元気いただきました!
yasssss
package main
import (
"fmt"
"log"
"os"
"strconv"
"sync"
"time"
)
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#define NLOOP_FOR_ESTIMATION 1000000000UL
...
[ 627.958024] mce: [Hardware Error]: Machine check events logged
[ 627.958027] [Hardware Error]: Corrected error, no action required.
[ 627.958034] [Hardware Error]: CPU:13 (17:1:1) MC3_STATUS[-|CE|MiscV|-|-|-|-|SyndV|-]: 0x9820000000000150
[ 627.958037] [Hardware Error]: IPID: 0x000300b000000000, Syndrome: 0x000000002a000503
[ 627.958040] [Hardware Error]: Decode Unit Extended Error Code: 0
[ 627.958041] [Hardware Error]: Decode Unit Error: uop cache tag parity error.
[ 627.958044] [Hardware Error]: cache level: RESV, tx: INSN, mem-tx: IRD
[ 1250.624254] mce: [Hardware Error]: Machine check events logged
[ 1250.624258] [Hardware Error]: Corrected error, no action required.
#!/bin/bash
export LANG=C
if [ $# -ge 1 ] ; then
CONCURRENCY=$1
else
CONCURRENCY=16
fi