Skip to content

Commit

Permalink
Disable fullnode checkpoint sync at startup - its not working yet (#3535
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mystenmark authored Jul 26, 2022
1 parent 07f8229 commit 8d26484
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/sui-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,9 @@ impl SuiNode {
),
)
} else {
let metrics = CheckpointMetrics::new(&prometheus_registry);
active_authority.sync_to_latest_checkpoint(&metrics).await?;
// TODO: enable checkpoint sync on fullnode
// let metrics = CheckpointMetrics::new(&prometheus_registry);
// active_authority.sync_to_latest_checkpoint(&metrics).await?;
(
Some(active_authority.spawn_node_sync_process().await),
None,
Expand Down

1 comment on commit 8d26484

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bench results

�[0m�[0m�[1m�[32m Finished�[0m release [optimized] target(s) in 0.76s
�[0m�[0m�[1m�[32m Running�[0m target/release/bench microbench throughput
Default Jemalloc conf:
�[2m2022-07-26T23:36:46.242154Z�[0m �[32m INFO�[0m �[2msui_benchmark::benchmark�[0m�[2m:�[0m benchmark �[3mbenchmark�[0m�[2m=�[0mBenchmark { committee_size: 1, send_timeout_us: 400000000, recv_timeout_us: 400000000, buffer_size: 65000, tcp_connections: 0, db_cpus: 1, use_native: false, batch_size: 2000, running_mode: SingleValidatorThread, working_dir: None, bench_type: MicroBenchmark { host: "127.0.0.1", port: 9555, type_: Throughput { num_transactions: 100000 } } }
Jemalloc: 1 MB allocated / 9 MB resident
�[2m2022-07-26T23:36:46.244116Z�[0m �[32m INFO�[0m �[2msui_config::genesis_config�[0m�[2m:�[0m Creating accounts and gas objects...
�[2m2022-07-26T23:36:46.262375Z�[0m �[32m INFO�[0m �[2msui_benchmark::benchmark::validator_preparer�[0m�[2m:�[0m authority address hex: 0x35b1bebeead5a03e542e0e82beb2de9d26b02987
�[2m2022-07-26T23:36:46.262442Z�[0m �[32m INFO�[0m �[2msui_benchmark::benchmark::validator_preparer�[0m�[2m:�[0m Open database on path: "/tmp/DB_0xba31427c4d7126536b1a7ec09851ba25f2f0e5dd"
�[2m2022-07-26T23:36:46.340077Z�[0m �[32m INFO�[0m �[2msui_storage::lock_service�[0m�[2m:�[0m LockService command processing loop started
�[2m2022-07-26T23:36:46.340143Z�[0m �[32m INFO�[0m �[2msui_storage::lock_service�[0m�[2m:�[0m LockService queries processing loop started
�[2m2022-07-26T23:36:46.969772Z�[0m �[32m INFO�[0m �[2msui_benchmark::benchmark::validator_preparer�[0m�[2m:�[0m Spawning a validator thread...
�[2m2022-07-26T23:36:46.971039Z�[0m �[32m INFO�[0m �[2msui_core::authority_server�[0m�[2m:�[0m Listening to traffic on /dns/127.0.0.1/tcp/9555/http
Jemalloc: 67 MB allocated / 146 MB resident
Jemalloc: 67 MB allocated / 140 MB resident
Jemalloc: 163 MB allocated / 214 MB resident
Jemalloc: 737 MB allocated / 2153 MB resident
Throughout: 55390.307803940465 tps

Please sign in to comment.