OGS-00016 converted to format 0.2.0

FinnGen R13 · Zarr v3 with sharding and narrower Dense chunks · benchmarked against its 0.1.0 original

Published

October 8, 2026

ImportantWhat this measures

OGS-00016 — every public FinnGen R13 endpoint, 2,754 Analyses × 21,230,615 variants, 58.5 billion associations — converted from format_version 0.1.0 (Zarr v2, [1000, 1000] chunks) to 0.2.0 (Zarr v3, sharded, Dense inner chunk [1000, 64], Dense shard [100000, 1024], top-hit index sharded at 64 inner chunks) by scripts/convert_store_to_0_2_0.py, then:

  • checked bit-exact against the source and validated (validate_store);
  • benchmarked as three columns — 2.18 on 0.1.0, this code on 0.1.0 (Zarr 3 reading v2), and this code on 0.2.0 — with the #242 seven-shape harness, the cross-column identity computed at render time below;
  • re-run through the FinnGen benchmark and the source-fidelity harness;
  • measured per plane, to test #246’s ukb-b-based shape decision on FinnGen’s near-null, low-case-count data.

Peak RSS is labelled GiB throughout: benchmarks/_rss.py measures MiB and this report divides by 1024. #237’s “22.8 GB” is the same 22,778 MiB figure with MB/1000, so the RSS compared against it is identical and the ratios are unaffected.

Conversion cost

Store format wall clock peak RSS write (32 worker(s)) bit-exact verify overview + validate
OGS-00016 0.1.0 → 0.2.0 4:27:51 45.45 GiB 123.5 s 1,351.9 s 14,593.0 s
OGS-00011 0.1.0 → 0.2.0 2:55:45 192.58 GiB 128.2 s 2,719.0 s 7,693.0 s

Both were published only after the bit-exact check and validate_store passed, by renaming the staging tree. Both ran concurrently, so the wall times are concurrent-machine numbers: across the window in which both were running, the 1-minute load sampled 2.41–45.18 (epic240_250_monitor.log). The quoted peak RSS is /usr/bin/time -v’s maximum resident set size: the largest single process among the converter and its workers, not their sum. Which phase it peaked in is inferred from the phase times and the code (see the worker report), not sampled; the raw /usr/bin/time -v logs are committed beside this document.

Files and size

Store files apparent bytes allocated bytes
OGS-00016 237,464 → 2,399 126.57 → 128.76 GB (+1.73 %) 127.04 → 128.77 GB (+1.36 %)
OGS-00011 328,782 → 3,450 126.93 → 130.22 GB (+2.59 %) 127.61 → 130.22 GB (+2.05 %)

Per-plane compressed size, OGS-00016

