Skip to content

Instantly share code, notes, and snippets.

View agorrod's full-sized avatar

Alex Gorrod agorrod

  • WiredTiger
  • Sydney, Australia
View GitHub Profile
@agorrod
agorrod / gist:52ff2f1b33f3a8ed45fae0841f38377d
Created October 20, 2025 03:43
Lock free benchmark results
This document contains information about experiments run to generate the performance data for the engineering blog post about lock-free WiredTiger.
All experiments run on the following hardware:
An Amazon m7g.4xlarge
$ lscpu
Architecture: aarch64
CPU(s): 16
Vendor ID: ARM
@agorrod
agorrod / Backup reproducer script
Last active July 26, 2018 08:02
Repro mongo backup
Start mongod
Insert a bunch of data, creating several collections and indexes. Similar to:
cd <mongo-source-dir>
tests=`find jstests/core/ -name index\*`
for test in $tests; do ./mongo $test > /dev/null; done
Call fsyncLock via mongo --eval "db.getSiblingDB('admin').fsyncLock()"
Call AWS create-snapshot https://docs.aws.amazon.com/cli/latest/reference/ec2/create-snapshot.html
Call fsyncUnlock