Skip to content

Instantly share code, notes, and snippets.

@Valloric
Valloric / gist:00122701b97328882211f670bffd0584
Created April 21, 2018 03:59
debian 9 dirty pages config
# generated with: sudo sysctl -a | grep dirty
vm.dirty_background_bytes = 0
vm.dirty_background_ratio = 10
vm.dirty_bytes = 0
vm.dirty_expire_centisecs = 3000
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500
vm.dirtytime_expire_seconds = 43200
/urn:li:article:1/RECORD_DATA
/urn:li:article:1/urn:li:activity:1
/urn:li:article:1/urn:li:activity:2
/urn:li:image:1/RECORD_DATA
/urn:li:image:1/urn:li:activity:2
/urn:li:activity:1/RECORD_DATA
/urn:li:activity:2/RECORD_DATA
/urn:li:article:1/SENTINEL
/urn:li:article:1/urn:li:activity:1
/urn:li:article:1/urn:li:activity:2
/urn:li:article:1/urn:li:activity:3
/parent1/child1
/parent1/child2
/parent1/child3
@Fork(1)
@Threads(1)
@State(Scope.Benchmark)
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.NANOSECONDS)
@Warmup(iterations = 5, time = 3)
@Measurement(iterations = 4, time = 3)
public class LockFreeBloomFilterBenchmark {
private static int NUM_BASE_PUTS = 1000000;
private static String TEST_URN = BenchmarkUtils.getRandomActivityUrn();
### Keybase proof
I hereby claim:
* I am Valloric on github.
* I am valloric (https://keybase.io/valloric) on keybase.
* I have a public key whose fingerprint is 34E8 2EC7 D94F 04DF 40DC 0FE5 72C3 A2BB D9AF A1BA
To claim this, I am signing this object: