This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Generate 1 million inserts | |
./load_gen -I1000000 | |
* Generate workload 500k reads and 500k writes | |
./load_gen --PL -Q500000 -U500000 --OP query_workload.txt | |
Entry size will be 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@small-ubuntu:~/kv-bench/kv-bench-rocksdb-example# turbostat --Joules taskset -c 1 ./plain_benchmark -E 8 --dd --iwp ../K-V-Workload-Generator/workload.txt --qwp ../K-V-Workload-Generator/query_workload.txt --dw --dr | |
turbostat version 21.05.04 - Len Brown <lenb@kernel.org> | |
CPUID(0): GenuineIntel 0x16 CPUID levels | |
CPUID(1): family:model:stepping 0x6:9e:d (6:158:13) microcode 0xfa | |
CPUID(0x80000000): max_extended_levels: 0x80000008 | |
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM | |
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp, No-HWPpkg, EPB | |
cpu3: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO) | |
CPUID(7): SGX | |
cpu3: MSR_IA32_FEATURE_CONTROL: 0x00020005 (Locked ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@small-ubuntu:~# turbostat --Joules cat /dev/zero > /dev/null | |
turbostat version 21.05.04 - Len Brown <lenb@kernel.org> | |
CPUID(0): GenuineIntel 0x16 CPUID levels | |
CPUID(1): family:model:stepping 0x6:9e:d (6:158:13) microcode 0xfa | |
CPUID(0x80000000): max_extended_levels: 0x80000008 | |
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM | |
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp, No-HWPpkg, EPB | |
cpu6: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO) | |
CPUID(7): SGX | |
cpu6: MSR_IA32_FEATURE_CONTROL: 0x00020005 (Locked ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Env:THIRDPARTY_HOME="C:\path\to\cloned\repo\thirdparty" | |
$Env:JAVA_HOME="C:\whatever" | |
$Env:SNAPPY_HOME="C:\path\to\cloned\repo\thirdparty\snappy-1.1.8" | |
$Env:SNAPPY_INCLUDE="C:\path\to\cloned\repo\thirdparty\snappy-1.1.8;C:\path\to\cloned\repo\thirdparty\snappy-1.1.8\build" | |
$Env:SNAPPY_LIB_DEBUG="C:\path\to\cloned\repo\thirdparty\snappy-1.1.8\build\Debug\snappy.lib" | |
mkdir $Env:THIRDPARTY_HOME | |
cd $Env:THIRDPARTY_HOME | |
# Download and build snappy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╰─$ pytest test/test_auth.py::test_auth_user | |
============================================================================================ test session starts ============================================================================================ | |
platform darwin -- Python 3.9.6, pytest-7.4.2, pluggy-1.3.0 | |
rootdir: /Users/achanda/src/pgbouncer | |
configfile: pyproject.toml | |
plugins: timeout-2.1.0, asyncio-0.21.1, xdist-3.3.1 | |
timeout: 30.0s | |
timeout method: signal | |
timeout func_only: False | |
asyncio: mode=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
creationTimestamp: null | |
name: mytestcluster-fio | |
namespace: cnpg-clusters | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
╰─$ k logs -f mytestcluster-4 -n cnpg-clusters | |
Defaulted container "postgres" out of: postgres, bootstrap-controller (init) | |
{"level":"info","ts":"2023-07-24T15:48:05Z","logger":"setup","msg":"Starting CloudNativePG Instance Manager","logging_pod":"mytestcluster-4","version":"1.20.0","build":{"Version":"1.20.0","Commit":"008bb80b","Date":"2023-04-27"}} | |
{"level":"info","ts":"2023-07-24T15:48:06Z","msg":"Waited for 1.046558081s due to client-side throttling, not priority and fairness, request: GET:https://10.32.0.1:443/apis/certificates.k8s.io/v1?timeout=32s\n"} | |
{"level":"info","ts":"2023-07-24T15:48:10Z","logger":"setup","msg":"starting controller-runtime manager","logging_pod":"mytestcluster-4"} | |
{"level":"info","ts":"2023-07-24T15:48:10Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Cluster"} | |
{"level":"info","ts":"2023-07-24T15:48:10Z","msg":"Starting Controller","controller":"cluster","controllerGroup":"postgre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
labels: | |
app.kubernetes.io/name: cloudnative-pg | |
name: cnpg-system | |
--- | |
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:05 $ git show HEAD | |
commit 2aa736df1af922d6967069f824ffaebd165e5cff (HEAD -> refs/heads/aws-us-east-1-dev-ops-b6ms-18ff58b0) | |
Date: Thu Sep 12 15:05:31 2019 +0100 | |
aws-us-east-1-dev-ops-b6ms: generator hash: 18ff58b0 | |
diff --git a/apply/aws-us-east-1-dev-ops-b6ms/clusterrole.datadog-cluster-agent.yaml b/apply/aws-us-east-1-dev-ops-b6ms/clusterrole.datadog-cluster-agent.yaml | |
index a90304a..262eb17 100644 | |
--- a/apply/aws-us-east-1-dev-ops-b6ms/clusterrole.datadog-cluster-agent.yaml | |
+++ b/apply/aws-us-east-1-dev-ops-b6ms/clusterrole.datadog-cluster-agent.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Small program to test the maximum amount of allocations in multiple blocks. | |
// This script searches for the largest allocation amount. | |
// | |
// | |
// Allocate a certain size to test if it can be done. | |
// | |
function alloc (size) { | |
const numbers = size / 8; |
NewerOlder