Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed May 20, 2024
1 parent c7927e4 commit cf0b14d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/graphscope/gsctl/commands/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ def close():


disclaimer = """
Disclaimer: The `estimate` command is a roughly estimation of the memory usage of the graphscope engine.
Disclaimer: The `estimate` command would do a rough estimation of the total memory usage of the GAE.
The actual memory usage may vary vastly due to the complexity of the graph algorithm and the data distribution.
The estimation is based on the following formulas:
let #V = number of vertices, #E = number of edges,
assume load_factor of hashmap is 0.41, sizeof(inner_id) = sizeof(edge_id) = sizeof(vertex_id) = 8 bytes,
assuming load_factor of hashmap is 0.41, sizeof(inner_id) = sizeof(edge_id) = sizeof(vertex_id) = 8 bytes,
where vertex_id is the original representation of vertex, it could be string though, in this case, the memory usage will grow.
Graph:
1. vertex
Expand All @@ -102,7 +102,7 @@ def close():
- outer vertex ID to local ID map:
- local ID to outer vertex ID array:
This is the minimum memory usage of the graphscope engine with 1 partition, the actual memory usage would be larger than this estimation.
This is the minimum usage of the GAE with 1 partition, the actual memory usage would be larger than this estimation.
User should enlarge it by a multiple it by some factor (e.g. 2) to simulate the memory usage of the graphscope engine.
"""

Expand Down

0 comments on commit cf0b14d

Please sign in to comment.