Skip to content

Commit

Permalink
Revert "Tool to tune system parameters like PoH service priority (sol…
Browse files Browse the repository at this point in the history
…ana-labs#7155)"

This reverts commit 076e384.
  • Loading branch information
carllin committed Dec 14, 2019
1 parent c6695a3 commit c3d1cac
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 204 deletions.
45 changes: 0 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ members = [
"runtime",
"sdk",
"sdk-c",
"sys-tuner",
"upload-perf",
"net-utils",
"fixed-buf",
Expand Down
1 change: 0 additions & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ solana-stake-program = { path = "../programs/stake", version = "0.22.0" }
solana-storage-program = { path = "../programs/storage", version = "0.22.0" }
solana-vote-program = { path = "../programs/vote", version = "0.22.0" }
solana-vote-signer = { path = "../vote-signer", version = "0.22.0" }
solana-sys-tuner = { path = "../sys-tuner", version = "0.22.0" }
symlink = "0.1.0"
sys-info = "0.5.8"
tempfile = "3.1.0"
Expand Down
2 changes: 0 additions & 2 deletions core/src/poh_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use crate::poh_recorder::PohRecorder;
use core_affinity;
use solana_sdk::poh_config::PohConfig;
use solana_sys_tuner;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, Mutex};
use std::thread::{self, sleep, Builder, JoinHandle};
Expand Down Expand Up @@ -31,7 +30,6 @@ impl PohService {
let tick_producer = Builder::new()
.name("solana-poh-service-tick_producer".to_string())
.spawn(move || {
solana_sys_tuner::request_realtime_poh();
if poh_config.hashes_per_tick.is_none() {
if poh_config.target_tick_count.is_none() {
Self::sleepy_tick_producer(poh_recorder, &poh_config, &poh_exit_);
Expand Down
3 changes: 0 additions & 3 deletions net/remote/remote-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ cat >> ~/solana/on-reboot <<EOF
# shellcheck source=/dev/null
SUDO_OK=1 source scripts/tune-system.sh
sudo RUST_LOG=info ~solana/.cargo/bin/solana-sys-tuner > sys-tuner.log 2>&1 &
echo \$! > sys-tuner.pid
(
sudo SOLANA_METRICS_CONFIG="$SOLANA_METRICS_CONFIG" scripts/oom-monitor.sh
) > oom-monitor.log 2>&1 &
Expand Down
1 change: 0 additions & 1 deletion scripts/cargo-install-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ BINS=(
solana-log-analyzer
solana-net-shaper
solana-archiver
solana-sys-tuner
solana-validator
)

Expand Down
28 changes: 0 additions & 28 deletions sys-tuner/Cargo.toml

This file was deleted.

10 changes: 0 additions & 10 deletions sys-tuner/src/lib.rs

This file was deleted.

113 changes: 0 additions & 113 deletions sys-tuner/src/main.rs

This file was deleted.

0 comments on commit c3d1cac

Please sign in to comment.