Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,42 @@

A repository exploring the cost-benefit of sorting accesses to
a bloom filter for high-selectivity filtering workloads

## Enable huge pages on linux
```bash
# First check if you have huge page support and how many huge pages are available
# meminfo also has other interesting information
grep -i hugepages /proc/meminfo

# The output may look something like below
# AnonHugePages: 0 kB
# ShmemHugePages: 0 kB
# FileHugePages: 0 kB
# HugePages_Total: 200
# HugePages_Free: 200
# HugePages_Rsvd: 0
# HugePages_Surp: 0
# Hugepagesize: 2048 kB

# If you see HugePages_Total is zero then it means you don't have huge pages you
# could use.
# Do following to add more new pages for yourself. You might need sudo
echo 200 > /proc/sys/vm/nr_hugepages
```

## Building

```bash
# Building rust codebase
cargo build --release

# Run the binary
./target/release/sortbloom


# building c code base
cd hashtest_cxx
make

./bloomtest
```