wip
This commit is contained in:
parent
f1601257c7
commit
c2070693fb
68 changed files with 2305 additions and 212 deletions
|
|
@ -7,7 +7,7 @@ set -euo pipefail
|
|||
# Uses full England OSM + 2 GTFS feeds (BODS buses, National Rail).
|
||||
# R5's TransportNetwork.fromDirectory() picks up all .osm.pbf and .zip files.
|
||||
#
|
||||
# Uses each place as origin with all postcodes as destinations — R5 does one
|
||||
# Uses each place as origin with all postcodes as destinations. R5 does one
|
||||
# routing computation per place, then reads off travel times to all postcodes.
|
||||
# For car/bicycle/walking this is symmetric (place->postcode = postcode->place).
|
||||
#
|
||||
|
|
@ -27,7 +27,7 @@ THREADS=12
|
|||
# The execution cgroup caps process memory at 48 GB (see /sys/fs/cgroup/memory.max);
|
||||
# the nominal "64 GB" host total is not all addressable to one process. 28g heap +
|
||||
# ~15g native overhead (DuckDB JNI, R5 mapdb, Kryo deserialize, RAPTOR scratch)
|
||||
# leaves ~5g cgroup headroom — empirically the safe ceiling before SIGKILL.
|
||||
# leaves ~5g cgroup headroom: empirically the safe ceiling before SIGKILL.
|
||||
# Under 32g also keeps CompressedOops on, halving R5's reference-heavy footprint.
|
||||
HEAP=28g
|
||||
NETWORK_DIR=property-data/r5-network
|
||||
|
|
@ -137,7 +137,7 @@ fi
|
|||
|
||||
if [ ! -f "$NETWORK_DIR/network.dat" ]; then
|
||||
BUILD_DIR="$NETWORK_DIR/build"
|
||||
echo "--- No cached network — copying transit data to build dir ---"
|
||||
echo "--- No cached network, copying transit data to build dir ---"
|
||||
mkdir -p "$BUILD_DIR"
|
||||
if [ ! -f "$OSM_PBF" ]; then
|
||||
echo "Error: OSM PBF not found at $OSM_PBF"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue