pab-tree-data / README.md
romaLzhih's picture
card: synthetic data is generated locally
9353998 verified
|
Raw History Blame Contribute Delete
3.65 kB
---
license:
- mit
- odbl
pretty_name: PaB-tree datasets
viewer: false
size_categories:
- 1B<n<10B
tags:
- b-tree
- ordered-set
- parallel-algorithms
- benchmark
- temporal-graph
- openstreetmap
---
# PaB-tree datasets
The inputs of the experiments in *Parallel B+-trees: Theory and Practice*
(PPoPP 2027), 329 GB in 82 files. The code is at
[ucrparlay/pab-tree](https://github.com/ucrparlay/pab-tree); see
`docs/ARTIFACT_EVALUATION.md` there. Its scripts download `real_world/`, checked
against `scripts_ae/datasets.sha256`, and generate the synthetic data.
The paths here are the paths the scripts expect under `--data-path`.
## Real-world data, 88 GB
| Dataset | Figure | Path | Size | Rows |
|---|---|---|---|---|
| OSM (Asia) | 5 | `real_world/osm/asia_year_zcode.bin` | 27.6 GB | 1.72 B records |
| RED | 6 | `real_world/temporal_graph/signal/redd/0.bin` | 9.0 GB | 747 M edges, 17 years |
| REF | 6 | `real_world/temporal_graph/signal/ref/0.bin` | 13.7 GB | 1.14 B edges, 27 years |
| SEM | 6 | `real_world/temporal_graph/signal/sem/0.bin` | 29.9 GB | 2.49 B edges, 229 years |
| PLANET | 6, 8 | `real_world/temporal_graph/osm/planet_year/<i>_{insert,delete}.bin`, i = 0 to 20 | 8.1 GB | 745 M inserts, 266 M deletes |
- OSM: key = 64-bit Morton code of the location, value = year.
- RED, REF, SEM: source, destination, and the year as a label from 1 up,
ascending. Duplicate edges are removed and edges are shuffled within a year
(`tests/temporal_graph_signal.cpp`).
- PLANET: source, destination; one file per year and operation
(`tests/temporal_graph_osm.cpp`).
## Synthetic data, 240 GB
10^9 entries each, 32-bit keys and values. The artifact does not read these
copies: `scripts_ae/ae_data_generate.sh` generates the same data, about an hour
on 64 threads with 106 GB of memory. `incre/norm`, `incre/seg`, `single/uni` and
`single/seg` come out as these bytes. `incre/uni` is another permutation of the same
distribution, as these files predate the generator's last change, and
`single/norm` is a new sample of its distribution on every run.
| Set | Figure | Path | Size |
|---|---|---|---|
| `incre` | 4, 7 | `synthetic/incre/<dis>/1000000000_1/{ins,del}/<x>/1.batch.bin`, x = 10, 100, 1000, 10000 | 192 GB |
| `single` | 9 | `synthetic/single/<dis>/1000000000_1/{ins,del}/100/1.{base,batch}.bin` | 48.5 GB |
- `incre`: one stream of batches of n/x per file; `ins` and `del` hold the same
stream.
- `single`: a tree and one batch of n/100.
- `<dis>`: `uni` is uniform; `norm` (Skewed) draws each batch from normal(0.5,
0.1) over the keys left; `seg` (Adversarial) draws a batch of m uniformly from
the leading 2m keys left.
## Format
Little-endian: a `uint64` header `{N, dim, width}`, then `N` rows of `dim`
values of `width` bytes each, 4 or 8 (`tests/binary_io.h`).
## License
[MIT](LICENSE), except the data built from OpenStreetMap, which has to stay
under the [Open Database License](https://opendatacommons.org/licenses/odbl/1-0/):
`real_world/osm/` and `real_world/temporal_graph/osm/`. © OpenStreetMap
contributors.
## Sources
- `real_world/osm/` comes from the OpenStreetMap extract
`asia-latest.osm.pbf` of [Geofabrik](https://download.geofabrik.de/),
fetched on 2026-04-14.
- `real_world/temporal_graph/` comes from GraphTide: Brian Wheatman, Quinten De
Man, Xiangyun Ding, Zhongqi Wang, Randal Burns, Laxman Dhulipala, Xiaojun
Dong, Yan Gu, Yihan Sun and Letong Wang, *Use Your Time(stamp) Wisely: The
GraphTide Real-World Dynamic Graph Datasets*, 2026, manuscript under review.
PLANET is built from OpenStreetMap.
- `synthetic/` is generated by the code in the repository above.