안녕하세요.
EN 설치 관련 문서를 익고 개인 서버에 EN을 설치하였습니다.
kend start로 하는 동기화 속도가 느려 가장 최신 데이터를 받은 후 아래와 같이 kend start를 다시 실행하였습니다.
-kend start로 동기화한 결과
- kend start-docker로 동기화한 결과
현재 블럭에 비하여 아직 받지 못한 block이 3일정도 데이터량이 남은 것으로 확인이 되는데요.
문제는 동기화 속도가 너무 느립니다.
kend start를 처음에 block이 0일때에는 속도가 elapsed time이 6~8ms 정도였는데 현재는 너무 변화량이 큽니다.
혹시 제가 설정을 잘못 하거나 예상되는 문제점이 있는지 원래 이러한 현상이 나타나는지 알고 싶습니다.
아래는 제가 설정한 conf/kend_conf파일입니다
# Configuration file for the kend
# cypress, baobab is only available if you don't specify NETWORK_ID.
NETWORK="cypress"
# if you specify NETWORK_ID, a private network is created.
NETWORK_ID=
PORT=32323
SERVER_TYPE="fasthttp"
SYNCMODE="full"
VERBOSITY=3
MAXCONNECTIONS=10
# txpool options setting
TXPOOL_EXEC_SLOTS_ALL=4096
TXPOOL_NONEXEC_SLOTS_ALL=4096
TXPOOL_EXEC_SLOTS_ACCOUNT=4096
TXPOOL_NONEXEC_SLOTS_ACCOUNT=4096
TXPOOL_LIFE_TIME="30m"
# rpc options setting
RPC_ENABLE=1 # if this is set, the following options will be used
RPC_API="klay" # available apis: admin,debug,klay,miner,net,personal,rpc,txpool,web3
RPC_PORT=8551
RPC_ADDR="0.0.0.0"
RPC_CORSDOMAIN="*"
RPC_VHOSTS="*"
# ws options setting
WS_ENABLE=1 # if this is set, the following options will be used
WS_API="klay" # available apis: admin,debug,klay,miner,net,personal,rpc,txpool,web3
WS_ADDR="0.0.0.0"
WS_PORT=8552
WS_ORIGINS="*"
# service chain options setting
SC_MAIN_BRIDGE=0 # if this is set, the following options will be used.
SC_MAIN_BRIDGE_PORT=50505
SC_MAIN_BRIDGE_INDEXING=0 # this option will be deprecated.
# Setting 1 is to enable options, otherwise disabled.
AUTO_RESTART=0
METRICS=1
PROMETHEUS=1
DB_NO_PARALLEL_WRITE=0
MULTICHANNEL=1
SUBPORT=$((PORT + 1)) # used for multi channel option
# discover options
NO_DISCOVER=0 # setting 1 to disable discovery
BOOTNODES=""
# Raw options e.g) "--txpool.nolocals"
ADDITIONAL=""
DATA_DIR="/data2/seongyeop/data"
LOG_DIR=$DATA_DIR/logs
DATA_DIR만 tar unzip한 경로로 바꾸었습니다.
linux docker 위에서 실행 중 이며, 스펙은 아래와 같습니다.
docker run할시 docker의 port는 특정 port(8900)만 열어둔 상황입니다.
cpu : 32, ram : 256g, 네트워크와 디스크 대역폭은 정확히 모르겠습니다.
저장 공간은 충분하며 wget,curl로 historical chain diata를 받을때 최대 30M/S 까지 확인이 되었습니다.
감사합니다.