Skip to content

Wrong the rule of thumb in slim mode #1431

@likemusic

Description

@likemusic

According to the docs:

The rule of thumb in slim mode is as follows: use the size of the PBF file you are trying to import or about 75% of RAM, whatever is smaller.

But in fact seems that cache size must be above twice lager then source file.
I've made tests on 2 pbf-files and it shown that for cache size equal to source file size import speed for ways just 30-40% from max possible.

image

image

Google sheet with tests results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions