Skip to content

Commit

Permalink
Merge pull request steemit#1890 from steemit/1889-bump-shared-mem
Browse files Browse the repository at this point in the history
Increase consensus shared mem to 24 GB
  • Loading branch information
Michael Vandeberg authored Dec 13, 2017
2 parents 06cd84f + a56967a commit 321118c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ on how to use lcov to check code test coverage.

# System Requirements

For a full web node, you need at least 110GB of disk space available. Steemd uses a memory mapped file which currently holds 56GB of data and by default is set to use up to 80GB. The block log of the blockchain itself is a little over 27GB. It's highly recommended to run steemd on a fast disk such as an SSD or by placing the shared memory files in a ramdisk and using the `--shared-file-dir=/path` command line option to specify where. At least 16GB of memory is required for a full web node. Seed nodes (p2p mode) can run with as little as 4GB of memory with a 16 GB state file. Any CPU with decent single core performance should be sufficient. Steemd is constantly growing. As of August 2017, these numbers were accurate, but you may find you need more disk space to run a full node. We are also constantly working on optimizing Steem's use of disk space.
For a full web node, you need at least 110GB of disk space available. Steemd uses a memory mapped file which currently holds 56GB of data and by default is set to use up to 80GB. The block log of the blockchain itself is a little over 27GB. It's highly recommended to run steemd on a fast disk such as an SSD or by placing the shared memory files in a ramdisk and using the `--shared-file-dir=/path` command line option to specify where. At least 16GB of memory is required for a full web node. Seed nodes (p2p mode) can run with as little as 4GB of memory with a 24 GB state file. Any CPU with decent single core performance should be sufficient. Steemd is constantly growing. As of August 2017, these numbers were accurate, but you may find you need more disk space to run a full node. We are also constantly working on optimizing Steem's use of disk space.

On Linux use the following Virtual Memory configuration for the initial sync and subsequent replays. It is not needed for normal operation.

Expand Down
4 changes: 2 additions & 2 deletions contrib/config-for-broadcaster.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this will need to increase depending on which plugins/apis you use
# 16 GB should be sufficient for a consensus node
shared-file-size = 20G
# 24 GB should be sufficient for a consensus node
shared-file-size = 24G

# Endpoint for P2P node to listen on
# p2p-endpoint =
Expand Down
46 changes: 23 additions & 23 deletions contrib/config-for-docker.ini
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# this will need to increase depending on which plugins/apis you use
# 16 GB should be sufficient for a consensus node
shared-file-size = 16G
# 24 GB should be sufficient for a consensus node
shared-file-size = 24G

# Endpoint for P2P node to listen on
# p2p-endpoint =
# p2p-endpoint =

# Maxmimum number of incoming connections on P2P endpoint
# p2p-max-connections =
# p2p-max-connections =

# P2P nodes to connect to on startup (may specify multiple times)
# seed-node =
# seed-node =

# Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
# checkpoint =
# checkpoint =

# Endpoint for websocket RPC to listen on
# rpc-endpoint =
# rpc-endpoint =

# Endpoint for TLS websocket RPC to listen on
# rpc-tls-endpoint =
# rpc-tls-endpoint =

# The TLS certificate file for this server
# server-pem =
# server-pem =

# Password for this certificate
# server-pem-password =
# server-pem-password =

# Block signing key to use for init witnesses, overrides genesis file
# dbg-init-key =
# dbg-init-key =

# API user specification, may be specified multiple times
# api-user =
# api-user =

# Set an API to be publicly available, may be specified multiple times
public-api = database_api login_api
Expand All @@ -45,13 +45,13 @@ bcd-trigger = [[0,10],[85,300]]
# track-account-range =

# Ignore posting operations, only track transfers and account updates
# filter-posting-ops =
# filter-posting-ops =

# Database edits to apply on startup (may specify multiple times)
# edit-script =
# edit-script =

# RPC endpoint of a trusted validating node (required)
# trusted-node =
# trusted-node =

# Set the maximum size of cached feed for an account
follow-max-feed-size = 500
Expand All @@ -63,7 +63,7 @@ bucket-size = [15,60,300,3600,86400]
history-per-size = 5760

# Defines a range of accounts to private messages to/from as a json pair ["from","to"] [from,to)
# pm-account-range =
# pm-account-range =

# Enable block production, even if the chain is stale.
enable-stale-production = false
Expand All @@ -72,25 +72,25 @@ enable-stale-production = false
required-participation = false

# name of witness controlled by this node (e.g. initwitness )
# witness =
# witness =

# name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] )
# miner =
# miner =

# Number of threads to use for proof of work mining
# mining-threads =
# mining-threads =

# WIF PRIVATE KEY to be used by one or more witnesses or miners
# private-key =
# private-key =

# Account creation fee to be voted on upon successful POW - Minimum fee is 100.000 STEEM (written as 100000)
# miner-account-creation-fee =
# miner-account-creation-fee =

# Maximum block size (in bytes) to be voted on upon successful POW - Max block size must be between 128 KB and 750 MB
# miner-maximum-block-size =
# miner-maximum-block-size =

# SBD interest rate to be vote on upon successful POW - Default interest rate is 10% (written as 1000)
# miner-sbd-interest-rate =
# miner-sbd-interest-rate =

# declare an appender named "stderr" that writes messages to the console
[log.console_appender.stderr]
Expand Down
4 changes: 2 additions & 2 deletions doc/example_config.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this will need to increase depending on which plugins/apis you use
# 16 GB should be sufficient for a consensus node
shared-file-size = 16G
# 24 GB should be sufficient for a consensus node
shared-file-size = 24G

# Endpoint for P2P node to listen on
# p2p-endpoint =
Expand Down

0 comments on commit 321118c

Please sign in to comment.