Skip to content

Instantly share code, notes, and snippets.

View roberto-mello's full-sized avatar

Roberto Mello roberto-mello

View GitHub Profile
### Keybase proof
I hereby claim:
* I am roberto-mello on github.
* I am therbm (https://keybase.io/therbm) on keybase.
* I have a public key ASClq3AChjNnu-eogohpq-5jNTS6rCve5BtjWCdpI4w4Qwo
To claim this, I am signing this object:
# Copyright 2019-2022 Jonathan S. Katz
# Modified (2024) by Roberto Mello to take in command-line arguments,
# make username required only for md5, and decode the byte string to
# utf-8 for easier copy/paste.
# Original at https://gist.github.com/jkatz/e0a1f52f66fa03b732945f6eb94d9c21
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
[global]
ioengine=libaio
direct=1
bs=8k # 8KiB block size (common for database pages)
size=20g # Larger file size to minimize cache effects
runtime=60 # 60-second runtime per test
directory=/mount-point-of-ssd
filename=db.test.file
numjobs=4 # Increase to simulate more concurrent database threads/processes
iodepth=16