Skip to content

SSD decay #621

Closed Answered by msbarry
gszabo asked this question in Q&A
Jul 8, 2023 · 4 comments · 9 replies
Discussion options

You must be logged in to vote

Ah yes I can see what's happening... Planetiler hits the disk for:

  1. sequential scan through all input files (60gb read)
  2. on the OSM first-pass, it stores node locations in a memory-mapped file (80gb written)
  3. then it scans through OSM again, reading node locations from the memory-mapped file (60gb read + 80gb * disk cache miss factor)
  4. while scanning through input files it does sequential writes to intermediate feature files (200gb written)
  5. then to sort the intermediate features it reads, sorts, then writes the feature files out to disk (200gb read, 200gb written)
  6. then it reads the 200gb sorted feature files and writes the ~100gb output file more or less sequentially (200gb read, 80gb written)

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
5 replies
@msbarry
Comment options

@gszabo
Comment options

@msbarry
Comment options

Answer selected by gszabo
@gszabo
Comment options

@ImreSamu
Comment options

Comment options

You must be logged in to vote
1 reply
@gszabo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@gszabo
Comment options

@ImreSamu
Comment options

@gszabo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants