Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 1.resource-preparations.md #741

Merged
merged 1 commit into from
Jul 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ storaged进程的数量不会影响图空间副本的数量。
| 资源 |单位 | 计算公式 |说明|
|:--- |:---|:--- |:---|
| 硬盘空间 |Bytes| `点和边的总数` * `属性的平均字节大小` * 6 * 120% |-|
| 内存 |Bytes| [`点和边的总数` * 15 + `RocksDB实例数量` * (`write_buffer_size` * `max_write_buffer_number` + `块缓存大小`] * 120% |`write_buffer_size`和`max_write_buffer_number`是RocksDB内存相关参数,详情请参见[MemTable](https://github.com/facebook/rocksdb/wiki/MemTable)。块缓存大小请参见[Memory usage in RocksDB](https://github.com/facebook/rocksdb/wiki/Memory-usage-in-RocksDB#block-cache)。|
| 内存 |Bytes| [`点和边的总数` * 15 + `RocksDB实例数量` * (`write_buffer_size` * `max_write_buffer_number` + `块缓存大小`)] * 120% |`write_buffer_size`和`max_write_buffer_number`是RocksDB内存相关参数,详情请参见[MemTable](https://github.com/facebook/rocksdb/wiki/MemTable)。块缓存大小请参见[Memory usage in RocksDB](https://github.com/facebook/rocksdb/wiki/Memory-usage-in-RocksDB#block-cache)。|
| 分区数量 |-| `集群硬盘数量` * `disk_partition_num_multiplier` |`disk_partition_num_multiplier`是取值为2~10的一个整数,用于衡量硬盘性能。HDD使用2。|

- 问题 1:为什么磁盘空间和内存都要乘以120%?
Expand Down