array 0.1.0 0.2.0 0.2.0 / 0.1.0 OGS-00009, same ratio (#246)
z 84,430.3 MB 84,707.1 MB 1.003× 0.986×
se 23,648.7 MB 25,102.3 MB 1.061× 1.189×
eaf 15,480.6 MB 15,935.5 MB 1.029× 1.052×
eaf_baseline 73.3 MB 73.4 MB 1.001× 1.003×
top_hits/p_5e_04/z 73.6 MB 73.6 MB 1.000× 1.001×

The largest per-plane cost of 64-wide chunks on FinnGen is se at 1.061×, against 1.189× for the same plane on OGS-00009, the data ADR 0058 decided on. FinnGen’s ratio is above OGS-00009’s only on z. Total apparent size grows +1.73 %, against OGS-00009’s +1.41 %. ADR 0058’s generated Checked on FinnGen block applies the decision’s tests to these numbers and states its verdict.

The three query columns

Times are median / p95; memory is the fresh-interpreter peak RSS. The harness waits for the 1-minute load to fall below 3 before each column it times (--max-start-load); the load each column actually began at is printed with each store’s table. The 2.18 column is the same harness run under 745796c’s package and Zarr 2.18; columns (b) and (c) run in one Zarr 3 process against both stores.

Every column began at a 1-minute load below 3 (2.18 · 0.1.0 2.56, this code · 0.1.0 2.86, this code · 0.2.0 2.65).

Harness digest recorded: 8e3da43ed17f, one harness revision for every artifact that records one; OGS-00011 2.18 predates the field.

OGS-00016

query 2.18 · 0.1.0 this code · 0.1.0 this code · 0.2.0 rows
Top hits for one Analysis 2.5 ms / 2.5 ms · 0.30 GiB 16.4 ms / 16.6 ms · 0.31 GiB 18.6 ms / 18.7 ms · 0.33 GiB 25,771
One variant, all Analyses 7.5 ms / 8.7 ms · 0.31 GiB 23.4 ms / 24.5 ms · 0.32 GiB 55.3 ms / 57.9 ms · 0.36 GiB 2,754
One window, one Analysis 43.9 ms / 66.8 ms · 0.32 GiB 71.8 ms / 107.3 ms · 0.33 GiB 47.2 ms / 50.4 ms · 0.37 GiB 6,602
10 variants × 100 Analyses 87.5 ms / 95.0 ms · 0.34 GiB 128.2 ms / 134.5 ms · 0.33 GiB 316.1 ms / 348.6 ms · 0.37 GiB 1,000
100 variants × 10 Analyses 629.1 ms / 655.4 ms · 0.74 GiB 795.3 ms / 809.4 ms · 0.40 GiB 1.17 s / 1.17 s · 0.45 GiB 1,000
One window, all Analyses 3.99 s / 4.23 s · 2.32 GiB 2.65 s / 2.65 s · 2.44 GiB 3.61 s / 3.64 s · 2.53 GiB 18,180,899
One whole Analysis 60.64 s / 65.85 s · 22.24 GiB 36.15 s / 36.33 s · 2.49 GiB 13.52 s / 13.92 s · 2.53 GiB 21,230,471

The 2.18 artifact was written at 2026-10-08 08:56 UTC with 3 repetition(s) on 7 shape timing(s); the Zarr 3 artifact at 2026-10-08 09:05 UTC with 3 repetition(s) on 14 shape timing(s).

Whole-Analysis read on T2D: 60.64 s / 22.24 GiB on 2.18 (#237’s baseline was 60.5 s / 22.8 GB), 13.52 s / 2.53 GiB on the converted 0.2.0 store — 4.49× faster and 8.79× less memory.

OGS-00011

Every column began at a 1-minute load below 3 (2.18 · 0.1.0 2.24, this code · 0.1.0 2.99, this code · 0.2.0 2.60).

query 2.18 · 0.1.0 this code · 0.1.0 this code · 0.2.0 rows
Top hits for one Analysis 3.7 ms / 4.0 ms · 2.33 GiB 13.8 ms / 14.0 ms · 2.34 GiB 15.9 ms / 17.7 ms · 2.35 GiB 6,001
One variant, all Analyses 28.6 ms / 31.9 ms · 4.81 GiB 26.9 ms / 27.1 ms · 4.37 GiB 76.8 ms / 78.0 ms · 4.85 GiB 3,152
One window, one Analysis 624.57 s / 624.57 s · 28.86 GiB (n=1) 8.02 s / 8.04 s · 4.39 GiB 8.03 s / 8.07 s · 4.86 GiB 1,365
10 variants × 100 Analyses 38.03 s / 44.44 s · 51.36 GiB 1.95 s / 2.38 s · 2.38 GiB 2.76 s / 2.84 s · 2.39 GiB 0
100 variants × 10 Analyses 42.92 s / 45.47 s · 58.91 GiB 613.1 ms / 619.1 ms · 4.44 GiB 686.6 ms / 695.7 ms · 4.90 GiB 18
One window, all Analyses 618.47 s / 618.47 s · 29.47 GiB (n=1) 98.00 s / 100.22 s · 5.17 GiB 70.05 s / 71.30 s · 5.58 GiB 8,304,617
One whole Analysis 30.46 s / 34.90 s · 15.04 GiB 28.25 s / 29.77 s · 5.13 GiB 10.60 s / 10.76 s · 5.16 GiB 5,052,918

The 2.18 column is not paired with the Zarr 3 columns here: it is the first run, not repeated in the Zarr 3 window because its 2 single-repetition shapes take 618.47 s–624.57 s each. The 2.18 artifact was written at 2026-10-08 04:06 UTC with 5 repetition(s) on 5 shape timing(s), 1 repetition(s) on 2 shape timing(s); the Zarr 3 artifact at 2026-10-08 09:27 UTC with 3 repetition(s) on 14 shape timing(s). Its artifact also predates the harness digest field.

The slow 2.18 shapes are the variant-side Overflow scans #252 fixed: one window across all Analyses is 618.47 s / 29.47 GiB on 2.18 against 70.05 s / 5.58 GiB on 0.2.0, and region × one Analysis is 624.57 s / 28.86 GiB against 8.03 s / 4.86 GiB.

0.2.0 also costs memory on the smaller OGS-00011 shapes: versus Zarr 3 on 0.1.0, peak RSS rises by 486 MiB on phewas, 488 MiB on window × one Analysis, 418 MiB on window × all, and 477 MiB on 100 × 10.

The two #252 Overflow shapes

The seven-shape PheWAS anchor is on the reference axis, so it never exercises the Ragged Overflow’s PheWAS path; these two shapes do. They are measured by benchmarks/ogs00011_extra_shapes.py, the committed runner. One invocation runs one shape in one column, calling #252’s probe (benchmarks.ogs00011_ab.measure_one_shape) once per repetition in that one interpreter, so only repetition 1 starts in a fresh process, and peak RSS is the process’s, sampled during each call. On every repetition the probe opens the store, the runner’s gate waits for a 1-minute load below 3, and only then is the start load sampled and the clock started. Every record carries the interpreter, the Zarr version, the opengwasdb path and fingerprint, the commit, and the probe’s and runner’s sha256.

shape 2.18 · 0.1.0 this code · 0.1.0 this code · 0.2.0 rows
PheWAS of an off-panel variant 22.64 s / 26.40 s · 26.97 GiB 28.20 s / 28.66 s · 2.41 GiB 28.97 s / 29.88 s · 2.52 GiB 1
Bulk, largest Overflow Analysis 46.57 s / 50.27 s · 19.79 GiB 43.13 s / 46.45 s · 14.42 GiB 26.12 s / 26.55 s · 14.05 GiB 85,226,242
  • phewas_off_axis, every repetition: a-2.18-0.1.0 19.56 s–26.40 s; b-code-0.1.0 26.42 s–28.66 s; c-code-0.2.0 27.91 s–29.88 s
  • bulk_overflow_heavy, every repetition: a-2.18-0.1.0 45.44 s–50.27 s; b-code-0.1.0 39.99 s–46.45 s; c-code-0.2.0 25.80 s–26.55 s

Every extra shape returns the same rows and sha256 in all three columns: phewas_off_axis True, bulk_overflow_heavy True.

column interpreter zarr opengwasdb fingerprint commit probe sha256 runner sha256
a-2.18-0.1.0 /tmp/epic240/244/base-src/.pixi/envs/dev/bin/python 2.18.7 9fe19ecba575 745796c 1e74a9613d07 74ab9480bf34
b-code-0.1.0 /home/gh13047/repo/opengwasdb-wt/250-convert-benchmark-production/.pixi/envs/dev/bin/python 3.4.0 49af77aedf3f 850b3c7 1e74a9613d07 74ab9480bf34
c-code-0.2.0 /home/gh13047/repo/opengwasdb-wt/250-convert-benchmark-production/.pixi/envs/dev/bin/python 3.4.0 49af77aedf3f 850b3c7 1e74a9613d07 74ab9480bf34

The probe every column recorded is the committed benchmarks/ogs00011_ab.py (1e74a9613d07). So is the runner (74ab9480bf34). The commit is the checkout’s HEAD when the column ran; the package fingerprint and the two digests name the code itself.

Every repetition’s gate wait and start load, and the repetition the median came from:

  • phewas_off_axis a-2.18-0.1.0: gate waits [0.0, 0.0, 0.0, 15.0, 0.0] s; start loads [1.81, 2.62, 2.63, 2.46, 2.24]; median from repetition 1; all below 3
  • phewas_off_axis b-code-0.1.0: gate waits [0.0, 0.0, 0.0, 15.0, 15.0] s; start loads [2.08, 2.78, 2.55, 2.59, 2.52]; median from repetition 3; all below 3
  • phewas_off_axis c-code-0.2.0: gate waits [0.0, 0.0, 0.0, 0.0, 0.0] s; start loads [2.89, 2.89, 2.6, 2.5, 2.72]; median from repetition 4; all below 3
  • bulk_overflow_heavy a-2.18-0.1.0: gate waits [0.0, 0.0, 0.0, 0.0, 0.0] s; start loads [2.42, 2.39, 2.43, 2.51, 2.92]; median from repetition 3; all below 3
  • bulk_overflow_heavy b-code-0.1.0: gate waits [0.0, 0.0, 0.0, 15.0, 0.0] s; start loads [2.39, 2.37, 2.14, 2.48, 2.42]; median from repetition 2; all below 3
  • bulk_overflow_heavy c-code-0.2.0: gate waits [0.0, 0.0, 0.0, 0.0, 0.0] s; start loads [2.76, 2.24, 2.11, 2.32, 2.02]; median from repetition 1; all below 3

Every one of the 30 repetitions was gated at a 1-minute load below 3 immediately before its clock: 4 had to wait (up to 15 s, 1 min in all), and none gave up. Every clock started below 3 (highest 2.92). A first confirming run gated each column only once, and many of its repetitions began at 3 or more; it is replaced here and kept in the git history.

NoteIdentity

OGS-00016, 2.18 vs this code on 0.1.0 and 0.2.0: identical in all three columns on all 7 shapes. OGS-00011, 2.18 vs this code on 0.1.0 and 0.2.0: identical in all three columns on all 7 shapes.

Each digest is a sha256 over every result array’s dtype, shape, order and values, with NaN positions canonicalised. A different value, order, dtype, length or NaN position would show as a differing shape here rather than being averaged away.

FinnGen benchmark on the converted store

Known loci recovered

locus rsid Analysis z (risk allele) −log10 p
TCF7L2 rs7903146 T2D 36.05 284
PPARG rs1801282 T2D 12.44 35
FTO rs9939609 BMI_IRN 37.80 312
MC4R rs17782313 BMI_IRN 18.99 80
APOE rs429358 G6_ALZHEIMER 73.09 1162
TOMM40 rs2075650 G6_ALZHEIMER 45.10 443
CDKN2B-AS1 rs1333049 I9_CHD 23.08 117
CDKN2B-AS1 rs4977574 I9_CHD 22.76 114

Mendelian randomisation

exposure outcome IVW beta se p instruments
BMI_IRN T2D 0.930 0.041 4.6e-112 589
BMI_IRN I9_CHD 0.231 0.023 1.2e-24 589
T2D I9_CHD 0.147 0.012 1.8e-34 312

Source bulk parse of the same Analysis: 18.5 s. The 0.2.0 store reads the whole Analysis in 11.56 s, 1.6× faster than parsing the source .gz; #241’s 0.1.0 run read it in 60.5 s against a 20.1 s parse, 3.0× slower than the parse.

Source fidelity

Cell-by-cell comparison against the source .gz files: PASS, 13 Analyses, 274,722,792 cells compared (of 21,230,615 variants each), gates {'z_abs': 4.89e-04, 'se_rel': 0.01, 'eaf_rel': 2.070e-03}.

Analysis cells compared result
BMI_IRN 21,132,070 PASS
HEIGHT_IRN 21,132,128 PASS
T2D 21,134,043 PASS
T2D_WIDE 21,133,603 PASS
I9_CHD 21,134,187 PASS
G6_ALZHEIMER 21,134,187 PASS
AB1_ANUG_WIDE 21,134,147 PASS
AB1_SCABIES_WIDE 21,134,184 PASS
E4_FLUIDELECTRONAS 21,132,849 PASS
E4_THYMUSDIS 21,133,924 PASS
I9_AORTANEUR 21,133,809 PASS
KRA_PSY_DEMENTIA_EXMORE 21,132,077 PASS
O15_ABORT_OTHER 21,121,584 PASS

Summary

Every ratio below is 0.2.0’s median against two baselines: this code on 0.1.0 (the format effect alone) and Zarr 2.18 (what a user sees against the status quo). Each store’s three-column table above has the underlying times.

OGS-00016

shape 0.2.0 / 0.1.0 0.2.0 / 2.18
Top hits for one Analysis 1.13× 7.47×
One variant, all Analyses 2.36× 7.34×
One window, one Analysis 0.66× 1.07×
10 variants × 100 Analyses 2.47× 3.61×
100 variants × 10 Analyses 1.47× 1.85×
One window, all Analyses 1.36× 0.90×
One whole Analysis 0.37× 0.22×

OGS-00011

shape 0.2.0 / 0.1.0 0.2.0 / 2.18
Top hits for one Analysis 1.15× 4.24×
One variant, all Analyses 2.85× 2.68×
One window, one Analysis 1.00× 0.01×
10 variants × 100 Analyses 1.41× 0.07×
100 variants × 10 Analyses 1.12× 0.02×
One window, all Analyses 0.71× 0.11×
One whole Analysis 0.38× 0.35×

The two #252 Overflow shapes

shape 0.2.0 / 0.1.0 0.2.0 / 2.18
PheWAS of an off-panel variant 1.03× 1.28×
Bulk, largest Overflow Analysis 0.61× 0.56×

The format effect (0.2.0 against this code on 0.1.0). On OGS-00016, 0.2.0 is faster on 2 of 7 shapes (One window, one Analysis (0.66×); One whole Analysis (0.37×)) and slower on 5 of 7 shapes (Top hits for one Analysis (1.13×); One variant, all Analyses (2.36×); 10 variants × 100 Analyses (2.47×); 100 variants × 10 Analyses (1.47×); One window, all Analyses (1.36×)). On OGS-00011 it is faster on 2 of 7 shapes (One window, all Analyses (0.71×); One whole Analysis (0.38×)) and slower on 5 of 7 shapes (Top hits for one Analysis (1.15×); One variant, all Analyses (2.85×); One window, one Analysis (1.00×); 10 variants × 100 Analyses (1.41×); 100 variants × 10 Analyses (1.12×)). Of the two Overflow shapes, the overflow-heavy bulk is 0.61× and the off-panel PheWAS 1.03×. Peak RSS is higher on every shape, by 24–93 MiB on OGS-00016, and higher on every shape, by 4–488 MiB on OGS-00011.

On the five shapes ADR 0058 timed on OGS-00009, FinnGen’s 0.1.0 → 0.2.0 ratios sit beside the decision’s own (computed from #246’s artifact): One variant, all Analyses 2.36× against 2.75×; 10 variants × 100 Analyses 2.47× against 2.80×; 100 variants × 10 Analyses 1.47× against 1.82×; One window, all Analyses 1.36× against 1.35×; One whole Analysis 0.37× against 0.35×. FinnGen’s ratio is above OGS-00009’s on One window, all Analyses, One whole Analysis, by at most 6.9 %; elsewhere it is below. ADR 0058’s generated Checked on FinnGen block states whether FinnGen departs materially from them.

The user-visible change (0.2.0 against Zarr 2.18). 0.2.0 is faster on 2 of 7 shapes (One window, all Analyses (0.90×); One whole Analysis (0.22×)) of OGS-00016 and on 5 of 7 shapes (One window, one Analysis (0.01×); 10 variants × 100 Analyses (0.07×); 100 variants × 10 Analyses (0.02×); One window, all Analyses (0.11×); One whole Analysis (0.35×)) of OGS-00011. On OGS-00016 it is slower than 2.18 on 5 of seven shapes: Top hits for one Analysis 7.47× (+16.1 ms); One variant, all Analyses 7.34× (+47.8 ms); One window, one Analysis 1.07× (+3.3 ms); 10 variants × 100 Analyses 3.61× (+228.6 ms); 100 variants × 10 Analyses 1.85× (+537.1 ms). The largest absolute gap is 537.1 ms, on 100 variants × 10 Analyses. On OGS-00011 it is slower on 2 of seven: Top hits for one Analysis 4.24× (+12.2 ms); One variant, all Analyses 2.68× (+48.2 ms). The off-panel Overflow PheWAS is slower by 6.33 s by median; see the callout below.

Where the big gains come from. OGS-00016’s whole-Analysis read — the shape this format exists for — takes 13.52 s on 0.2.0 against 36.15 s under this code on 0.1.0 and 60.64 s on 2.18: of the 4.49× gain over 2.18, the format’s own share is 2.67×. Its peak RSS is 2.53 GiB against 2.49 GiB on 0.1.0 and 22.24 GiB on 2.18, so the 8.79× memory gain is the Zarr 3 reader’s: 0.2.0 itself uses more than this code on 0.1.0. OGS-00011’s window across all Analyses falls from 618.47 s on 2.18 to 98.00 s under this code on 0.1.0 — #252’s fix, before any format change — and to 70.05 s on 0.2.0.

WarningThe one shape slower than the status quo by seconds

The off-panel Overflow PheWAS — the path the seven #242 shapes never touch — takes 28.97 s on 0.2.0 against 28.20 s under this code on 0.1.0 and 22.64 s on 2.18 (medians of 5 repetitions per column). The decided stack is 1.28× the 2.18 time (+6.33 s) and 1.03× the time of this code on 0.1.0, while its peak RSS falls from 26.97 GiB to 2.52 GiB.

Against 2.18: confirmed: every 0.2.0 repetition is slower than every 2.18 repetition. Against this code on 0.1.0, the format effect: not distinguishable: the repetitions overlap. Every repetition: a-2.18-0.1.0 19.56 s–26.40 s, b-code-0.1.0 26.42 s–28.66 s, c-code-0.2.0 27.91 s–29.88 s. Every repetition’s clock started below load 3 (highest 2.89), so load does not explain the slowdown.

Why. The time cost against 2.18 is this code’s, not the format’s: it is already there under this code on 0.1.0 (28.20 s against 22.64 s; every 0.1.0 repetition is slower than every 2.18 one), and 0.2.0 adds nothing this run can distinguish. An off-panel PheWAS reads only the Overflow, and with no variant-side index it must scan every Analysis’s variant_index for the variant. #252’s windowed scan bounds that scan’s memory by reading a few inner chunks at a time (SCAN_WINDOW_CHUNKS), one read per window. The Overflow’s inner chunk is 200,000 elements at 0.1.0 and 200,000 at 0.2.0, so the chunks did not narrow on this path; 0.2.0 puts them in 50,000,000-element shards. Which part of this code costs the time, this run cannot say. The 2.18 and 0.1.0 columns differ in the reader (Zarr 2.18.7 against 3.4.0), in the scan (the pre-#252 whole-array decode against #252’s windowed scan), and in every other change between 745796c and 850b3c7. #252’s committed A/B (opengwasdb_ogs00011_hybrid_252_ab.json) holds the reader fixed, since both of its commits require Zarr 3. It recorded the pre-#252 decode at 28.96 s (one run, f168ef1, load 4.76) and the windowed scan at 22.62 s (one run, 9d2bda3, load 4.24), so there the scan was the faster. An earlier version of the same artifact (8c2a34f) recorded the scan as the slower of the two. The scan’s own time cost is therefore unestablished. What the scan does change is memory: 26.97 GiB peak under 2.18 against 2.41 GiB here. Read as one contiguous segment instead, the same arrays are faster at 0.2.0 (the overflow-heavy bulk, 0.61× the 0.1.0 time). Either way, ADR 0060’s by-variant index (#252 step 5) removes the scan, reading a variant’s rows directly, and it is the designed fix; it is outside #250.

Against #252’s committed number. The after side of #252’s A/B, the same code path on 0.1.0, is 22.62 s. This run’s 5 0.1.0 repetitions span 26.42 s–28.66 s, which does not contain it: #252’s single sample is faster than every repetition here. The Overflow read path is unchanged between 9d2bda3 and this code (no change under opengwasdb/query/, and only writer roles in layouts/ragged/zarr_csr.py); ADR 0060 quotes the earlier version’s 26.4 s for the same path.

Size. Total apparent size grows +1.73 % on OGS-00016 and +2.59 % on OGS-00011, against OGS-00009’s +1.41 %; the largest per-plane cost on FinnGen is se at 1.061×. Load. Every seven-shape column began below load 3 (highest 2.99); the extras’ loads are listed per repetition above.