You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Loading ways in non-slim mode is slower than with --slim. #2013
I have been running multiple tests with both --slim and non-slim and Planet size imports in the past couple of days after upgrading to the latest master on a machine with enough RAM to hold all data in RAM if choosing to import in a non-slim mode with --flat-nodes specified.
One thing I have noticed now is that consistently, the way loading in non-slim mode is about 15% slower than with --slim and --flat-nodes, about 70k/s for non-slim versus 85k/s for --slim and --flat-nodes.
I didn't expect this, as all data is stored in RAM with non-slim mode. Both nodes and especially relations do load (much) faster (for relations I see an about 2.5x times speed increase). Admittedly, the --flat-nodes file is stored on a very capable NVMe RAID 0, but even so, I would assume data in RAM to be faster accessible.
Is there any plausible explanation for this difference and the slower loading of ways in non-slim mode?
What did you expect to happen?
Loading ways using non-slim mode is as fast or faster than with --slim.
What did happen instead?
Loading ways using non-slim mode is about 15% slower than with --slim.
What did you do to try analyzing the problem?
Run multiple import sessions in both --slim and non-slim mode to verify the witnessed speed difference was consistent. It was.
Activity