Skip to content

Instantly share code, notes, and snippets.

View chadbrewbaker's full-sized avatar

Chad Brewbaker chadbrewbaker

View GitHub Profile
@chadbrewbaker
chadbrewbaker / Dockerfile
Created June 30, 2022 19:43
Kibana install bug
FROM amazonlinux:2
RUN yum install -y wget java-11-amazon-corretto openssl
RUN wget https://artifacts.elastic.co/downloads/enterprise-search/enterprise-search-8.2.3.rpm
RUN wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.2.3-x86_64.rpm
RUN wget https://artifacts.elastic.co/downloads/kibana/kibana-8.2.3-x86_64.rpm
RUN export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64
RUN rpm -ivh ./*.rpm
RUN systemctl daemon-reload
RUN systemctl enable elasticsearch.service
@chadbrewbaker
chadbrewbaker / perfchat26June2022.md
Last active June 27, 2022 09:56
perfchat26June2022
@chadbrewbaker
chadbrewbaker / colabCTemplate.py
Created June 5, 2022 15:16
Template for running C code in Google Colab
prog = """
#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
int main() {
size_t buf_size = 1 << 18; // 256KiB
char* buf = (char*) malloc(buf_size);
@chadbrewbaker
chadbrewbaker / notes-22-may-2022.md
Last active May 29, 2022 19:45
29 May 2022 Perfchat Show Notes
@chadbrewbaker
chadbrewbaker / 15MayNotes.md
Last active May 16, 2022 07:16
Perfchat 15 May 2022

Perfchat 15 May 2022 Show Notes

News by Denis

General Disussion

@chadbrewbaker
chadbrewbaker / tls_research.sh
Last active March 20, 2022 18:47
Building curl + TLS with coverage on OSX M1 to get minimal viable TLS implementation path
git clone https://github.com/curl/curl
cd curl
./configure --with-secure-transport
./scripts/coverage.sh
# https://opensource.apple.com/source/Security/Security-59754.80.3/ for Apple native TLS
@chadbrewbaker
chadbrewbaker / awsPiDay2022Notes.md
Last active March 14, 2022 18:30
AWS Pi Day 2022
@chadbrewbaker
chadbrewbaker / shownotes.md
Last active February 27, 2022 19:08
27 February 2022 Perf Twitter Space
  • Michael Larabel - MichaelLarabel.com
  • Phoronix
  • Started in 2004 - first test suite published in 2007.
  • Other business models like specCPU
  • Phoronix lastest ARM server results
  • Still getting Linux kernel regressions but more rare.
  • Asrock motherboard is very reliable/afordable. Supermicro, Asus, Gigabyte also good to look at.
  • Measuring memory copy time to GPU - making sure it isn't confused with GPU processing times.
  • What makes a good benchmark? Core count scaling is more important than it was. More than 64 core scaling is still challenging.
  • Top compiler/kernel improvements in the past 20 years - propper PCIe power configuration (20 watt improvement) - better optimization configurations for gcc/llvm defaults - Intel's P stat